Cumulus.ini: Difference between revisions

559 bytes added ,  05:09, 14 June 2021
m
NOAA
m (edit message at top)
m (NOAA)
Line 225: Line 225:
|-
|-
|EnableAccessibility=0
|EnableAccessibility=0
| * (Either) Program Settings &raa; (First tick box)
| * (Either) Program Settings → (First tick box)
* (Or)  Station  Settings → (First tick box)
* (Or)  Station  Settings → (First tick box)
|Enable accessibility features  
|Enable accessibility features  
Line 524: Line 524:
==NOAA Settings==
==NOAA Settings==


===Create NOAA files after daily rollover===
* File Section is [NOAA]
 
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
!style="width:30px" | Parameter Line Entry
!style="width:30px" | Parameter Line Entry
!style="width:100px" | Introduced
!style="width:100px" | MX Section
!style="width:60px" | Label on Settings page
!style="width:60px" | Label on Settings page
!style="width:20px" | Default
!style="width:20px" | Default
!style="width:300px" | Description
!style="width:300px" | Description
|-
|style="background:lightgray;"|[NOAA]
|
|
|style="background:lightgray;"|Section name - the following parameters appear in NOAA section
|-
|-
| AutoSave=1
| AutoCopy=0
| Create NOAA files after daily rollover
| Release 3.12.0
|0
| NOAA Reports Settings → FTP Options
| *0= do not use Reports functionality
| Auto Copy NOAA report files
*1= do use Reports functionality
| Simple tick or not
* Tick (value shown as 1 in Cumulus.ini) if your report is to be copied to copy directory during the [[MX_Basic_info#MX_End_of_Day_Process|End of Day process]]
* Don't tick (value shown as 0 in Cumulus.ini) for no copy action
|-
|-
| UseDotDecimal=0
| AutoFTP=0
|
| First with Cumulus 2
| NOAA Reports Settings → FTP Options
| Auto FTP NOAA report files
| 0 (disable)
| 0 (disable)
| (Introduced 3.9.5 - b3100) Formatting real numbers for when NOAA report parsed by a script
| Simple tick or not
* 0= NOAA reports use the integer/decimal separator specified by locale
* Tick (value shown as 1 in Cumulus.ini) to enable the file transfer process you have defined for MX, to upload the file for you (at first update time after rollover has completed)
* 1= NOAA reports used decimal point even if locale says use decimal comma
* Don't tick (value shown as 0 in Cumulus.ini) to disable any file transfer process
|}
 
===Site Details===
 
{| class="wikitable" border="1"
|-
|-
!style="width:30px" | Parameter Line Entry
| AutoSave=1
!style="width:60px" | Label on Settings page
| First with Cumulus 2
!style="width:20px" | Default
| NOAA Reports Settings → Create NOAA files after daily rollover
!style="width:300px" | Description
|0
|-
| Simple tick or not
|style="background:lightgray;"|[NOAA]
* Tick (value shown as 1 in Cumulus.ini) if you want MX to use the (optional) Reports functionality
|
* Don't tick (value shown as 0 in Cumulus.ini) if MX Reports functionality not required
|  
|style="background:lightgray;"|Section name - the following parameters appear in NOAA section
|-
|-
|Name=Personal Weather Station
| City=
|Site Name
| First with Cumulus 2
|(empty)
| NOAA Reports Settings → Site Details
|What you would like to see in report title for your station name
| City
| (empty)
| Enter here your hamlet, village, town, or city, name
|-
|-
|City=
| CoolingThreshold=22
|City
| First with Cumulus 2
|(empty)
| NOAA Reports Settings → Thresholds
|Enter here your hamlet, village, town, or city, name
| Cooling threshold
| 65<sup>o</sup> F or 18.3<sup>o</sup>C
| [[Heat/cold_degree_days_and_Chill_hours#Cold_Degree_Days|Cold Degree Days]] are a measure of the need to cool the air to make it more comfortable, based on time above, and temperature difference above, a threshold temperature. An international standard says 22 <sup>o</sup>Celsius is a suitable threshold to ensure comfort. For historical consistency, the default used by MX is based on the threshold used when Steve Loft first implemented this in [[Reports_folder#A_brief_history_of_these_reports|Cumulus 2 (enhancement request 44)]], and that was done to match some early look up tables.
|-
|-
|State=
| CopyDirectory=
|State
| Release 3.12.0
|(empty)
| NOAA Reports Settings &rarr; Report Format Options
|Enter here your local authority area or region (state in USA)
| Copy Directory
|}
| (empty)
 
| The folder on the web server you host to which reports are to be copied
===Output Files===
 
{| class="wikitable" border="1"
|-
|-
!style="width:30px" | Parameter Line Entry
| FTPDirectory=
!style="width:60px" | Label on Settings page
| First with Cumulus 2
!style="width:20px" | Default
| NOAA Reports Settings &rarr; FTP Options
!style="width:300px" | Description
| FTP directory
|-
| (empty)
|style="background:lightgray;"|[NOAA]
| Where you want MX to use as destination folder on your FTP server
|
*Leave blank and MX will use wherever has been specified in main internet settings (this fits how the default web site is designed to work)
|
* Specify a folder relative to FTP root, and MX will upload reports to that folder instead (if you use any files from default web site, then you will need to amend the JavaScript file:
|style="background:lightgray;"|Section name - the following parameters appear in NOAA section
<code>let rptPath = '';  // Your path should have a trailing "/", eg. 'Reports/'</code> by putting your folder name in, an example is given for the case when “/Reports” is a sub folder off the main upload destination, note how you don’t include a leading slash, but you must add a trailing one.
|-
|-
|MonthFileFormat='NOAAMO'MMyy'.txt'
| HeatingThreshold=15.5
|Monthly filename format
| First with Cumulus 2
|'NOAAMO'MMyy'.txt' (note quotes round 'NOAAMO' and round '.txt')
| NOAA Reports Settings &rarr; Thresholds
|Here you specify the filename template for MX to use when reading, or writing, monthly reports
| Heating threshold
 
| 65<sup>o</sup> F or 18.3<sup>o</sup>C
There is a prefix text in quotes,then comes a way to specify months (see [[Reports_folder#NOAA_style_Report_Naming]]), and finally comes the mandatory text extension.  e.g. "NOAAMO"MMMyyyy".txt" would also be valid.
|[[Heat/cold_degree_days_and_Chill_hours#Heat_Degree_Days| Heating Degree Days]] are a measure of the need for heating, based on time below, and temperature difference below, a threshold temperature. An international standard says 15.5 <sup>o</sup>Celsius is a suitable threshold to ensure comfort. For historical consistency, the default used by MX is based on the threshold used when Steve Loft first implemented this in [[Reports_folder#A_brief_history_of_these_reports|Cumulus 2 (enhancement request 44)]], and that was done to match some early look up tables.
|-
|-
|YearFileFormat='NOAAYR'yyyy'.txt’
| MaxTempComp1=22
|Yearly filename format
| First with Cumulus 2
|'NOAAYR'yyyy'.txt'
| NOAA Reports Settings &rarr; Thresholds
|Here you specify the filename template for MX to use when reading, or writing, yearly reports
| Max temp comparison 1
 
| (empty)
There is a prefix text in quotes,then comes a way to specify months (see [[Reports_folder#NOAA_style_Report_Naming]]), and finally comes the mandatory text extension.  
| The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the first comparison has been set to agree with the cooling degree day threshold in Celsius. Express in Fahrenheit if that is your chosen unit
|}
 
 
===Report Format Options===
 
{| class="wikitable" border="1"
|-
|-
!style="width:30px" | Parameter Line Entry
| MaxTempComp2=0
!style="width:60px" | Label on Settings page
| First with Cumulus 2
!style="width:20px" | Default
| NOAA Reports Settings &rarr; Thresholds
!style="width:300px" | Description
| Max temp comparison 2
|-
| (empty)
|style="background:lightgray;"|[NOAA]
| The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the second comparison has been set to agree with feezing point (I’m using Celsius). Express in Fahrenheit if that is your chosen unit
|
|  
|style="background:lightgray;"|Section name - the following parameters appear in NOAA section
|-
|-
|12hourformat=0
| MinTempComp1=15.5
|Time format
| First with Cumulus 2
|0 (24 hour)  
| NOAA Reports Settings &rarr; Thresholds
| How times are output on reports
| Min temp comparison 1
* 24 Hour
| (empty)
* 12 Hour
| The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the first comparison has been set to agree with the heating degree day  threshold in Celsius. Express in Fahrenheit if that is your chosen unit
|-
|-
|NOAUseUTF8=1
| MinTempComp2=0
|Use UTF-8 encoding
| First with Cumulus 2
|Please see [[Reports_folder#Encoding]]
| NOAA Reports Settings &rarr; Thresholds
*Tick (value shown as 1 in Cumulus.ini) for default, modern files use UTF-8 encoding, this can display an extended range of characters, including the <sup>o</sup> degree symbol
| Min temp comparison 2
*If unticked (0 appears in file), then iso-8859-1 encoding is used, this has a more restricted range of characters, and the <sup>o</sup> degree symbol is coded differently
| (empty)
| The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the second comparison has been set to agree with feezing point (I’m using Celsius). Express in Fahrenheit if that is your chosen unit
|-
|-
|UseDotDecimal=0
| MonthFileFormat='NOAAMO'MMyy'.txt'
|Use a 'dot' decimal point
| First with Cumulus 2
|0 (locale)
| NOAA Reports Settings &rarr; Output Files
| Should dot or comma decimal be used?
| Monthly filename format
*0= as defined in your locale
| 'NOAAMO'MMyy'.txt' (note quotes round 'NOAAMO' and round '.txt')
*1= dot decimal place, regardless of what in locale
| Here you specify the filename template for MX to use when reading, or writing, monthly reports
(The reason for this is that some people instead of looking at reports, have a script that parses the report and outputs in a different way)
|}


 
There is a prefix text in quotes,then comes a way to specify months (see [[Reports_folder#NOAA_style_Report_Naming]]), and finally comes the mandatory text extension.  e.g. "NOAAMO"MMMyyyy".txt" would also be valid.
===FTP Options===
 
{| class="wikitable" border="1"
|-
|-
!style="width:30px" | Parameter Line Entry
| Name=Personal Weather Station
!style="width:60px" | Label on Settings page
| First with Cumulus 2
!style="width:20px" | Default
| NOAA Reports Settings &rarr; Site Details
!style="width:300px" | Description
| Site Name
|-
| (empty)
|style="background:lightgray;"|[NOAA]
| What you would like to see in report title for your station name
|
|  
|style="background:lightgray;"|Section name - the following parameters appear in NOAA section
|-
|-
|AutoFTP=0
| NOAUseUTF8=1
|Auto FTP NOAA report files
| First with Cumulus 2
|0 (disable)
| NOAA Reports Settings &rarr; Report Format Options
|Assuming you have selected (in earlier sub-section) that MX is to create reports
| Use UTF-8 encoding
*0= Disable any further action with filename
| Please see [[Reports_folder#Encoding]]
*1= Enable the file transfer process you have defined for MX, to upload the file for you (at first update time after rollover has completed)
* Tick (value shown as 1 in Cumulus.ini) for default, modern files use UTF-8 encoding, this can display an extended range of characters, including the <sup>o</sup> degree symbol
* If unticked (0 appears in file), then iso-8859-1 encoding is used, this has a more restricted range of characters, and the <sup>o</sup> degree symbol is coded differently
|-
|-
|FTPDirectory=
| RainComp1=0.5
|FTP directory
| First with Cumulus 2
|(empty)
| NOAA Reports Settings &rarr; Thresholds
|Where you want MX to use as destination folder on your FTP server
| Rain comparison 1
*Leave blank and MX will use wherever has been specified in main internet settings (this fits how the default web site is designed to work)
| (empty)
* Specify a folder relative to FTP root, and MX will upload reports to that folder instead (if you use any files from default web site, then you will need to amend the JavaScript file:
| The report will count the number of days when the daily rainfall exceeds this threshold. In the parameter I have quoted, the first comparison has been set to the same as I have set else where as my significant rain threshold
<code>let rptPath = '';  // Your path should have a trailing "/", eg. 'Reports/'</code> by putting your folder name in, an example is given for the case when “/Reports” is a sub folder off the main upload destination, note how you don’t include a leading slash, but you must add a trailing one.
|}
 
===Thresholds===
 
‘’Please note any temperatures you specify in these settings must use the same units as you have asked MX to report temperature in. Equally any rainfall amounts you specify here must use the same units as you have asked MX to report rainfall in.’’
 
{| class="wikitable" border="1"
|-
|-
!style="width:30px" | Parameter Line Entry
| RainComp2=
!style="width:60px" | Label on Settings page
| First with Cumulus 2
!style="width:20px" | Default
| NOAA Reports Settings &rarr; Thresholds
!style="width:300px" | Description
| Rain comparison 2
|-
| (empty)
|style="background:lightgray;"|[NOAA]
| The report will count the number of days when the daily rainfall exceeds this threshold.
|
|  
|style="background:lightgray;"|Section name - the following parameters appear in NOAA section
|-
|-
|HeatingThreshold=15.5
| RainComp3=
|Heating threshold
| First with Cumulus 2
|65<sup>o</sup> F or 18.3<sup>o</sup>C
| NOAA Reports Settings &rarr; Thresholds
|[[Heat/cold_degree_days_and_Chill_hours#Heat_Degree_Days| Heating Degree Days]] are a measure of the need for heating, based on time below, and temperature difference below, a threshold temperature. The international standard says 15.5 <sup>o</sup>Celsius is a suitable threshold to ensure comfort. For historical consistency, the default used by MX is based on the threshold used when Steve Loft first implemented this in [[Reports_folder#A_brief_history_of_these_reports|Cumulus 2 (enhancement request 44)]], and that was done to match some early look up tables.
| Rain comparison 3  
| (empty)
| The report will count the number of days when the daily rainfall exceeds this threshold.
|-
|-
|CoolingThreshold=22
| State=
|Cooling threshold
| First with Cumulus 2
|65<sup>o</sup> F or 18.3<sup>o</sup>C
| NOAA Reports Settings &rarr; Site Details
|[[Heat/cold_degree_days_and_Chill_hours#Cold_Degree_Days|Cold Degree Days]] are a measure of the need to cool the air to make it more comfortable,  based on time above, and temperature difference above, a threshold temperature. The international standard says 22 <sup>o</sup>Celsius is a suitable threshold to ensure comfort. For historical consistency, the default used by MX is based on the threshold used when Steve Loft first implemented this in [[Reports_folder#A_brief_history_of_these_reports|Cumulus 2 (enhancement request 44)]], and that was done to match some early look up tables.
| State
| (empty)
| Enter here your local authority area or region (state in USA)
|-
|-
|MaxTempComp1=22
| UseDotDecimal=0
|Max temp comparison 1
| Release 3.9.5 - b3100
|(empty)
| NOAA Reports Settings &rarr; Report Format Options
|The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the first comparison has been set to agree with the cooling degree day threshold
| Use a 'dot' decimal point
| 0 (disable)
| Formatting real numbers for when NOAA report parsed by a script
 
Simple tick or not
* Tick (value shown as 1 in Cumulus.ini) if you want NOAA reports to use decimal point even if locale says use decimal comma
* Don't tick (value shown as 0 in Cumulus.ini) if NOAA reports use the integer/decimal separator specified by locale
|-
|-
|MaxTempComp2=0
| UseMinMaxAvg=0
|Max temp comparison 2
| Release 3.12.0
|(empty)
| NOAA Reports Settings &rarr; Report Format Options
|The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the second comparison has been set to agree with feezing point (I’m using Celsius)
| Use WHO average or Intregated average
| 0 (integrated average)
| Simple tick or not
* Tick (value shown as 1 in Cumulus.ini) if you want temperature averages quoted in NOAA reports to use WHO approach: (min + max)/2
* Don't tick (value shown as 0 in Cumulus.ini) if you want temperature averages quoted in NOAA reports to use integrated calculation: Sum of all temperature measurements divided by count of measurements
|-
|-
|MinTempComp1=15.5
| YearFileFormat='NOAAYR'yyyy'.txt’
|Min temp comparison 1
| First with Cumulus 2
|(empty)
| NOAA Reports Settings &rarr; Output Files
|The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the first comparison has been set to agree with the heating degree day threshold
| Yearly filename format
| 'NOAAYR'yyyy'.txt'
| Here you specify the filename template for MX to use when reading, or writing, yearly reports
 
There is a prefix text in quotes,then comes a way to specify months (see [[Reports_folder#NOAA_style_Report_Naming]]), and finally comes the mandatory text extension.
|-
|-
|MinTempComp2=0
|12hourformat=0
|Min temp comparison 2
| ???
|(empty)
|Time format
|The report will count the number of days when this threshold is exceeded. In the parameter I have quoted, the second comparison has been set to agree with feezing point (I’m using Celsius)
|0 (24 hour)  
|-
| How times are output on reports
|RainComp1=0.5
* 24 Hour (value shown as 0 in Cumulus.ini)
|Rain comparison 1
* 12 Hour (value shown as 1 in Cumulus.ini)
|(empty)
| The report will count the number of days when the daily rainfall exceeds this threshold. In the parameter I have quoted, the first comparison has been set to the same as I have set else where as my significant rain threshold
|-
|RainComp2=
|Rain comparison 2
|(empty)
| The report will count the number of days when the daily rainfall exceeds this threshold.
|-
|RainComp3=
|Rain comparison 3
|(empty)
| The report will count the number of days when the daily rainfall exceeds this threshold.
|}
|}


===Normal Mean Temperatures===
===Normal Mean Temperatures===


*The parameters run from ‘’’NOAATempNormJan=’’’ to ‘’’NOAATempNormDec=’’
* File Section is [NOAA]
*There is one box labelled for each month on the settings screens
* The parameters run from ‘’’NOAATempNormJan=’’’ to ‘’’NOAATempNormDec=’’
*All the defaults are (blank)
* There is one box labelled for each month on the settings screens
*What you enter is the mean temperature, long-term averages (say over 10 or 30 years if available) say is expected that month, often taken from local climate statistics, or your own past measurements
* All the defaults are (blank)
* What you enter is the mean temperature, long-term averages (say over 10 or 30 years if available) say is expected that month, often taken from local climate statistics, or your own past measurements


===Normal Precipitation===
===Normal Precipitation===


* File Section is [NOAA]
Rainfall equivalents of mean temperature described above
Rainfall equivalents of mean temperature described above


==Program Start-up Options==
==Program Start-up Options==
5,838

edits