Author Topic: Generate your own METAR placefile for GRLevelX  (Read 2201 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Generate your own METAR placefile for GRLevelX
« on: July 01, 2023, 07:12:20 PM »
I've been working with Mike Davis of NWS Nashville to develop a fast/low overhead placefile generator, and we've wrapped up the project.  The data comes from 2 files hosted on https://aviationweather.gov/ and a placefile generator to be used in a GRLevelX placefile manager window.

Sample display:

 [ You are not allowed to view attachments ]

The scripts run on your personal weather website and do require two cron jobs: a daily one to get the metadata, and a every 10 minute one for the data.  The placefile generator script uses the data gathered by the two scripts to produce a rich display with mouse-over details for METARs within 300 miles of your current radar site.

See the instructions, and download from https://github.com/ktrue/metar-placefile

Enjoy!

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Russell797

  • Senior Member
  • **
  • Posts: 81
    • Lowell Highlands Weather
Re: Generate your own METAR placefile for GRLevelX
« Reply #1 on: November 06, 2023, 11:31:09 AM »
I tried this on my site. Great idea, but the output is way, way to cluttered to be of use in New England. To many METAR sites and the output METAR graphics are too large.

I use the Red Team Weather placefiles, just the temperature rather than the full METAR. That works for me, but I would like to generate my own of course.

http://lowellhighlandsweather.duckdns.org/kbox_br1_0.jpg

Picture the new script output in the place of what you see there.
Lowell Highlands Current Weather Conditions


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Generate your own METAR placefile for GRLevelX
« Reply #2 on: November 06, 2023, 12:04:21 PM »
Since I open-sourced the code on GitHub, you are free to make a copy and modify it to your needs.
You can comment-out parts of the code where extra things (like dewpoint, wind barb, gust barb, visibility, heat-index/wind-chill are displayed) and just leave the condition icon and temperature for display on your GRLevel3 display.  Leaving the condition icon would still allow you to mouse-over it to show the popup with the full conditions display.

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Russell797

  • Senior Member
  • **
  • Posts: 81
    • Lowell Highlands Weather
Re: Generate your own METAR placefile for GRLevelX
« Reply #3 on: November 06, 2023, 12:10:14 PM »
Good news! I'll give it a go.
Thanks

Done! Success
« Last Edit: November 07, 2023, 08:00:50 AM by Russell797 »
Lowell Highlands Current Weather Conditions