FAQ: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m (Updated link)
m (→‎I’ve just installed Cumulus, and it didn’t download all the old data from my weather station: Converted to numbered steps, updated links to other pages as text has moved from original location)
Line 634: Line 634:
== I’ve just installed Cumulus, and it didn’t download all the old data from my weather station  ==
== I’ve just installed Cumulus, and it didn’t download all the old data from my weather station  ==


Cumulus deliberately doesn’t attempt to download any data from before the point when you first run it. If you wish, although this isn't recommended, you can force it to download data from any point by editing the ‘Timestamp’ line in the [[today.ini]] file (in the data folder), before starting it (you will need to have run it at least once previously). Note that if you do this, it is at your own risk, and you will need to sort out any issues which may arise yourself.
''Cumulus deliberately doesn’t attempt to download any data from before the point when you first run it.''
 
{{Version badge 1}} If you wish, although this isn't recommended:
# Ensure you have run Cumulus at least once, then stop Cumulus
# Edit [[today.ini]] (in the data folder), look for the ‘Timestamp’ line, then carefully sticking to exactly the same format as is currently in the file, change the date and time to your earliest available data in your weather station logger (or just before if you don't know exact time)
# Optionally, if you have '''only just started''' using Cumulus, so you have nothing useful to lose, you could delete all of the ''other'' files in the data folder, and delete all lines in the "today.ini" other than those shown in the extract below (with dates modified appropriately).
# Now restart Cumulus
#* if you did step 3, processing will start again with just the data from the station's logger.
#* if you have existing files in [[data folder]] when you restart, you will probably need to edit your log files in the '''data''' folder as you may have duplicate entries and/or entries out of order. Your rain totals will almost certainly also be wrong - the total for "today" in particular. See the [[FAQ#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |FAQ]] entry about correcting rainfall data.  
# Note that if you do this, it is at your own risk, and you will need to sort out any issues which may arise yourself.


If you do this, you will probably need to edit your log files in the '''data''' folder as you may have duplicate entries and/or entries out of order. Your rain totals will almost certainly also be wrong - the total for "today" in particular. See the [[FAQ#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |FAQ]] entry about correcting rainfall data. If you have only just started using Cumulus, you could delete all of the files in the data folder, and just create a simple today.ini as below. Then when you start Cumulus, processing will start again with just the data from the station's logger.


Note that this method does not work for the Oregon WMR200 station. This station deletes logger entries when they are downloaded, and there is no mechanism for retrieving logger entries for a particular period - it just sends all the entries that it has. {{Version badge 1}}You may be able to circumvent this by creating a today.ini file in the data folder before you run Cumulus 1, with just this in it:
<pre>
<pre>
[General]
[General]
Line 647: Line 654:
CurrentDay=10
CurrentDay=10
</pre>
</pre>
For more information see '[[today.ini]]'.


Change the dates and time to match the point from which you want Cumulus to start downloading data. If the station has already sent the data, this may not work, unfortunately.
Note that this method does not work for the Oregon WMR200 station types because this station deletes logger entries when they are downloaded, and there is no mechanism for retrieving logger entries for a particular period - it just sends all the entries that it has. You may be able to circumvent this by missing out step 1 above, and before you run Cumulus 1 for the first time, creating a [[today.ini]] file in the [[data folder]], with just the items shown above in the file. Change the dates and time to match the point from which you want Cumulus to start downloading data. If the station has already sent the data, this may not work, unfortunately.  
 
 


If you stored data from your weather station (on another file-based system) before you first ran Cumulus, then you may be able to (using a text editor outside Cumulus) generate [[Monthly log files]] for the pre-Cumulus period.  See that Wiki article for more information on what you can then do with those files within Cumulus.
If you stored data from your weather station (on another file-based system) before you first ran Cumulus, then you may be able to (using a text editor outside Cumulus) generate [[Standard_log_files#Importing_pre-Cumulus_data|standard logging files]] for the pre-Cumulus period.  See [[Calculate Missing Values|elsewhere in this Wiki]] for more information on what you can then do with those files within Cumulus.


== I have inserted pre-Cumulus data and now I get errors ==
== I have inserted pre-Cumulus data and now I get errors ==