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 revision Previous revision
Next revision
Previous revision
codes:dbaccess [2024/02/14 15:34]
jlsolano [Last measurement at EUBREWNET]
codes:dbaccess [2024/02/14 15:35] (current)
jlsolano [Last measurement at EUBREWNET]
Line 935: Line 935:
   * Example: http://​rbcce.aemet.es/​eubrewnet/​stats/​last_measurement?​gaw_id=izo   * Example: http://​rbcce.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'', ​
     - ''​last command''​@''​time when the last command was run'', ​     - ''​last command''​@''​time when the last command was run'', ​
     - dss:''​ozone value''​@''​time of the Direct Sun summary''​     - dss:''​ozone value''​@''​time of the Direct Sun summary''​
- 
   * Output example:   * Output example:
- 
 <​code>​ <​code>​
 157, hk@14:​49:​54,​ dss:​289.1@14:​46:​22 157, hk@14:​49:​54,​ dss:​289.1@14:​46:​22
codes/dbaccess.1707924850.txt.gz ยท Last modified: 2024/02/14 15:34 by jlsolano