Thrifty - Cutils Command Qualifier: Difference between revisions

m
 
(3 intermediate revisions by the same user not shown)
 
utils/bin/cumulusutils.exe Thrifty Website => This activates the Thrifty command qualifier on the Website generation
utils/bin/cumulusutils.exe Thrifty All => This activates the Thrifty command qualifier on the All modules generation
utils/bin/cumulusutils.exe Website Thrifty => This only runs Website, Thrifty is ignored
utils/bin/cumulusutils.exe YADR Records Thrifty => This activates the Thrifty command qualifier on the named modules
 
For each of the modules you can safely rarely upload the following because the changes are none or minimal. The files are listed with a minimal advised upload frequency:
#forecast.txt [advise: only initial (if you are using the Norwegian system or SpotWX) or daily (if you are using yourweather). No advise for WXSIM]
#graphsmisc.txt, graphsrain.txt, graphstemp.txt, graphswind.txt, graphssolar.txt [advise: every other day]
#noaa.txt [advise: every 2d day of the month]
=== Uploading Automatically ===
Automatic ''Thrifty'' handling assumes a daily run of ''CumulusUtils''.
 
For proper understanding we split the usage in ''modules'' and ''website''.
 
==== Thrifty Website ====
Under Thrifty, the following holds for the website files and the website infrastructure:
 
#Always upload ''index.html'' after generating the website.
#The runtime javascript environment files will NOT be generated and NOT be uploaded - to prevent old existing files to upload - under the ''Thrifty Website'' command.
#The library files from the distribution will NOT upload under the ''Thrifty Website'' command:
Runtime javascript environment files:
cumulusutils.js
cumuluscharts.txt
HighchartsLanguage.js
 
Library files from the distribution:
HighchartsDefaults.js
gauges.js
suncalc.js
tween.min.js
language.js
RGraph.common.core.js
RGraph.rose.js
steelseries.min.js
 
NOTE: When updating, copy those files from the distribution and DO NOT USE THRIFTY
 
==== Thrifty Modules ====
 
The decision to automatically upload a file or not - assuming ''DoUploadFTP=true'' = is done on the basis of two parameters:
#Have the cycle conditions become true
| Yadr || yadr.txt<br>yadrtemp{year}.txt<br>yadrrain{year}.txt<br>yadrwind{year}.txt<br>yadrwindrun{year}.txt<br>yadrpress{year}.txt<br>yadrhum{year}<br> || 2d day of year<br>current year<br>current year<br>current year<br>current year<br>current year<br>current year<br> || 2d day of year<br>current year<br>current year<br>current year<br>current year<br>current year<br>current year<br>
|-
| AirQualityAirLink || airqualityairlink.txt || Never || Never
|-
| StationMap || Stationmap.txt || Never || Never