Author Topic: How to get data format for PWSWeather  (Read 2465 times)

0 Members and 1 Guest are viewing this topic.

Offline wristshot

  • Member
  • *
  • Posts: 8
How to get data format for PWSWeather
« 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

Offline SlowModem

  • Weather at the speed of dialup!
  • Forecaster
  • *****
  • Posts: 6492
  • WX @ 26.4 kbs
Re: How to get data format for PWSWeather
« Reply #1 on: January 03, 2014, 06:58:28 PM »
Have you considered contacting PWS Weather to see what they recommend?  Weatherforyou is a member of this forum and moderates a thread on Weatherforyou/PWS Weather.  Perhaps he could be of help to you.  Good luck!  :)
« Last Edit: January 03, 2014, 07:06:26 PM by SlowModem »
Greg Whitehead
Ten Mile, TN USA


Offline weatherforyou

  • Moderator
  • Forecaster
  • *****
  • Posts: 494
  • My weather is on WeatherForYou.com. Is yours?
    • http://www.weatherforyou.com
Re: How to get data format for PWSWeather
« Reply #2 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.
Joe Torsitano


Offline wristshot

  • Member
  • *
  • Posts: 8
Re: How to get data format for PWSWeather
« Reply #3 on: January 04, 2014, 11:43:06 AM »
Terrific. Will do. Thanks!

m

Offline wristshot

  • Member
  • *
  • Posts: 8
Re: How to get data format for PWSWeather
« Reply #4 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.
« Last Edit: January 11, 2014, 01:48:23 PM by wristshot »

 

anything