EasyWeather Format: Difference between revisions

179 bytes added ,  21:34, 23 February 2014
m
Line 121: Line 121:
Note when reading easyweather.dat (or equivalent format input), Cumulus does read the station originated date and time fields, and checks that they have changed before using new data from the file.
Note when reading easyweather.dat (or equivalent format input), Cumulus does read the station originated date and time fields, and checks that they have changed before using new data from the file.


Here's the format of the 'easyweather.dat' file, with the fields Cumulus uses in bold. The separator between each field can either be a space or a comma, both are treated the same (hence date and time are regarded as separate fields even though they are separated by a space in real EasyWeather file). Note that EasyWeather always uses full stops for decimals.
Here's the format of the initial part of an 'easyweather.dat' file record, with the fields Cumulus uses in bold. The separator between each field can either be a space or a comma, both are treated the same (hence date and time are regarded as separate fields even though they are separated by a space in real EasyWeather file). Note that EasyWeather always uses full stops for decimals. There are more fields after the ones shown (see example records shown above for the two .dat formats; and http://www.jim-easterbrook.me.uk/weather/ew/).
*0 - Record no   
*0 - Record no   
*1 - Transfer date   
*1 - Transfer date   
5,838

edits