WXforum.net

Weather Related Organizations => PWSweather / AerisWeather / WeatherForYou => Topic started by: wristshot on January 03, 2014, 05:41:49 PM

Title: How to get data format for PWSWeather
Post by: wristshot on January 03, 2014, 05:41:49 PM
Hello, everyone.

I am using weather software (WeatherSnoop for Mac) that does not offer the option of sending data to PWSWeather. I presume, however, that it is possible to write a script that parses the XML or JSON files produced by WeatherSnoop and assembles it into a format that PWSWeather understands. Although I am a total coding klutz, I did manage to do this for Twitter -- check out @WabanWX for regular auto-tweets from my station -- so I imagine that in the remaining years of my life I might get this to work for PWSWeather as well.

But I haven't been able to figure out the right data format. I do understand from googling that it's an HTTP GET request, but can someone provide the full architecture of the request or point me to a source for this info?

I should say I already have an account on PWSWeather and regularly submitted data when I was running different software.

Thanks!

m
Title: Re: How to get data format for PWSWeather
Post by: SlowModem on January 03, 2014, 06:58:28 PM
Have you considered contacting PWS Weather to see what they recommend?  Weatherforyou (http://www.wxforum.net/index.php?action=profile;u=97) is a member of this forum and moderates a thread on Weatherforyou/PWS Weather (http://www.wxforum.net/index.php?board=91.0).  Perhaps he could be of help to you.  Good luck!  :)
Title: Re: How to get data format for PWSWeather
Post by: weatherforyou on January 04, 2014, 11:32:36 AM
If you submit a support request at http://www.pwsweather.com/support.php I'll send over a sample of the string that is sent.
Title: Re: How to get data format for PWSWeather
Post by: wristshot on January 04, 2014, 11:43:06 AM
Terrific. Will do. Thanks!

m
Title: Re: How to get data format for PWSWeather
Post by: wristshot on January 11, 2014, 01:38:25 PM
Thanks for the help. I did get this to work. The results can be seen at http://www.pwsweather.com/obs/WABANWX.html .

I posted the code to the WeatherSnoop forum here: http://www.weathersnoop.com/forums/viewtopic.php?f=11&t=546&sid=2917a2e11f74914a304a43a40cd7ccfe

If anyone has any questions about the code and how to use it, I am happy to help -- if I can.