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 [2025/10/01 11:28] – [AP] ajberjoncodes:dbaccess [2025/10/14 13:34] (current) – [Brewer Summary] ajberjon
Line 245: Line 245:
 ---- ----
  
 +==== 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 ==== ==== stationsFromBrewer ====
   * Function: stationsFromBrewer   * Function: stationsFromBrewer
codes/dbaccess.1759318104.txt.gz · Last modified: 2025/10/01 11:28 by ajberjon