Tempdata.json: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
(New page)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
STUB
[[Category:Cumulus MX]][[Category:JSON Files]]
 
For the default [[New_Default_Web_Site_Information|web site]], not all the information in this file is used.  The parts used are determined by '''Station Settings'''  -->  '''Display Options'''  --> '''Use Apparent Temperature'''.  Please see [[Cumulus.ini#Display Options]] for details.
 
 
The file contents include all information in the following format, regardless of that setting:
 
{| class="wikitable" border="1"
|-
!style="width:150px" | Format
!style="width:600px" | Function
|-
| {
|Start of JSON stream
|-
| "dew":[
|Signifies that the dew point pairs follow
|-
| [JavaScript_Date_object,value]
|Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
*The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
*The value is numerical, in this case a positive integer up to 100
|-
| ],
|Ends the dew point pairs
|-
| '''"apptemp":['''
|Signifies that the apparent temperature pairs follow
|-
|[JavaScript_Date_object,value]
|Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
*The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
*The value is numerical, in this case a positive integer up to 100
|-
| ]
|Ends the apparent temperature pairs
|-
| '''"feelslike":['''
|Signifies that the feels like temperature pairs follow
|-
|[JavaScript_Date_object,value]
|Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
*The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
*The value is numerical, in this case a positive integer up to 100
|-
| ]
|Ends the feels like temperature pairs
|-
| '''"wchill":['''
|Signifies that the wind chill pairs follow
|-
|[JavaScript_Date_object,value]
|Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
*The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
*The value is numerical, in this case a positive integer up to 100
|-
| ]
|Ends the wind chill pairs
|-
| '''"temp":['''
|Signifies that the air temperature pairs follow
|-
|[JavaScript_Date_object,value]
|Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
*The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
*The value is numerical, in this case a positive integer up to 100
|-
| ]
|Ends the air temperature pairs
|-
| "humidex":[
|Signifies that the Canadian Humidity Index pairs follow
|-
|[JavaScript_Date_object,value]
|Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
*The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
*The value is numerical, in this case a positive integer up to 100
|-
| ]
|Ends the Humidex pairs
| }
|End of JSON stream
|}

Latest revision as of 13:23, 18 May 2021


For the default web site, not all the information in this file is used. The parts used are determined by Station Settings --> Display Options --> Use Apparent Temperature. Please see Cumulus.ini#Display Options for details.


The file contents include all information in the following format, regardless of that setting:

Format Function
{ Start of JSON stream
"dew":[ Signifies that the dew point pairs follow
[JavaScript_Date_object,value] Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
  • The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
  • The value is numerical, in this case a positive integer up to 100
], Ends the dew point pairs
"apptemp":[ Signifies that the apparent temperature pairs follow
[JavaScript_Date_object,value] Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
  • The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
  • The value is numerical, in this case a positive integer up to 100
] Ends the apparent temperature pairs
"feelslike":[ Signifies that the feels like temperature pairs follow
[JavaScript_Date_object,value] Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
  • The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
  • The value is numerical, in this case a positive integer up to 100
] Ends the feels like temperature pairs
"wchill":[ Signifies that the wind chill pairs follow
[JavaScript_Date_object,value] Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
  • The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
  • The value is numerical, in this case a positive integer up to 100
] Ends the wind chill pairs
"temp":[ Signifies that the air temperature pairs follow
[JavaScript_Date_object,value] Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
  • The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
  • The value is numerical, in this case a positive integer up to 100
] Ends the air temperature pairs
"humidex":[ Signifies that the Canadian Humidity Index pairs follow
[JavaScript_Date_object,value] Multiple data pairs (each occurrence is separated by a comma between closing bracket of one pair and opening bracket of next):
  • The JavaScript Date object contains the number of milliseconds since 00:00:00.000 UTC on 1st January 1970, that date and time is known as the UNIX Epoch.
  • The value is numerical, in this case a positive integer up to 100
] Ends the Humidex pairs } End of JSON stream