Recent History (preserving history): Difference between revisions

m
(Text for this page taken from web tag page)
 
Line 8: Line 8:
This effectively allows a request to Cumulus to specify 1 to 10 079 minutes ago, and it will retrieve the value for the nearest (if values are not stored for every minute) available time. The values available have increased as Cumulus has developed, if your release does not calculate all the derivatives you want, please see [[#If the derivative you want is not available in your Cumulus release]].
This effectively allows a request to Cumulus to specify 1 to 10 079 minutes ago, and it will retrieve the value for the nearest (if values are not stored for every minute) available time. The values available have increased as Cumulus has developed, if your release does not calculate all the derivatives you want, please see [[#If the derivative you want is not available in your Cumulus release]].


The normal way to retrieve a specific value is by using [[Webtags#Recent_History|recent history tag names]] and [[Webtags/Parameters#Input_modification_Parameters|specifying how many minutes ago you want (to avoid using large numbers, parameters allow you to specify days ago, hours ago and minutes ago in any combination).
The normal way to retrieve a specific value is by using [[Webtags#Recent_History|recent history tag names]] and [[Webtags/Parameters#Input_modification_Parameters|specifying how many minutes ago]] you want (to avoid using large numbers, parameters allow you to specify days ago, hours ago and minutes ago in any combination).


However, data from recent history is also used when the legacy Cumulus is generating images containing graphs for its [[Customised_templates#The_Standard_Templates_for_Cumulus_1|"Trends.htm"]] web page.
However, data from recent history is also used when the legacy Cumulus is generating images containing graphs for its [[Customised_templates#The_Standard_Templates_for_Cumulus_1|"Trends.htm"]] web page.


MX uses data from recent history in its [[API_Graph_Data|Application Programming Interface]] for the [[MX_Administrative_Interface#Charts]], and uses data from recent history (using several different .json files), see [[Category:JSON_Files#Uploading_data_to_a_web_server_outside_MX]] to make the data available for plotting charts on your web server.   
MX uses data from recent history in its [[API_Graph_Data|Application Programming Interface]] for the [[MX_Administrative_Interface#Charts]], and uses data from recent history (using several different .json files), see [[:Category:JSON_Files#Uploading_data_to_a_web_server_outside_MX]] to make the data available for plotting charts on your web server.   


Finally, there are a number of internal calculations, such as calculating [[Average temperature]], [[Heat/cold degree days and Chill hours]], which (in MX, Steve Loft never specified how these work in the legacy software) use the recent history data.
Finally, there are a number of internal calculations, such as calculating [[Average temperature]], [[Heat/cold degree days and Chill hours]], which (in MX, Steve Loft never specified how these work in the legacy software) use the recent history data.
5,838

edits