EasyWeather Format: Difference between revisions

395 bytes added ,  19:50, 7 March 2014
Line 119: Line 119:
People with non Fine Offset stations may wish to create data in this format for input to Cumulus.
People with non Fine Offset stations may wish to create data in this format for input to Cumulus.
See the forum (http://sandaysoft.com/forum/viewtopic.php?f=4&t=4344) for more details:  Cumulus does not see any station date and time fields when reading a Fine Offset weather station received transmission or processing readings in its memory via USB.
See the forum (http://sandaysoft.com/forum/viewtopic.php?f=4&t=4344) for more details:  Cumulus does not see any station date and time fields when reading a Fine Offset weather station received transmission or processing readings in its memory via USB.
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. To get Cumulus to read the file, configure a station type of "Easyweather (using .dat file)", and supply the full path to your file (it can have any name you wish), and the interval at which it is to be read.  Note that Cumulus only reads the last line in the file, and that this method is only suitable for 'live' data, i.e. you cannot close Cumulus down and expect it to catch up again later.


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/).
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/).