===== Data visualisation ===== This page gives a brief overview of the functions available in Eubrewnet for data visualisation. ---- ==== Graph ==== * Function: ''graph.load'' * Description: graph.load is a generic function to represent any parameter that can be obtained with any of the get/process access functions with respect to gmt field or any other selected by the xvar parameter. * Access function example: http://eubrewnet.aemet.es/eubrewnet/products/graph.load?brewerid=157,185&date=2023-05-01&enddate=2023-05-03&product=O3L1_5&variable=o3 * Inputs: - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]] - ''date'': see [[codes:dbaccess#common_inputs|Date in common inputs]] - ''enddate'': see [[codes:dbaccess#common_inputs|Enddate in common inputs]] - ''product'': Name of the access function of which we want to represent the parameters. - ''variable'': Name of the variable of the parameter that we want to represent. - ''ylim'': It sets the limits on the y-axis. The argument must be two numbers separated by a comma. - ''mode'': This allows to select functions from the modules "processdata", "aodgetdata". By default, module "getdata" is used. - ''avgdata'': Using this parameter, we get the mean and median value of the plotted series. - ''xvar'': This allows change the x axe by another parameter. If we pass more arguments to graph.load, they will be passed to the selected function, so we can use urlconfig together with process or any other argument. == Further examples == * Today's ''get/O3L1'' for all the Brewers at the Santa Maria (id 76) station: http://eubrewnet.aemet.es/eubrewnet/products/graph.load?stationid=76&product=O3L1&variable=o3 * Relative humidity for all the Brewers at the Santa Maria station from Feb 26th to 29th, 2024: http://eubrewnet.aemet.es/eubrewnet/products/graph.load?stationid=76&product=HK&variable=relative_humidity&date=2024-02-26&enddate=2024-02-29 * ''process/O3L15'' for the Brewers taking part in the STM2024 campaign: http://eubrewnet.aemet.es/eubrewnet/products/graph.load?brewerid=56,68,73,81,162,167,180,218,229,256&date=2024-02-19&enddate=2024-03-08&product=O3L1_5&variable=o3&mode=processdata * SL correction: http://eubrewnet.aemet.es/eubrewnet/products/graph.load?brewerid=167,256&date=2024-02-23&product=O3L1_5&variable=o3_slcor&mode=processdata&debug ----