User Tools

Site Tools


codes:dbaccess

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
codes:dbaccess [2024/02/14 15:34] – [Last measurement at EUBREWNET] jlsolanocodes:dbaccess [2025/10/14 13:34] (current) – [Brewer Summary] ajberjon
Line 41: Line 41:
 ^ jsonO | JSON object of lists, where each key is the value name and its value is the time sorted list of them| [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=jsonO|Get DS with jsonO format]] | ^ jsonO | JSON object of lists, where each key is the value name and its value is the time sorted list of them| [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=jsonO|Get DS with jsonO format]] |
 ^ text | Human readable comma separated values where first row is the value names and the following are the query outputs | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=text|Get DS with text format]] | ^ text | Human readable comma separated values where first row is the value names and the following are the query outputs | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=text|Get DS with text format]] |
-^ csv | CSV direct download where first row are the value names and the following are the query outputs | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=csv|Get DS with text format]] |+^ csv | CSV direct download where first row are the value names and the following are the query outputs | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=csv|Get DS with csv format]] |
  
 ==== Common Inputs ==== ==== Common Inputs ====
Line 48: Line 48:
 ^ Parameter ^ Description ^ Example ^ ^ Parameter ^ Description ^ Example ^
 ^ brewerid | Brewer identification number | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=text|Get function with brewerid input parameter]] | ^ brewerid | Brewer identification number | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=text|Get function with brewerid input parameter]] |
-^ date | Date in YYYY-MM-DD format | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=text|Get function with date input parameter]] | +^ date | Date in YYYY-MM-DD or JJJYY format | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&format=text|Get function with date input parameter]] | 
-^ enddate | Date in YYYY-MM-DD format. If provided, the function will return the query in a date range | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&enddate=2015-01-05&format=text|Get function with enddate input parameter]] |+^ enddate | Date in YYYY-MM-DD or JJJYY format. If provided, the function will return the query in a date range | [[http://eubrewnet.aemet.es/eubrewnet/data/get/DS?brewerid=157&date=2015-01-01&enddate=2015-01-05&format=text|Get function with enddate input parameter]] |
 ^ fields | Comma separated list of fields to write in the output. You can use ''myfields*'' to select all fields starting with ''myfields'' | [[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5?brewerid=157&date=2015-01-01&format=text&fields=gmt,o3| O3L1_5 output with just the ''gmt'' and ''o3'' fields]] | ^ fields | Comma separated list of fields to write in the output. You can use ''myfields*'' to select all fields starting with ''myfields'' | [[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5?brewerid=157&date=2015-01-01&format=text&fields=gmt,o3| O3L1_5 output with just the ''gmt'' and ''o3'' fields]] |
  
Line 74: Line 74:
 ^ SL | Returns SL measures | [[codes:dbaccess#sl|SL]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/SL?brewerid=157&date=2015-01-01&format=text|Get SL]] | ^ SL | Returns SL measures | [[codes:dbaccess#sl|SL]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/SL?brewerid=157&date=2015-01-01&format=text|Get SL]] |
 ^ SLS | Returns the SL summaries | [[codes:dbaccess#sls|SLS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/SLS?brewerid=157&date=2015-01-01&format=text|Get SLS]] | ^ SLS | Returns the SL summaries | [[codes:dbaccess#sls|SLS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/SLS?brewerid=157&date=2015-01-01&format=text|Get SLS]] |
-^ ConfigbyDate    | Returns the available Configuration | [[codes:dbaccess#configbydate|ConfigbyDate]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigbyDate?brewerid=157&date=2015-01-01|Get Config by Date]]        |+^ ConfigAll    | Returns all available configurations | [[codes:dbaccess#configall |ConfigAll]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigAll?brewerid=185 |Get all configs]]        | 
 +^ ConfigbyDate    | Returns the configurations for a date | [[codes:dbaccess#configbydate|ConfigbyDate]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigbyDate?brewerid=157&date=2015-01-01|Get Config by Date]]        | 
 +^ ConfigbyId    | Returns the configuration for a given ID | [[codes:dbaccess#configbyid|ConfigbyId]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigbyId?id=3391 |Get config by Id]]        |
 ^ HK | Returns housekeeping Details|[[codes:dbaccess#hk|HK]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/HK?brewerid=157&date=2020-07-20|Get HK]] | ^ HK | Returns housekeeping Details|[[codes:dbaccess#hk|HK]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/HK?brewerid=157&date=2020-07-20|Get HK]] |
 ^ HG | Returns the mercury lamp tests |[[codes:dbaccess#hg|HG]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/HG?brewerid=157&date=2015-01-01&format=text|Get HG]] | ^ HG | Returns the mercury lamp tests |[[codes:dbaccess#hg|HG]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/HG?brewerid=157&date=2015-01-01&format=text|Get HG]] |
Line 91: Line 93:
 ^ BrewerLocation    | Returns the changes in location of a Brewer     |[[codes:dbaccess#brewerlocation|BrewerLocation]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/BrewerLocation?brewerid=185&date=2014-05-01&enddate=2015-08-01&format=text|Get Brewer Location]]        | ^ BrewerLocation    | Returns the changes in location of a Brewer     |[[codes:dbaccess#brewerlocation|BrewerLocation]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/BrewerLocation?brewerid=185&date=2014-05-01&enddate=2015-08-01&format=text|Get Brewer Location]]        |
 ^ AVG    | Returns the available AVG measures      | [[codes:dbaccess#avg|AVG]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/AVG?avg=apnavg&brewerid=070&date=2003-01-01&enddate=2014-01-01|Get AVG]]        | ^ AVG    | Returns the available AVG measures      | [[codes:dbaccess#avg|AVG]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/AVG?avg=apnavg&brewerid=070&date=2003-01-01&enddate=2014-01-01|Get AVG]]        |
-^ CO     | Return comments from the B files | [[codes:dbaccess#co|CO]] | [[https://rbcce.aemet.es/eubrewnet/data/get/CO?brewerid=185&date=2023-01-01&format=text|Get comments]] | +^ CO     | Return comments from the B files | [[codes:dbaccess#co|CO]] | [[https://eubrewnet.aemet.es/eubrewnet/data/get/CO?brewerid=185&date=2023-01-01&format=text|Get comments]] | 
-^ bfiletimes | Returns the time span included in a bfile | [[codes:dbaccess#bfiletimes|bfiletimes]] | [[https://rbcce.aemet.es/eubrewnet/data/get/bfiletimes?brewerid=185&date=2023-01-01&enddate=2023-01-05&format=text|Get bfile time span]] |+^ bfiletimes | Returns the time span included in a bfile | [[codes:dbaccess#bfiletimes|bfiletimes]] | [[https://eubrewnet.aemet.es/eubrewnet/data/get/bfiletimes?brewerid=185&date=2023-01-01&enddate=2023-01-05&format=text|Get bfile time span]] |
  
 ----- -----
Line 204: Line 206:
       - format: see [[codes:dbaccess#format|Format]]       - format: see [[codes:dbaccess#format|Format]]
   * Output: Standard Lamp Summary measures   * Output: Standard Lamp Summary measures
 +
 +----
 +
 +==== ConfigAll ====
 +  * Function: ConfigbyDate
 +  * Description: Returns all configurations (see configuration information) of a given brewer. By default, only operational configurations are returned, but if the non_operative parameter is given, the function returns all configurations.
 +  * Example: http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigAll?brewerid=185&format=text
 +  * Inputs:
 +      - brewerid: see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
 +      - format: see [[codes:dbaccess#format|Format]]
 +      - non_operative: non-operative configurations are included in the output.
 +  * Output: Configuration or list of configurations 
  
 ---- ----
Line 210: Line 224:
   * Function: ConfigbyDate   * Function: ConfigbyDate
   * Description: Returns the latest operative configuration (see configuration info) with earlier date than given as input. If a date range is provided, returns the list of available configuration during the date range.   * Description: Returns the latest operative configuration (see configuration info) with earlier date than given as input. If a date range is provided, returns the list of available configuration during the date range.
 +  * Example: http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigbyDate?brewerid=185&date=2024-06-25&format=text
   * Inputs:   * Inputs:
       - brewerid: see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - brewerid: see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 219: Line 234:
 ---- ----
  
 +==== ConfigbyId ====
 +  * Function: ConfigbyId
 +  * Description: Returns the configuration for a given ID.
 +  * Example: http://eubrewnet.aemet.es/eubrewnet/data/get/ConfigbyId?id=3391&format=text
 +  * Inputs:
 +      - id: Configuration identification Numer 
 +      - format: see [[codes:dbaccess#format|Format]]
 +  * Output: Configuration
 +
 +----
 +
 +==== Brewer Summary ====  
 +  * Function: ''brewer_summary''  
 +  * Description: This function returns a list of the Brewers in Eubrewnet with information about their latest configuration, latest installation, whether the Brewer is active, and the number of data points retrieved.
 +  * Access function example: http://eubrewnet.aemet.es/eubrewnet/data/get/brewer_summary?format=text  
 +  * Input:  
 +      - ''format'': see [[codes:dbaccess#format|Format]]  
 +  * Output:  
 +      - ''brewerid'': Brewer serial number
 +      - ''min_date'': Date of first measurement on Eubrewnet
 +      - ''max_date'': Date of last measurement on Eubrewnet  
 +      - ''num_bfiles'': Number of B files on Eubrewnet 
 +      - ''brewer_model'': Brewer model  
 +      - ''active'': Shows whether the brewer actively sends data to Eubrewnet.  
 +      - ''last_config'': Date of last configuration on Eubrewnet  
 +      - ''last_station'': Last station from which data was sent
 +      - ''gaw_id'': The GAW station identifier from which the data was last sent
 +      - ''wmo_id'': The WIGOS Station Identifier from which the data was last sent
 +      - ''latitude'': Latitude of the station from which the data was last sent 
 +      - ''longitude'': Longitude of the station from which the data was last sent 
 +      - ''first_name'': First name of Principal Investigator of the station from which the data was last sent 
 +      - ''last_name'': Last name of Principal Investigator of the station from which the data was last sent 
 +  
 + 
 +  ----
 +==== stationsFromBrewer ====
 +  * Function: stationsFromBrewer
 +  * Description: Returns the stations where there are measurements of a certain brewer. For periods where B-files have been received, the ‘active’ field is set to ‘T’ and ‘F’ where there is no data. The stations are identified by the coordinates associated to the B-files. So if there is data from stations not registered in Eubrewnet, the station will appear as None.
 +  * Example: https://eubrewnet.aemet.es/eubrewnet/data/get/stationsFromBrewer?brewerid=185&format=text
 +  * 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]]
 +      - format: see [[codes:dbaccess#format|Format]]
 +  * Output:
 +      - brewerid: see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
 +      - name: station name in Eubrewnet
 +      - stationid: station id in Eubrewnet
 +      - date: start date of period   
 +      - enddate: end date of period   
 +      - active: indicates whether or not data has been received during this period.
 +
 +----
 +
 +==== brewersFromStation ====
 +  * Function: brewersFromStation
 +  * Description: returns the brewers that have sent data to Eubrewnet associated to a certain station, and in which periods they have done so.
 +  * Example: https://eubrewnet.aemet.es/eubrewnet/data/get/brewersFromStation?stationid=9&format=text
 +  * Inputs:
 +      - stationid or gaw_id: Eubrewnet or GAW station id.
 +      - date: see [[codes:dbaccess#common_inputs|Date in common inputs]]
 +      - enddate: see [[codes:dbaccess#common_inputs|Enddate in common inputs]]
 +      - format: see [[codes:dbaccess#format|Format]]
 +  * Output:
 +      - brewerid: see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
 +      - name: station name in Eubrewnet
 +      - stationid: station id in Eubrewnet
 +      - date: start date of period   
 +      - enddate: end date of period   
 +
 +----
 ==== HK ==== ==== HK ====
   * Function: HK   * Function: HK
Line 295: Line 381:
       - channel: number of channel to look for       - channel: number of channel to look for
   * Output: AP measurements   * Output: AP measurements
 +
 +^ Channel ^ Description ^
 +| ch0     | PMT temp (deg C) |
 +| ch1 | Fan temp (deg C) |
 +| ch2 | Base temp (deg C) |
 +| ch3 | H.T. voltage (V) |
 +| ch4 | +12V power supply (V) |
 +| ch5 | + 5V power supply (V) |
 +| ch6 | -12V power supply (V) |
 +| ch7 | +24V power supply (V) |
 +| ch8 | Rate meter (V) |
 +| ch9 | Below Spectro temp (C) |
 +| ch10 | Window area temp (C) |
 +| ch11 | External temp (deg C) |
 +| ch12 | + 5V ss (V) |
 +| ch13 | - 5V ss (V) |
 +| ch14 | Std lamp current (A) |
 +| ch15 | Std lamp voltage (V) |
 +| ch16 | Mer lamp current (A) |
 +| ch17 | Mer lamp voltage (V) |
 +| ch18 | External 1 (V) |
 +| ch19 | External 2 (V) |
 +| ch20 | Relative humidity (%) |
 +| ch21 | Moisture (g/m3) |
 +| ch22 | External 4 (V)  |
 +| ch23 | External 5 (V)  |
 +
  
 ---- ----
Line 402: Line 515:
   * Function: ''CO''   * Function: ''CO''
   * Description: return the comments in the B file   * Description: return the comments in the B file
-  * Example: [[https://rbcce.aemet.es/eubrewnet/data/get/CO?brewerid=185&date=2023-01-01&enddate=2023-01-05&format=text&keyword=ds:]]+  * Example: [[https://eubrewnet.aemet.es/eubrewnet/data/get/CO?brewerid=185&date=2023-01-01&enddate=2023-01-05&format=text&keyword=ds:]]
   * Input:   * Input:
       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 419: Line 532:
   * Function: ''bfiletimes''   * Function: ''bfiletimes''
   * Description: return the time range, both UTC and solar, included in a B file, as determined from the first and last CO comment included in the file   * Description: return the time range, both UTC and solar, included in a B file, as determined from the first and last CO comment included in the file
-  * Example: [[https://rbcce.aemet.es/eubrewnet/data/get/bfiletimes?brewerid=185&date=2023-01-01&enddate=2023-01-05&format=text]]+  * Example: [[https://eubrewnet.aemet.es/eubrewnet/data/get/bfiletimes?brewerid=185&date=2023-01-01&enddate=2023-01-05&format=text]]
   * Input:   * Input:
       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 446: Line 559:
 ^ O3L2_0    | Returns the Level 2.0 of Ozone     |[[codes:dbaccess#get_O3L2_0|O3L2_0]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L2_0?brewerid=157&date=2015-01-01&enddate=2015-01-02|Get O3L2_0]]        | ^ O3L2_0    | Returns the Level 2.0 of Ozone     |[[codes:dbaccess#get_O3L2_0|O3L2_0]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L2_0?brewerid=157&date=2015-01-01&enddate=2015-01-02|Get O3L2_0]]        |
 ^ O3L1ZS    | Returns the Level 1 of the Zenith Sky Ozone     |[[codes:dbaccess#get_o3l1zs_o3l1_5zs_and_o3l2_0zs|O3L1ZS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1ZS?brewerid=172&date=2021-05-01|Get O3ZS]]        | ^ O3L1ZS    | Returns the Level 1 of the Zenith Sky Ozone     |[[codes:dbaccess#get_o3l1zs_o3l1_5zs_and_o3l2_0zs|O3L1ZS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1ZS?brewerid=172&date=2021-05-01|Get O3ZS]]        |
-^ O3L1_5ZS    | Returns the Level 1.5 of the Zenith Sky Ozone     |[[codes:dbaccess#get_o3l1zs_o3l1_5zs_and_o3l2_0zs|O3L1_5ZS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5?brewerid=172&date=2021-05-01|Get O3L1_5ZS]]        |+^ O3L1_5ZS    | Returns the Level 1.5 of the Zenith Sky Ozone     |[[codes:dbaccess#get_o3l1zs_o3l1_5zs_and_o3l2_0zs|O3L1_5ZS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5ZS?brewerid=172&date=2021-05-01|Get O3L1_5ZS]]        |
 ^ O3L2_0ZS    | Returns the Level 2.0 of the Zenith Sky Ozone     |[[codes:dbaccess#get_o3l1zs_o3l1_5zs_and_o3l2_0zs|O3L2_0ZS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L2_0ZS?brewerid=172&date=2021-05-01|Get O3L2_0ZS]]        | ^ O3L2_0ZS    | Returns the Level 2.0 of the Zenith Sky Ozone     |[[codes:dbaccess#get_o3l1zs_o3l1_5zs_and_o3l2_0zs|O3L2_0ZS]] |[[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L2_0ZS?brewerid=172&date=2021-05-01|Get O3L2_0ZS]]        |
 ^ O3L1byStation, O3L1_5byStation, and O3L2_0byStation | For the requested station, returns the L1, L1_5 or L2_0 ozone product | [[codes:dbaccess&#get_o3l1bystation_o3l1_5bystation_and_o3l2_0bystation|O3L1byStation,  O3L1_5byStation, and O3L2_0byStation]] | [[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5byStation?gaw_id=IZO&date=2020-04-05&enddate=2020-04-06&format=text|Get O3L1_5byStation]] | ^ O3L1byStation, O3L1_5byStation, and O3L2_0byStation | For the requested station, returns the L1, L1_5 or L2_0 ozone product | [[codes:dbaccess&#get_o3l1bystation_o3l1_5bystation_and_o3l2_0bystation|O3L1byStation,  O3L1_5byStation, and O3L2_0byStation]] | [[http://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5byStation?gaw_id=IZO&date=2020-04-05&enddate=2020-04-06&format=text|Get O3L1_5byStation]] |
-^ O3L1ALLbyStation, O3L1_5ALLbyStation, and O3L2_0ALLbyStation | For the requested station, returns the L1, L1_5 or L2_0 ozone product, with both DS and ZS measurements | [[codes:dbaccess&#get_o3l1allbystation_o3l1_5allbystation_and_o3l2_0allbystation|O3L1ALLbyStation,  O3L1_5ALLbyStation, and O3L2_0ALLbyStation]] | [[https://rbcce.aemet.es/eubrewnet/data/get/O3L1_5ALLbyStation?gaw_id=IZO&date=2022-05-10&format=text|Get O3L1_5ALLbyStation]] | +^ O3L1ALLbyStation, O3L1_5ALLbyStation, and O3L2_0ALLbyStation | For the requested station, returns the L1, L1_5 or L2_0 ozone product, with both DS and ZS measurements | [[codes:dbaccess&#get_o3l1allbystation_o3l1_5allbystation_and_o3l2_0allbystation|O3L1ALLbyStation,  O3L1_5ALLbyStation, and O3L2_0ALLbyStation]] | [[https://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5ALLbyStation?gaw_id=IZO&date=2022-05-10&format=text|Get O3L1_5ALLbyStation]] | 
-^ O3L1PRIObyStation, O3L1_5PRIObyStation, and O3L2_0PRIObyStation | For the requested station, returns the L1, L1_5 or L2_0 ozone product, with both DS and ZS measurements -- the latter only if no DS measurements are available in the day | [[codes:dbaccess&#get_o3l1priobystation_o3l1_5priobystation_and_o3l2_0priobystation|O3L1PRIObyStation,  O3L1_5PRIObyStation, and O3L2_0PRIObyStation]] | [[https://rbcce.aemet.es/eubrewnet/data/get/O3L1_5PRIObyStation?gaw_id=IZO&date=2022-05-10&format=text|Get O3L1_5PRIObyStation]] | +^ O3L1PRIObyStation, O3L1_5PRIObyStation, and O3L2_0PRIObyStation | For the requested station, returns the L1, L1_5 or L2_0 ozone product, with both DS and ZS measurements -- the latter only if no DS measurements are available in the day | [[codes:dbaccess&#get_o3l1priobystation_o3l1_5priobystation_and_o3l2_0priobystation|O3L1PRIObyStation,  O3L1_5PRIObyStation, and O3L2_0PRIObyStation]] | [[https://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5PRIObyStation?gaw_id=IZO&date=2022-05-10&format=text|Get O3L1_5PRIObyStation]] | 
-^ UNCL1 and UNCL1_V2 | Returns the Uncertainty L1 products for the standard and V2 Ozone algorithms | [[codes:dbaccess&#get_uncl1_and_uncl1_v2|UNCL1 and UNCL1_V2]] | [[https://rbcce.aemet.es/eubrewnet/data/get/UNCL1?brewerid=163&date=2019-06-03&format=text|Get UNCL1]], [[https://rbcce.aemet.es/eubrewnet/data/get/UNCL1_V2?brewerid=163&date=2019-06-03&format=text|Get UNCL1_V2]] |  +^ UNCL1 and UNCL1_V2 | Returns the Uncertainty L1 products for the standard and V2 Ozone algorithms | [[codes:dbaccess&#get_uncl1_and_uncl1_v2|UNCL1 and UNCL1_V2]] | [[https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1?brewerid=163&date=2019-06-03&format=text|Get UNCL1]], [[https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_V2?brewerid=163&date=2019-06-03&format=text|Get UNCL1_V2]] |  
-^ UNCL1_5 and UNCL1_5_V2 | Returns the Uncertainty L1.5 products for the standard and V2 Ozone algorithms | [[codes:dbaccess&#get_uncl1_5_and_uncl1_5_v2|UNCL1_5 and UNCL1_5_V2]] | [[https://rbcce.aemet.es/eubrewnet/data/get/UNCL1_5?brewerid=163&date=2019-06-03&format=text|Get UNCL1_5]], [[https://rbcce.aemet.es/eubrewnet/data/get/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text|Get UNCL1_5_V2]] |+^ UNCL1_5 and UNCL1_5_V2 | Returns the Uncertainty L1.5 products for the standard and V2 Ozone algorithms | [[codes:dbaccess&#get_uncl1_5_and_uncl1_5_v2|UNCL1_5 and UNCL1_5_V2]] | [[https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_5?brewerid=163&date=2019-06-03&format=text|Get UNCL1_5]], [[https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text|Get UNCL1_5_V2]] |
 ^ UNCL1byStation, UNCL1_V2byStation, UNCL1_5byStation and UNCL1_5_V2byStation | For the requested station, returns the Uncertainty L1 or L1.5 products for the standard or V2 Ozone algorithms | [[codes:dbaccess&#get_uncl1bystation_uncl1_v2bystation_uncl1_5bystation_and_uncl1_5_v2bystation|UNCL1byStation, UNCL1_V2byStation, UNCL1_5byStation, and UNCL1_5_V2byStation]] | [[http://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_5byStation?gaw_id=IZO&date=2020-04-05&enddate=2020-04-06&format=text|Get UNCL1_5byStation]] | ^ UNCL1byStation, UNCL1_V2byStation, UNCL1_5byStation and UNCL1_5_V2byStation | For the requested station, returns the Uncertainty L1 or L1.5 products for the standard or V2 Ozone algorithms | [[codes:dbaccess&#get_uncl1bystation_uncl1_v2bystation_uncl1_5bystation_and_uncl1_5_v2bystation|UNCL1byStation, UNCL1_V2byStation, UNCL1_5byStation, and UNCL1_5_V2byStation]] | [[http://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_5byStation?gaw_id=IZO&date=2020-04-05&enddate=2020-04-06&format=text|Get UNCL1_5byStation]] |
  
Line 537: Line 650:
   * Functions: O3L1ALLbyStation, O3L1_5ALLbyStation, and O3L2_0ALLbyStation   * Functions: O3L1ALLbyStation, O3L1_5ALLbyStation, and O3L2_0ALLbyStation
   * Description: These functions provide the same output as the [[codes:dbaccess#get_o3l1bystation_o3l1_5bystation_and_o3l2_0bystation|O3L1byStation, O3L1_5byStation, and O3L2_0byStation]] described above, but includes both DS and ZS observations.   * Description: These functions provide the same output as the [[codes:dbaccess#get_o3l1bystation_o3l1_5bystation_and_o3l2_0bystation|O3L1byStation, O3L1_5byStation, and O3L2_0byStation]] described above, but includes both DS and ZS observations.
-  * Example: https://rbcce.aemet.es/eubrewnet/data/get/O3L1_5ALLbyStation?gaw_id=IZO&date=2022-05-10&format=text+  * Example: https://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5ALLbyStation?gaw_id=IZO&date=2022-05-10&format=text
   * Input:   * Input:
       - ''gaw_id'' or ''woudc_id'': GAW or WOUDC ID of the station       - ''gaw_id'' or ''woudc_id'': GAW or WOUDC ID of the station
Line 552: Line 665:
   * Functions: O3L1PRIObyStation, O3L1_5PRIObyStation, and O3L2_0PRIObyStation   * Functions: O3L1PRIObyStation, O3L1_5PRIObyStation, and O3L2_0PRIObyStation
   * Description: These functions provide the same output as the [[codes:dbaccess#get_o3l1bystation_o3l1_5bystation_and_o3l2_0bystation|O3L1byStation, O3L1_5byStation, and O3L2_0byStation]] described above, but includes both DS and ZS observations -- the latter only when there are no DS observations available in the day (see also the ''priority'' input option below)   * Description: These functions provide the same output as the [[codes:dbaccess#get_o3l1bystation_o3l1_5bystation_and_o3l2_0bystation|O3L1byStation, O3L1_5byStation, and O3L2_0byStation]] described above, but includes both DS and ZS observations -- the latter only when there are no DS observations available in the day (see also the ''priority'' input option below)
-  * Example: https://rbcce.aemet.es/eubrewnet/data/get/O3L1_5PRIObyStation?gaw_id=IZO&date=2022-05-10&format=text+  * Example: https://eubrewnet.aemet.es/eubrewnet/data/get/O3L1_5PRIObyStation?gaw_id=IZO&date=2022-05-10&format=text
   * Input:   * Input:
       - ''gaw_id'' or ''woudc_id'': GAW or WOUDC ID of the station       - ''gaw_id'' or ''woudc_id'': GAW or WOUDC ID of the station
Line 572: Line 685:
   * Function: brewerStationClimatology   * Function: brewerStationClimatology
   * Description: This function returns the daily atmospheric parameters corresponding to the location of the Brewer spectrophotometer   * Description: This function returns the daily atmospheric parameters corresponding to the location of the Brewer spectrophotometer
-  * Example: https://rbcce.aemet.es/eubrewnet/data/get/brewerStationClimatology?brewerid=150&date=2021-01-01&enddate=2021-01-02&format=text+  * Example: https://eubrewnet.aemet.es/eubrewnet/data/get/brewerStationClimatology?brewerid=150&date=2021-01-01&enddate=2021-01-02&format=text
   * Input:   * Input:
       - ''brewerid'': this is the ID of the Brewer. This follows the format described in [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': this is the ID of the Brewer. This follows the format described in [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 604: Line 717:
   * Functions: UNCL1 and UNCL1_V2   * Functions: UNCL1 and UNCL1_V2
   * Description: Level 1 uncertainty product for the standard and V2 ozone algorithms.   * Description: Level 1 uncertainty product for the standard and V2 ozone algorithms.
-  * Examples: https://rbcce.aemet.es/eubrewnet/data/get/UNCL1?brewerid=163&date=2019-06-03&format=text, https://rbcce.aemet.es/eubrewnet/data/get/UNCL1_V2?brewerid=163&date=2019-06-03&format=text+  * Examples: https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1?brewerid=163&date=2019-06-03&format=text, https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_V2?brewerid=163&date=2019-06-03&format=text
   * Input:   * Input:
       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 620: Line 733:
   * Functions: UNCL1_5 and UNCL1_5_V2   * Functions: UNCL1_5 and UNCL1_5_V2
   * Description: Level 1.5 uncertainty product calculated from the level 1 uncertainty, standard and V2 ozone algorithms. Note measurements with more 25 units in the individual (not summaries) values of the combined, systematic and/or random uncertainties are not included in the output, use [[codes:dbaccess&#process_uncl1_5_and_uncl1_5_v2|process with rejected]] to get these data.   * Description: Level 1.5 uncertainty product calculated from the level 1 uncertainty, standard and V2 ozone algorithms. Note measurements with more 25 units in the individual (not summaries) values of the combined, systematic and/or random uncertainties are not included in the output, use [[codes:dbaccess&#process_uncl1_5_and_uncl1_5_v2|process with rejected]] to get these data.
-  * Examples: https://rbcce.aemet.es/eubrewnet/data/get/UNCL1_5?brewerid=163&date=2019-06-03&format=text, https://rbcce.aemet.es/eubrewnet/data/get/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text+  * Examples: https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_5?brewerid=163&date=2019-06-03&format=text, https://eubrewnet.aemet.es/eubrewnet/data/get/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text
   * Input:   * Input:
       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 655: Line 768:
 ^ O3L1_5    | Returns the Level 1.5 of Ozone     |[[codes:dbaccess#process_O3L1_5|O3L1_5]] |[[http://eubrewnet.aemet.es/eubrewnet/data/process/O3L1_5?brewerid=157&date=2015-01-01&enddate=2015-01-02|Process O3L1_5]]        | ^ O3L1_5    | Returns the Level 1.5 of Ozone     |[[codes:dbaccess#process_O3L1_5|O3L1_5]] |[[http://eubrewnet.aemet.es/eubrewnet/data/process/O3L1_5?brewerid=157&date=2015-01-01&enddate=2015-01-02|Process O3L1_5]]        |
 ^ O3L2_0    | Returns the Level 2.0 of Ozone     |[[codes:dbaccess#process_O3L2_0|O3L2_0]] |[[http://eubrewnet.aemet.es/eubrewnet/data/process/O3L2_0?brewerid=157&date=2015-01-01&enddate=2015-01-02|Process O3L2_0]]        | ^ O3L2_0    | Returns the Level 2.0 of Ozone     |[[codes:dbaccess#process_O3L2_0|O3L2_0]] |[[http://eubrewnet.aemet.es/eubrewnet/data/process/O3L2_0?brewerid=157&date=2015-01-01&enddate=2015-01-02|Process O3L2_0]]        |
-^ UNCL1 and UNCL1_V2 | Returns L1 uncertatinty for the standard and V2 Ozone algorithms | [[codes:dbaccess&#process_uncl1_and_uncl1_v2|UNCL1 and UNCL1_V2]] | [[https://rbcce.aemet.es/eubrewnet/data/process/UNCL1?brewerid=163&date=2019-06-03&format=text|Process UNCL1]] [[https://rbcce.aemet.es/eubrewnet/data/process/UNCL1_V2?brewerid=163&date=2019-06-03&format=text|Process UNCL1_V2]] | +^ UNCL1 and UNCL1_V2 | Returns L1 uncertatinty for the standard and V2 Ozone algorithms | [[codes:dbaccess&#process_uncl1_and_uncl1_v2|UNCL1 and UNCL1_V2]] | [[https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1?brewerid=163&date=2019-06-03&format=text|Process UNCL1]] [[https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1_V2?brewerid=163&date=2019-06-03&format=text|Process UNCL1_V2]] | 
-^ UNCL1_5 and UNCL1_5_V2 | Returns L1.5 uncertatinty for the standard and V2 Ozone algorithms | [[codes:dbaccess&#process_uncl1_5_and_uncl1_5_v2|UNCL1_5 and UNCL1_5_V2]] | [[https://rbcce.aemet.es/eubrewnet/data/process/UNCL1_5?brewerid=163&date=2019-06-03&format=text|Process UNCL1_5]] [[https://rbcce.aemet.es/eubrewnet/data/process/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text|Process UNCL1_5_V2]] | +^ UNCL1_5 and UNCL1_5_V2 | Returns L1.5 uncertatinty for the standard and V2 Ozone algorithms | [[codes:dbaccess&#process_uncl1_5_and_uncl1_5_v2|UNCL1_5 and UNCL1_5_V2]] | [[https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1_5?brewerid=163&date=2019-06-03&format=text|Process UNCL1_5]] [[https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text|Process UNCL1_5_V2]] | 
 ^ TempCoef  | Returns SL Temperature analysis | [[codes:dbaccess#process_TempCoef|TempCoef]] | [[https://eubrewnet.aemet.es/eubrewnet/data/process/TempCoef?brewerid=40&tc&tmin=5&tmax=40&alpha=3&date=2021-07-06&enddate=2021-07-16&format=text|Process TempCoef]] | ^ TempCoef  | Returns SL Temperature analysis | [[codes:dbaccess#process_TempCoef|TempCoef]] | [[https://eubrewnet.aemet.es/eubrewnet/data/process/TempCoef?brewerid=40&tc&tmin=5&tmax=40&alpha=3&date=2021-07-06&enddate=2021-07-16&format=text|Process TempCoef]] |
  
Line 738: Line 851:
   * Functions: UNCL1 and UNCL1_V2   * Functions: UNCL1 and UNCL1_V2
   * Description: Level 1 uncertainty product for the standard and V2 ozone algorithms.   * Description: Level 1 uncertainty product for the standard and V2 ozone algorithms.
-  * Examples: https://rbcce.aemet.es/eubrewnet/data/process/UNCL1?brewerid=163&date=2019-06-03&format=text, https://rbcce.aemet.es/eubrewnet/data/process/UNCL1_V2?brewerid=163&date=2019-06-03&format=text+  * Examples: https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1?brewerid=163&date=2019-06-03&format=text, https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1_V2?brewerid=163&date=2019-06-03&format=text
   * Input:   * Input:
       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 765: Line 878:
   * Functions: UNCL1_5 and UNCL1_5_V2   * Functions: UNCL1_5 and UNCL1_5_V2
   * Description: Level 1.5 uncertainty product calculated from the level 1 uncertainty, standard and V2 ozone algorithms.   * Description: Level 1.5 uncertainty product calculated from the level 1 uncertainty, standard and V2 ozone algorithms.
-  * Examples: https://rbcce.aemet.es/eubrewnet/data/process/UNCL1_5?brewerid=163&date=2019-06-03&format=text, https://rbcce.aemet.es/eubrewnet/data/process/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text+  * Examples: https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1_5?brewerid=163&date=2019-06-03&format=text, https://eubrewnet.aemet.es/eubrewnet/data/process/UNCL1_5_V2?brewerid=163&date=2019-06-03&format=text
   * Input:   * Input:
       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]       - ''brewerid'': see [[codes:dbaccess#common_inputs|Brewerid in common inputs]]
Line 933: Line 1046:
 ===== Last measurement at EUBREWNET ===== ===== Last measurement at EUBREWNET =====
   * Function: ''last_measurement''   * Function: ''last_measurement''
-  * Example: http://rbcce.aemet.es/eubrewnet/stats/last_measurement?gaw_id=izo+  * Example: http://eubrewnet.aemet.es/eubrewnet/stats/last_measurement?gaw_id=izo
   * Description: by returning the type and time of the most recent command run at the Brewer on the present day, and the value of the most recent Direct Sun summary, this function provides a quick way to check the status of a Brewer connected to EUBREWNET's database   * Description: by returning the type and time of the most recent command run at the Brewer on the present day, and the value of the most recent Direct Sun summary, this function provides a quick way to check the status of a Brewer connected to EUBREWNET's database
-  * Input: ''brewerid'' or ''gaw_id'', to return the data of a specific Brewer or of all the Brewers present at a station, respectively. See also [[codes:dbaccess#common_inputs|Brewerid in common inputs]]+  * Input: ''brewerid'' or ''gaw_id'', to return the data of a specific Brewer or of all the Brewers present at a station, respectively
   * Output: one line for each Brewer, with three fields separated by commas:   * Output: one line for each Brewer, with three fields separated by commas:
     - ''brewerid'',      - ''brewerid'', 
Line 948: Line 1061:
 258, hk@14:48:17, dss:283.3@14:42:50 258, hk@14:48:17, dss:283.3@14:42:50
 </code> </code>
 +
codes/dbaccess.1707924865.txt.gz · Last modified: 2024/02/14 15:34 by jlsolano