How to force WeatherCat to submit historical data

From WeatherCat Wiki (Mahler)
(Difference between revisions)
Jump to: navigation, search
(Procedure to force WeatherCat to upload all available data between a date and time you select and now to Weather Underground.)
 
m
 
Line 1: Line 1:
'''Forcing WeatherCat to submit historical data to Weather Underground'''
 
  
 
Under normal circumstances, WeatherCat keeps track of the last time it submitted data to Weather Underground.  So if your station is unable to submit data (say due to an Internet service failure) WeatherCat will automatically submit historical data from the last time it successfully uploaded to ''Wunderground''.  Unfortunately, there may be cases when your system is unable to do this automatically (for example if your file system becomes damaged.)  In such cases you can submit whatever data is in your WeatherCat database by the following procedure:
 
Under normal circumstances, WeatherCat keeps track of the last time it submitted data to Weather Underground.  So if your station is unable to submit data (say due to an Internet service failure) WeatherCat will automatically submit historical data from the last time it successfully uploaded to ''Wunderground''.  Unfortunately, there may be cases when your system is unable to do this automatically (for example if your file system becomes damaged.)  In such cases you can submit whatever data is in your WeatherCat database by the following procedure:

Latest revision as of 20:52, 25 May 2012

Under normal circumstances, WeatherCat keeps track of the last time it submitted data to Weather Underground. So if your station is unable to submit data (say due to an Internet service failure) WeatherCat will automatically submit historical data from the last time it successfully uploaded to Wunderground. Unfortunately, there may be cases when your system is unable to do this automatically (for example if your file system becomes damaged.) In such cases you can submit whatever data is in your WeatherCat database by the following procedure:

1. Determine the date and time you wish to start submitting historical data. From this information you'll need to convert the date and time into the number of seconds since Jan 1, 1970 (so called UNIX time:) You can do this using the following online converter: Convert a Date/Time to a Unix timestamp. Record the number of seconds so that you can enter it into a file later (could be stored on your clipboard.)

2. Shutdown WeatherCat and edit the following file using a text editor like TextEdit or TextWangler:

~/Library/Application Support/WeatherCatTemp/WeatherCatLastWundergroundUpload.plist

The file will look like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>lastUploadTime</key>
	<real>1337458816</real>
</dict>
</plist>


3. Using your text editor, replace the number between <real> and </real> with the number you obtained from the UNIX time converter.

4. When you restart WeatherCat, it will then proceed to upload all available data in between the time you have selected and the present time.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools