EasyWeather Format: Difference between revisions

260 bytes added ,  14:05, 28 April 2013
m
→‎The File Format: Amended for 1.9.4 beta build 1071
m (→‎The File Format: Amended for 1.9.4 beta build 1071)
Line 18: Line 18:


=The File Format=
=The File Format=
Easy weather stores all its observations in easyweather.dat.  The file format for this has been described in detail [http://www.jim-easterbrook.me.uk/weather/ew/ here].
Fine Offset weather stations, without solar or UV measurements, store all the observations in easyweather.dat when the EasyWeather software is running.  The file format for this has been described in detail [http://www.jim-easterbrook.me.uk/weather/ew/ here].


NOTE: It seems that the newer EasyWeatherPlus.dat file, has the same fields as easyweather.dat (in a completely diferent order), plus two extra fields for Solar and UV data at the end - perhaps someone with knowledge of that format and its associated program can confirm that past observations could still be input as described below.
NOTE: Fine Offset weather stations that record Solar and UV measurements output to EasyWeatherPlus.dat file when Easyweather software is running.  This presumably has the same fields as easyweather.dat, plus two extra fields for Solar and UV data at the end - Cumulus 1.9.4 beta build 1071 is first build that for ''''easyweather.dat'''' input method will ''Read UV and Lux values from easyweatherplus.dat'' file if ''''extra sensors'''' selected.
 
(You can view ''easyweather.dat'' like any text file either using a text file editor like Notepad or by using a database file viewer).


==Transferring past observations from EasyWeather to Cumulus==
==Transferring past observations from EasyWeather to Cumulus==
Cumulus will read via the USB link, observations from a Fine Offset, whether it has solar sensors or not. The following notes are based on experience of a Fine Offset without solar sensor.
'''Normally those using Cumulus software will stop using EasyWeather software, but the guidance below is for importing missing historic observations contained in easyweather.dat:'''
If you were archiving your Fine Offset Easyweather.dat files, you probably need to rename the latest one,and restore the relevant old one before you follow these instructions.


 
Now to import EasyWeather data from a period before you started using Cumulus, close Cumulus and run EasyWeather.  It is best if you make a backup copy of your EasyWeather directory before you do any more.
If you were archiving your Fine Offset Easyweather.dat files, you probably need to rename the latest one,and restore the relevant old one before you run the EasyWeather program.  Now to import EasyWeather data from a period before you started using Cumulus, close Cumulus and run EasyWeather.  It is best if you make a backup copy of your EasyWeather directory before you do any more.
*In the EasyWeather program use the ''History'' option on the '''Record''' menu.
*In the EasyWeather program use the ''History'' option on the '''Record''' menu.
*Select 'user defined' in '''Search Conditions''' box.  Select a ''start time'' before you got your weather station, leave ''end time'' at default of today.   
*Select 'user defined' in '''Search Conditions''' box.  Select a ''start time'' before you got your weather station, leave ''end time'' at default of today.   
Line 37: Line 38:
If you were archiving your Easyweather.dat files, you may need to repeat the whole above process for futher source files, until you have the whole period you want.  When I did this, I tried to merge the exported files before creating the Cumulus logs, but dealing with 2 full years of frequent pre-Cumulus observations meant I had a massive spreadsheet with almost a million cells, and it made separation into day by day or month by month for feeding into the Cumulus logs more difficult.
If you were archiving your Easyweather.dat files, you may need to repeat the whole above process for futher source files, until you have the whole period you want.  When I did this, I tried to merge the exported files before creating the Cumulus logs, but dealing with 2 full years of frequent pre-Cumulus observations meant I had a massive spreadsheet with almost a million cells, and it made separation into day by day or month by month for feeding into the Cumulus logs more difficult.


==Using 'EasyWeather.dat' file as current input==
==Station configuration screen: Using 'EasyWeather.dat' file as current input==
As an alternative to above (that was for transfer of historic observations), Cumulus has the option to ''read the latest'' observations ('''the last line only''') directly from an easyweather.dat file  (see Cumulus help for how to fill in the station configuration screen) and process these. You might want to do this, perhaps for testing purposes, on a short term basis, but it is better to select the 'Fine Offset' input (this is via USB) for normal operational purposes (again see Cumulus help for station configuration screen).    As at version 1.9.3, Cumulus is not able to accept 'easyWeatherPlus.dat' as an input.
''Amended by [[User:Sfws|Sfws]] 14:17, 28 March 2013 (UTC) on basis of information in help and support forum:''
 
As an alternative to above (that was for transfer of historic observations), Cumulus has the option to ''read the latest'' observations ('''the last line only''') directly from an easyweather.dat file  (see Cumulus help for how to fill in the station configuration screen) and process these. You might want to do this, perhaps for testing purposes, on a short term basis, but it is better to select the 'Fine Offset' input (this is via USB) for normal operational purposes (again see Cumulus help for station configuration screen).    As stated above up to and including version 1.9.3, Cumulus is not able to accept 'easyWeatherPlus.dat' as an input, but 1.9.4 beta build 1071 onwards does.
(You can view ''easyweather.dat'' like any text file either using a text file editor like Notepad or by using a database file viewer).


That short introduction above was contributed by [[User:Sfws|Sfws]] 12:17, 17 January 2013 (UTC) on basis of information in help and support forum.


Steve Loft has contributed the following (in case people with non Fine Offset stations wish to create data in this format for input to Cumulus) to the forum (http://sandaysoft.com/forum/viewtopic.php?f=4&t=4344) see that forum thread for more details:
''Steve Loft has contributed the following'' (in case people with non Fine Offset stations wish to create data in this format for input to Cumulus) to the forum (http://sandaysoft.com/forum/viewtopic.php?f=4&t=4344) see that forum thread for more details:


Whilst Cumulus does not use the station date and time fields when reading a Fine Offset weather station via USB; when reading easyweather.dat (or equivalent format input), Cumulus does read the date and time fields, and checks that they have changed before using new data from the file.
Whilst Cumulus does not use the station date and time fields when reading a Fine Offset weather station via USB; when reading easyweather.dat (or equivalent format input), Cumulus does read the date and time fields, and checks that they have changed before using new data from the file.
5,838

edits