Need help....

Thank Ken. Did all that and got some improvements…but now I get a message that testtags.txt is not there…

Ken, I think I forgot to do this…
Copy testtags.txt file from the distribution WXtags-template-files/ directory to your c:\wdisplay\webfiles directory

Now seems to be OK…

Now only the satellites pages on home page and radar…

I follow the script instructions but cant seem to get the map…

P

For the basic radar and home-page images, edit Settings.php and change

// Radar settings
$SITE['noaaradar']        = 'MUX';           // LAST 3 characters of NOAA Radar Site ID
                                        // e.g. Radar KMUX has $SITE['noaaradar'] = 'MUX';
$SITE['WUregion']    = 'sw';                // Wunderground regional maps
// 'sw'=SouthWest, 'nw'=NorthWest, 'mw'=Midwest
// 'sp'=South Central, 'ne'=North East, 'se'=South East

to

// Radar settings
$SITE['noaaradar']        = 'RTX';           // LAST 3 characters of NOAA Radar Site ID
                                        // e.g. Radar KMUX has $SITE['noaaradar'] = 'MUX';
$SITE['WUregion']    = 'nw';                // Wunderground regional maps
// 'sw'=SouthWest, 'nw'=NorthWest, 'mw'=Midwest
// 'sp'=South Central, 'ne'=North East, 'se'=South East

I see you’ve changed your NWS forecast/alerts settings to

$SITE['NWSforecasts']   = array( // for the advforecast2.php V3.xx version script
// use "Zone|Location|Point-printableURL",  as entries .. first one will be the default forecast.
  "ORC051|Portland|https://forecast.weather.gov/MapClick.php?lat=45.534&lon=-122.8189&unit=0&lg=english&FcstType=text&TextType=2",
"ORC067|Cedar Hills|https://forecast.weather.gov/MapClick.php?lat=45.4847&lon=-122.796&unit=0&lg=english&FcstType=text&TextType=2",
);

// Uncomment the two lines below to use WXSIM as the ONLY forecast script to use
// $SITE['fcstscript']    = 'plaintext-parser.php';    // WXSIM forecast (if only forecast script)
// $SITE['fcstorg']        = 'WXSIM';    // set to 'WXSIM' for WXSIM forecast

// NOAA warning zone
$SITE['noaazone']         = 'ORC067'; // used for NOAA advisories and advforecast2.php zone forecasts
$SITE['hurlURL']        = "wxadvisory.php"; // page to launch for details on NOAA advisories
// 

// NWS Alerts package configuration (for Curly's nws-alerts scripts)
// "Location|ZoneCode|CountyCode[|CountyCode]..."
// Note: if more than 4 zone/county codes are used, a message will appear if you are NOT using
//    cron to provide updates.
// Note: additional/optional nws-alerts configuration is in nws-alerts-config.php file
$SITE['NWSalertsCodes'] = array(
  "Santa Clara Valley|CAZ513|CAC085",
//  "Santa Cruz Mtns|CAZ512|CAC081|CAC085|CAC087",
  "Santa Cruz|CAZ529|CAC087",
//  "Monterey|CAZ530|CAC053",
//  "South/East Bay|CAZ508|CAC081",
//  "San Mateo Coast|CAZ509|CAC081",
//  "San Francisco|CAZ006|CAC075"
);

For forecasts, you need to use the Forecast Zone code, not the County Code. Both the Forecast Zone and County Zone should appear in the NWSalerts area however.

I suggest you replace the above with

$SITE['NWSforecasts']   = array( // for the advforecast2.php V3.xx version script
// use "Zone|Location|Point-printableURL",  as entries .. first one will be the default forecast.
  "ORZ006|Portland|https://forecast.weather.gov/MapClick.php?lat=45.534&lon=-122.8189&unit=0&lg=english&FcstType=text&TextType=2",
"ORZ006|Cedar Hills|https://forecast.weather.gov/MapClick.php?lat=45.4847&lon=-122.796&unit=0&lg=english&FcstType=text&TextType=2",
);

// Uncomment the two lines below to use WXSIM as the ONLY forecast script to use
// $SITE['fcstscript']    = 'plaintext-parser.php';    // WXSIM forecast (if only forecast script)
// $SITE['fcstorg']        = 'WXSIM';    // set to 'WXSIM' for WXSIM forecast

// NOAA warning zone
$SITE['noaazone']         = 'ORZ006'; // used for NOAA advisories and advforecast2.php zone forecasts
$SITE['hurlURL']        = "wxadvisory.php"; // page to launch for details on NOAA advisories
// 

// NWS Alerts package configuration (for Curly's nws-alerts scripts)
// "Location|ZoneCode|CountyCode[|CountyCode]..."
// Note: if more than 4 zone/county codes are used, a message will appear if you are NOT using
//    cron to provide updates.
// Note: additional/optional nws-alerts configuration is in nws-alerts-config.php file
$SITE['NWSalertsCodes'] = array(
  "Portland|ORZ006|ORC067",
//  "Santa Cruz Mtns|CAZ512|CAC081|CAC085|CAC087",
//  "Santa Cruz|CAZ529|CAC087",
//  "Monterey|CAZ530|CAC053",
//  "South/East Bay|CAZ508|CAC081",
//  "San Mateo Coast|CAZ509|CAC081",
//  "San Francisco|CAZ006|CAC075"
);

and that should correct both issues.

Amazing Ken! THANK YOU!
Do you know why some time format is am/pm and some in 00:00:00?

Lastly where can I find the script that will allow for changing between imperial and metric systems?

Thanks,
Paolo

The time will display based on whatever setting you have in Weather-Display for the realtime updates … use WD, Control Panel, Units/Other Settings, Precision/Time/Date/Cloud Height TAB to change the basic time format.
Only Tick ONE of ‘use 24 hour time’ OR ‘use AM/PM’ as you prefer.

The imperial/metric switching script is the Burnsville alternative dashboard set of scripts – you can get it from here use the Alt-Dashboard 6.95c Script for a new install.

Note that it is a legacy script – Scott no longer supports it and I offer the download as-is. It is also somewhat difficult to set up and requires you read the docs to make the additional settings required.

Thanks Ken. Changed the time.

Also, the second map on the home page is from Feb 18th…did you notice that? I think I will change it to a different map…maybe the same as you as we are expecting lighting here tomorrow which is unusual for Oregon.

Thanks,
P

A lot of the WU maps are stuck on Feb 18. That is a WU problem (no surprise).

The old WU satellite maps are stuck.

You can change your index.php from

    <img src="https://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_vi_anim.gif" alt="Regional Infrared Satellite"  
      width="320" height="240" style="margin: 0px; padding: 0px; border: none" />

to

    <img src="https://s.w-x.co/staticmaps/wu/wu/satir1200_cur/usa<?php echo $SITE['WUregion']; ?>/animate.png" alt="Regional Infrared Satellite"  
      width="320" height="240" style="margin: 0px; padding: 0px; border: none" />

to get the animated NorthWest infrared satellite image.

Thanks Ken.

I looked at your website…but cant seem to find the scripts for stickers that people use to show weather conditions on other websites as well as in their signatures…
Can you please point me in the right direction?

Thanks,
P

https://saratoga-weather.org/scripts-legacy.php#anole

Hi All,

I now have WXSIM working, but cant find anywhere how to upload to my Saratoga template website.
Do I use WD to do this? or is there another way.

I do have the plaintext text and php file on my website…

Please let me know where I am going wrong.

Thanks,
Paolo

Set WD to upload plaintext.txt
then be sure to set path to plaintext.txt in your template . see Saratoga-Weather.org - Scripts - WXSIM display utility

where do I set WD to download that?

Control Panel->FTP&Connections->General FTP Functions

Got it!
Thank you!

OK…next challenge…
I managed to set my GR3 to send information to my ftp.
I am struggling to understand how to add an additional page under the radar menu…
Please help.
Thanks,
P

I’m not sure I understand what you are trying to do. Do you mean add another link below “radar” in the menu?

Yes indeed…a new page under radar…that will show gr3 radar

Do you have the file (php file) that will display it?

Look here: Saratoga-Weather.org - Website Templates - AJAX/PHP - menu configuration