Author Topic: WeatherUnderground to GRLevelX  (Read 1368 times)

0 Members and 1 Guest are viewing this topic.

Offline StormChaserOH

  • President/Storm Chaser
  • Member
  • *
  • Posts: 22
  • SCSCC Logo
    • Scioto County Storm Chaser Center
WeatherUnderground to GRLevelX
« on: October 12, 2021, 09:01:05 AM »
Does anyone know how to write scripts that will pull temperature data from WeatherUnderground for a Placefile for GRLEvelX?
Gregory Syroney

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1013
    • Southern Maryland Weather
Re: WeatherUnderground to GRLevelX
« Reply #1 on: October 13, 2021, 06:45:06 PM »
Such placefiles already exists across the web....

Offline StormChaserOH

  • President/Storm Chaser
  • Member
  • *
  • Posts: 22
  • SCSCC Logo
    • Scioto County Storm Chaser Center
Re: WeatherUnderground to GRLevelX
« Reply #2 on: October 13, 2021, 07:44:30 PM »
I want to make my own for just the areas that I cover. That is why I want to make one.
Gregory Syroney

Offline sacreyweather

  • Forecaster
  • *****
  • Posts: 1820
    • Maumelle Weather
Re: WeatherUnderground to GRLevelX
« Reply #3 on: December 10, 2021, 12:03:19 PM »
As Jim says, there are placefiles that already exist, and even if you could get that info from WU, they most likely have it patented or its equivalent.

http://www.redteamwx.com/grlevelx.html - Donationware site that has such placefiles available, as does Allisonhouse (requires a subscription).

Writing the script is the easy part, getting access to said data is the difficult and expensive part, as you would need access to a NOAAPort system to get said data.


John
GR2AE, GR3, Cumulus

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 497
    • Tyler Texas Weather
Re: WeatherUnderground to GRLevelX
« Reply #4 on: December 10, 2021, 02:25:01 PM »
I want to make my own for just the areas that I cover. That is why I want to make one.
You'll first need to obtain an API key in order to get the data from WU. Then you can write a script using the WU API and get data from as many of the WU sites you want. You'll want to save the results in a file so you can stay within WU's API call limit. Finally, you can create a placefile that pulls the data from the file you save and display it on your GRLevelX map.

I've actually done this and it's not difficult if you're able to write PHP scripts.

Steve

Offline StormChaserOH

  • President/Storm Chaser
  • Member
  • *
  • Posts: 22
  • SCSCC Logo
    • Scioto County Storm Chaser Center
Re: WeatherUnderground to GRLevelX
« Reply #5 on: December 10, 2021, 02:40:11 PM »
I don't know how to write the php script.
Gregory Syroney

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 497
    • Tyler Texas Weather
Re: WeatherUnderground to GRLevelX
« Reply #6 on: December 10, 2021, 02:47:36 PM »
Here's a good place to start learning about writing a WU API script: https://github.com/initialstate/wunderground-sensehat/wiki/Part-1.-How-to-Use-the-Wunderground-API

Steve

Offline StormChaserOH

  • President/Storm Chaser
  • Member
  • *
  • Posts: 22
  • SCSCC Logo
    • Scioto County Storm Chaser Center
Re: WeatherUnderground to GRLevelX
« Reply #7 on: December 10, 2021, 02:55:53 PM »
That doesn't help me out much since I don't know how to write the php script for GRLevelX to use WU API.
Gregory Syroney

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 497
    • Tyler Texas Weather
Re: WeatherUnderground to GRLevelX
« Reply #8 on: December 10, 2021, 02:59:26 PM »
Do you have a WU API key?

Offline StormChaserOH

  • President/Storm Chaser
  • Member
  • *
  • Posts: 22
  • SCSCC Logo
    • Scioto County Storm Chaser Center
Re: WeatherUnderground to GRLevelX
« Reply #9 on: December 10, 2021, 03:06:22 PM »
Yes, I have a WU API Key.
Gregory Syroney

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 497
    • Tyler Texas Weather
Re: WeatherUnderground to GRLevelX
« Reply #10 on: December 10, 2021, 05:30:40 PM »
I've sent you PM.

Steve