User Tools

Site Tools


codes:productsdescription

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
codes:productsdescription [2025/09/01 12:13] ajberjoncodes:productsdescription [2025/09/01 12:18] (current) ajberjon
Line 108: Line 108:
 | process_date | Date and time when the product was processed |GMT |[[http://www.iso.org/iso/es/home/standards/iso8601.htm|ISO 8601]]|  | process_date | Date and time when the product was processed |GMT |[[http://www.iso.org/iso/es/home/standards/iso8601.htm|ISO 8601]]| 
  
 +===== Access function to the products =====
 +
 +  * Function: product
 +  * Description: This function returns the ozone, ozone_unc, and aod product files for a specific brewer or station. To download the ozone_unc product, the version parameter is required. A station's data can be retrieved using either its Eubrewnet station ID or its GAW code. By default, the function downloads the daily data for the specified date. To download annual or monthly data, include the mode parameter. The default data level is 1.5; to download other levels, the level parameter must be specified.
 +  * Examples: 
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=ozone
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=aod
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=ozone_unc&version=1
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=ozone_unc&version=2
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?stationid=9&date=2018-09-25&product=ozone
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?station=IZO&date=2018-09-25&product=ozone
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?station=IZO&date=2018-09-25&product=aod
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?station=IZO&date=2018-09-25&product=ozone_unc&version=1
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?station=IZO&date=2018-09-25&product=ozone_unc&version=2
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=ozone&mode=monthly
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=ozone&mode=yearly
 +    * https://eubrewnet.aemet.es/eubrewnet/files/product?brewerid=185&date=2018-09-25&product=ozone&level=1.0
 +  * Input:
 +      - ''brewerid'': this is the ID of the Brewer. This follows the format described in [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
 +      - ''station'': this is the GAW ID of the station
 +      - ''stationid'': this is the station id in Eubrewnet
 +      - ''date'': see [[codes:dbaccess#common_inputs|Date in common inputs]]
 +      - ''product'': This is the product to be downloaded. Accepted values are ozone, ozone_unc and aod.
 +      - ''version'': This is the version when the ozone_unc product is selected. Accepted values are 1 or 2.
 +      - ''mode'': This is the date interval to be downloaded. Accepted values are daily, monthly and yearly.
 +      - ''level'': This is the data level to be downloaded. Accepted values are 1.0, 1.5 and 2.0.
  
codes/productsdescription.txt · Last modified: 2025/09/01 12:18 by ajberjon