Author Topic: Update USA-regional-maps-inc.php V1.01 for changes in radar.weather.gov  (Read 5143 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Update USA-regional-maps-inc.php V1.01 for changes in radar.weather.gov
« Reply #50 on: April 06, 2021, 10:56:11 AM »
I’m working on an update to use the /ridge/lite/ images.  Hopefully release today.
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 ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: Update USA-regional-maps-inc.php V1.01 for changes in radar.weather.gov
« Reply #51 on: April 06, 2021, 11:02:25 AM »
Thanks  :grin:
Randy

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Update USA-regional-maps-inc.php V1.01 for changes in radar.weather.gov
« Reply #52 on: April 06, 2021, 02:08:23 PM »
The update to USA-regional-maps-inc.php V1.03 is now available.  If your Settings.php uses

Code: [Select]
$SITE['NWSregion'] = 'sw'; // NOAA/NWS regional radar maps
// 'ak' = Alaska,
// 'nw' = Northwest, 'nr' = Northern Rockies, 'nm' = North Mississippi Valley,
// 'nc' = Central Great Lakes,  'ne' = Northeast,
// 'hi' = Hawaii,
// 'sw' = Southwest, 'sr' = Southern Rockies, 'sc' = Southern Plains,
// 'sm' = South Mississippi Valley, 'se' = Southeast
and one of the listed entries above, then the regional radar will be displayed from radar.weather.gov/ridge/lite/ (and load faster),
If you used one of the optional ones
Code: [Select]
'us' => 'Contiguous US|useradar',
'lws' => 'LWS: Lewiston, ID sector|useradar',
'wmc' => 'WMC: Winnemucca, NV sector|useradar',
'las' => 'LAS: Las Vegas, NV sector|useradar',
'cod' => 'COD: Cody, WY sector|useradar',
'den' => 'DEN: Denver, CO sector|useradar',
'abq' => 'ABQ: Albuquerque, NM sector|useradar',
'pir' => 'PIR: Pierre, SD sector|useradar',
'ict' => 'ICT: Wichita, KS sector|useradar',
'aus' => 'AUS: Austin, TX sector|useradar',
'msp' => 'MSP: Minneapolis, MN sector|useradar',
'dtw' => 'DTW: Detroit, MI sector|useradar',
'evv' => 'EVV: Evansville, IN sector|useradar',
'lit' => 'LIT: Little Rock, AR sector|useradar',
'alb' => 'ALB: Albany, NY sector|useradar',
'bwi' => 'BWI: Baltimore, MD sector|useradar',
'clt' => 'CLT: Charlotte, NC sector|useradar',
'mgm' => 'MGM: Mongomery, AL sector|useradar',
'tpa' => 'TPA: Tampa, FL sector|useradar',
then those images will be produced by NWS-regional-radar-animate.php script and may take 2-6 seconds to load that image instead.

Also included is a rework of Jerry's wxnwsradar* script set to use radar.weather.gov/ridge/lite/ radar images with HAniS animation.
My thanks to Jerry for letting me hack away at his script to repurpose his original script to use the new images instead.
For AK, HI, Guam, Puerto Rico radars as defaults, in Settings.php set $SITE['noaaradar'] to the 4 character Pxxx/Txxx radar id, otherwise
continue to use the last 3 characters of Kxxx radar ids.


Use the Saratoga template update tool  with query for Base-USA, Plugin-*, 06-Apr-2021
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