Calculate Missing Values: Difference between revisions

m
→‎CreateMissing.exe: same typo again!
m (→‎CreateMissing.exe: same typo again!)
Line 167: Line 167:
The utility program, CreateMissing.exe, uses the same module to calculate derived values (like dew point, wind chill, apparent temperature, feels like, and Humidity Index) from source values as CumulusMX.exe.  This is how it is able to insert missing fields in the standard log files.  As it processes each line in any standard log file, if a particular field is missing, it will calculate it from other fields in the line if it can.  The utility program, CreateMissing.exe, can update the various [[:Category:Ini Files]] with any new extremes found while it is calculating new fields for any standard log file.
The utility program, CreateMissing.exe, uses the same module to calculate derived values (like dew point, wind chill, apparent temperature, feels like, and Humidity Index) from source values as CumulusMX.exe.  This is how it is able to insert missing fields in the standard log files.  As it processes each line in any standard log file, if a particular field is missing, it will calculate it from other fields in the line if it can.  The utility program, CreateMissing.exe, can update the various [[:Category:Ini Files]] with any new extremes found while it is calculating new fields for any standard log file.


The utility program,CreateMissing.exe, looks in the [[Data Folder|data sub-folder]] to see if dayfile.txt exists (if it does, its file name has a '''.sav''' suffix added after the ''.txt''). If a file with .sav suffix already exists, the utility program will stop, as it cannot create a file if it already exists.
The utility program,CreateMissing.exe, looks in the [[Data folder|data sub-folder]] to see if dayfile.txt exists (if it does, its file name has a '''.sav''' suffix added after the ''.txt''). If a file with .sav suffix already exists, the utility program will stop, as it cannot create a file if it already exists.


As the utility program, CreateMissing.exe, reads each line in any standard log file it is processing, it works out from the date and time in that line which meteorological date to assign that line to, using the rollover time and use 10am in summer settings.  Any day with less than 5 standard log file lines is ignored for dayfile.txt, as is current day.
As the utility program, CreateMissing.exe, reads each line in any standard log file it is processing, it works out from the date and time in that line which meteorological date to assign that line to, using the rollover time and use 10am in summer settings.  Any day with less than 5 standard log file lines is ignored for dayfile.txt, as is current day.
5,838

edits