Recent Posts

Pages: [1] 2 3 ... 10
1
WeatherCat General Discussion / Re: FTP Failure
« Last post by wx-watch on Today at 08:34:13 AM »
Ok - so Plan B is this!

Now I know WeatherCat uses Curl to upload the data -

If/when it happens again I will test Curl manually by uploading data to my weather site. If it works it is a WeatherCat problem and I will report back, if it fails it is a Mojave problem and I will use a scheduled reboot.

I have just tested a scheduled reboot and it works fine with the ďWeatherCat Preferences | Advanced | Quit Check" option checked (i.e. set to on)
2
New Member Introductions / Re: Hello from Thurrock Weather!
« Last post by PhilC on Today at 08:04:32 AM »
Many thanks for the warm welcome and the assistance! The weather software is picking up the forecast off the station.  Iíll take a look into the NWS and see if I can use that.
Thanks again
Phil
3
Edouard,

Thank you for the additional information, to confirm whether or not WeatherCat has an importer for LWC data, I did the following:

In my 10.6 virtual box that I used for testing LWC, I installed version 1.0.2 of WeatherCat, I had to use an old version that supported 10.6. When I ran WeatherCat the first time, it prompted to import the LWC data, and it did so very quickly.

I only confirmed this worked in WeatherCat 1.0.2, don't know if it works in version 2 or 3, but the newer versions may still retain the LWC data import.


If anyone wanting to import converted WeatherLink data from LWC, and it was done on a different Mac than the one they have WeatherCat installed, or ran LWC in a virtual box like I did, try the following:

Copy the Location1 folder the LWC importer creates in /Users/(username)/Library/LWCData/

On the Mac that has WeatherCat installed, exit WeatherCat if it is running.

Go to /Users/(username)/Library/ create a LWCData folder and paste the Location1 folder.

Run WeatherCat, it should detect and prompt if you would like to import the data, tell it to do so, it will import and complete the startup process.


If WeatherCat version 2 or 3 does not detect and do the import, then the script in my previous post can be used to edit the LWC data to use in WeatherCat.


Cheers, Dave  [cheers1]
4
New Member Introductions / Welcome! (Re: Hello from Thurrock Weather!)
« Last post by elagache on Yesterday at 11:57:58 PM »
Dear Phil, Dave, and WeatherCat welcome wagon, . . . . .

Hi all! Thanks for having me here!

By all means let me welcome you Phil to the WeatherCat forum!

Iíve been running a weather station for my local community since 2011 and until recently I was using a windows pc to do that until it gave up the ghost.  Iím now using an iMac along with WeatherCat.  I use an Oregon WMR88
A quick question,  I use Twitter to broadcast to my followers and I was originally using Cumulous but cannot get the Mac version, hence why Iím using WeatherCat. Is there a way to include a forecast to my tweet? Iíve seen some of the coding but itís new to me so unsure of what to do.

Dave has given you some of the information that you need.  As Dave asks, does WeatherCat appear to be downloading the WMR88 forecasts?  If it does there is potentially one other way to get access to this information which is the AppleScripts I wrote some years ago:

http://athena.trixology.com/index.php?topic=1039.0

Unfortunately, I have been unable thus far to make them work with the security upgrades in macOS Mojave.  So at the moment that isn't an option.

If you can get access to another forecast (such as the National Weather Service) you might be able to automate a process that would send that on your twitter account.  That might be easier to do.

Once more welcome and do let us know if we can be of more help.

Cheers, Edouard  [cheers1]
5
Dear Dave and WeatherCat troubleshooters,

Also, I noticed in the WeatherCat data files that there are line numbers. The LWC data importer does not add line numbers, I don't know if WeatherCat will add the line numbers. A typical data file will have a little over 44,000 lines of data if WeatherLink was archiving every minute.

I wrote this script to run in Automator that will quickly edit the header, add line numbers and rename the files, making them ready to use in WeatherCat. In my tests the script took just a little over 2 seconds to complete.

. . . .

Thanks for taking the time to do this!  [tup]  It may not be necessary because I think WeatherCat retains an importer for LWC data, so LWC files are correctly converted.  Still, anything to facilitate the process is definitely appreciated!

Cheers, Edouard  [cheers1]

P.S. Your cautions are well warranted.  Never use your only copy of data for conversions like this.
6
New Member Introductions / Re: Hello from Thurrock Weather!
« Last post by Dave13 on Yesterday at 10:59:41 PM »
Hi Phil!

Welcome to the forum and WeatherCat, you'll find it is very stable and easy to use software for your weather station.

The only forecast function WeatherCat currently has is the ability to email or tweet forecast data that is generated by supported weather station hardware. It does not download it from an outside source, such as the National Weather Service.

The WeatherCat manual is available here: http://data.trixology.com/downloads/WeatherCatUserManual.pdf
Page 125 describes the email forecasts capability, unfortunately it doesn't show your station is compatible.

Hope this helps.
7
In my previous post I explained how to use the LWC software to convert data from WeatherLink, then how to edit and rename these files to use in WeatherCat. If you have several years worth of data, the file editing and renaming can take some time.

Also, I noticed in the WeatherCat data files that there are line numbers. The LWC data importer does not add line numbers, I don't know if WeatherCat will add the line numbers. A typical data file will have a little over 44,000 lines of data if WeatherLink was archiving every minute.

I wrote this script to run in Automator that will quickly edit the header, add line numbers and rename the files, making them ready to use in WeatherCat. In my tests the script took just a little over 2 seconds to complete.

*** I make no guarantees on whether or not this will work for you, I suggest you use copies of your converted data in case something goes wrong. ***

Download the two text files attached to this post and save them to your Desktop.

Create a folder named WX on the Desktop.

Copy all of the folders created by the LWC importer in /Users/(username)/Library/LWCData/Location1/ to the WX folder. There will be a folder for each year of data that was imported from WeatherLink.

Copy the wxcat-header.txt file attached to this post and paste it into each of the folders you copied into the WX folder.

Open the Automator app, choose Application in the document type list. Under Library section, choose Utilities, in the list to the right, double-click on Run Shell Script. Copy/Paste the contents of the WxLink-to-WxCat_script.txt file attached to this post into the Run Shell Script box.

Your automator app should look like the following:


On the first line of the script, change the year, which is the last directory of the file path, to the first year folder you have of converted data, currently it is set to 2010, so we'll use that in this scenario.

Click run in the top right corner of Automator. The script will edit the header, add line numbers and rename each of the files. Then it will discard the temporary files it created to do the work. Automator will beep when it is finished, all of the data in the 2010 folder will be ready to add to WeatherCat.

Change the year on the first line of the script to the next year, in this scenario, change it to 2011 and run the script. Repeat this for every year (folder) you have imported data from WeatherLink.

The script has 3 commands that repeat 12 times, one for each month. If you have a folder that does not have data for all 12 months, the script will create a 1KB sized file(s) for that month that contains only the header, delete those 1KB file(s).

Now you should have all of your imported WeatherLink data ready to use in WeatherCat.


Here is an explanation of what each line of the script does:

cd ~/Desktop/WX/2010
This sets the directory the rest of the script will run in. The last directory in the file path will be changed and the script ran again for each year (folder) of data to edit.

sed '1,10d' 1_LWC_Data.lw2 > 1_LWC_Data-1.lw2
This removes the LWC header and saves the edited data to a temporary file to use for the next step.

awk '{ print NR" "$0 }' 1_LWC_Data-1.lw2 > 1_LWC_Data-2.lw2
This adds line numbers and saves the edited data to a temporary file to use for the next step.

cat wxcat-header.txt 12_LWC_Data-2.lw2 > temp.txt && mv temp.txt 12_WeatherCat.cat
This inserts the WeatherCat header and saves the edited data to the file that will be used in WeatherCat.

rm *.lw2
rm *.txt
These two commands remove all the temp files used to do the editing.


I hope this helps for anyone wishing to import their WeatherLink data into WeatherCat.
8
New Member Introductions / Hello from Thurrock Weather!
« Last post by PhilC on Yesterday at 11:56:40 AM »
Hi all! Thanks for having me here! Iíve been running a weather station for my local community since 2011 and until recently I was using a windows pc to do that until it gave up the ghost.  Iím now using an iMac along with WeatherCat.  I use an Oregon WMR88
A quick question,  I use Twitter to broadcast to my followers and I was originally using Cumulous but cannot get the Mac version, hence why Iím using WeatherCat. Is there a way to include a forecast to my tweet? Iíve seen some of the coding but itís new to me so unsure of what to do.
Thanks in advance!
Phil
9
Hi Edouard,

I looked at the manual for the serial data logger on the Davis website, it does support the Vantage Vue:
https://www.davisinstruments.com/product_documents/weather/manuals/07395-210_GSG_06510_6555.pdf

From reading Chet's post, it sounds like he had his station working in WeatherCat with a serial data logger until the hard drive failed. If none of the options work that I suggested in my last post, then he would be better off to get a USB data logger.

Cheers, Dave [cheers1]
10
Dear Chet, Dave, and WeatherCat troubleshooters,

Thanks Dave once more for providing a very thorough list of suggestions.  I can only add a question.

I am reinstalling on iMac after a hard disk failure. I must use the serial to usb adaptor for my Vantage Vue.

Why must you use a serial data logger in your Vantage Vue?  Davis switched to USB data loggers many years ago and the Vue is even more recent than that switch.  I didn't think there were any serial data loggers that would work with the Vantage Vue.

Please do let us know how you are progressing and when you get your Mac successfully communicating with your weather station once more.

Cheers, Edouard  [cheers1]
Pages: [1] 2 3 ... 10