Author Topic: NOAA Reports  (Read 420 times)

0 Members and 1 Guest are viewing this topic.

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1223
  • BismarckWeather.net
    • BismarckWeather.net
NOAA Reports
« on: July 04, 2019, 11:18:49 AM »
I'm running both Cumulus MX and Weather Display side by side.  Sometimes I like to flip back and forth.  But when I switch to WD, my NOAA reports page doesn't load.  I changed the flyout menu file so that it shows up when I run WD.  But when I go to the link, I get "NOAA-style climate reports not available."

Is there a trick to force it to always use my Cumulus NOAA reports page?
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8884
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Reports
« Reply #1 on: July 04, 2019, 12:41:52 PM »
The wxnoaareports.php page takes it's cue for what to do from the Cumulus Settings-weather.php setting -- when your're running with WD Settings-weather.php, the Cumulus settings are not available to the script.

You can likely 'fake it out' by including the contents of the Cumulus Settings-weather.php into the wxnoaareports.php page before the include("include-NOAA-reports.php"); is done.

Specifically, you'll need
Code: [Select]
$SITE['NOAAdir']        = './Reports/';   // relative location of the NOAA report files
$SITE['WXsoftware']     = 'CU';
to force the script to find your NOAA reports and process them.
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 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1223
  • BismarckWeather.net
    • BismarckWeather.net
Re: NOAA Reports
« Reply #2 on: July 04, 2019, 04:55:32 PM »
Got it to work.  I had to stick it right after the showGizmo line to make it work.

Thanks.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

 

anything