cloudy cloudy

Author Topic: Need help....  (Read 1174 times)

0 Members and 1 Guest are viewing this topic.

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #15 on: June 24, 2019, 03:20:26 AM »
Do you have all 3 icon sets (bottom of this page https://saratoga-weather.org/scripts-carterlake.php#advforecast ) ?

you mean bottom 3 scripts?

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,126
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
Re: Need help....
« Reply #16 on: June 24, 2019, 03:21:29 AM »
Let's back up a bit. How many images do you have in the /images folder ?

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #17 on: June 24, 2019, 03:23:54 AM »
Let's back up a bit. How many images do you have in the /images folder ?

509 images

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,126
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
Re: Need help....
« Reply #18 on: June 24, 2019, 03:36:17 AM »
I think you are missing

Download: Icon Set (V2 for NWS 55x55 icons) (upload to your website in the /forecast/images directory)

from the page I linked above

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #19 on: June 24, 2019, 03:45:33 AM »
wooohooo! Thanks Niko. Images are there now.

Last question for tonight. How do I get time to show USA format?

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,126
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
Re: Need help....
« Reply #20 on: June 24, 2019, 03:46:42 AM »
What do you mean? AM/PM?

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #21 on: June 24, 2019, 03:49:50 AM »

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #22 on: June 24, 2019, 03:54:10 AM »
yes

All Update time stamps on the website are European style while others are am/pm....

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,126
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
Re: Need help....
« Reply #23 on: June 24, 2019, 03:55:32 AM »
Hmmm, looks like you've set AM/PM in settings.php so there's something else going on, a problem for tomorrow...

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #24 on: June 24, 2019, 04:04:39 AM »
Hmmm, looks like you've set AM/PM in settings.php so there's something else going on, a problem for tomorrow...

OK.

Also...looks like my testtags.php is not being uploaded...

Plus Wind and Rain is saying we are in January....

and lastly I would love to know where I can get the Oregon map pages....and possibly link to my GRLevel radar


Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,126
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
Re: Need help....
« Reply #25 on: June 24, 2019, 04:06:17 AM »
I'm going to move this to the templates sub-forum.

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #26 on: June 25, 2019, 12:33:54 AM »
Hi All,

Can anyone help me with the:
1. refresh rate to 10 sec? ...right now at 20/30sec.
2. where do I find maps that are relative to Oregon?
3. where do I find the warnings/advisories for Oregon?
4. do you know why rain and wind are mentioning a January reference?
5. On the NWS forecast its warning me that the testtags.php is not being produced.... I am wondering why not.

Thanks,
P

Offline saratogaWX

  • Global Moderator
  • Posts: 5,939
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 67.0
    • Saratoga Weather
Re: Need help....
« Reply #27 on: June 25, 2019, 02:37:11 AM »
First, you need to finish setup of Weather-Display to upload your testtags.php to your website -- the one currently there contains demo data from my station from 01/27/2011.  Use: https://saratoga-weather.org/wxtemplates/setup-WD.php as a guide on how to do that.

When it is working normally, your status page http://www.cedarridgewx.com/wxstatus.php will show "Current Data" and your site will show all of your current conditions.  At present, only the realtime clientraw.txt file is being updated, not your testtags.php file.

You set the 'refresh rate' in two places.  First, Weather-Display has to upload your clientraw.txt file at 10 second intervals.  Use WD, Control Panel, Web Files/Realtime/WDL, Realtime Client FTP/AJAX TAB and set the interval to 10 seconds.
You've already set ajaxWDwx.js file to have
Code: [Select]
var reloadTime = 10000;       // reload AJAX conditions every 5 seconds (= 5000 ms)
so it will check every 10 seconds for an update.

For Oregon, try https://www.weather.gov/ and search for your city name.  On that page with your forecast shown, there is a link near the bottom of the page for "Printable Forecast"  it will look like
Code: [Select]
https://forecast.weather.gov/MapClick.php?lat=45.5118&lon=-122.6756-- copy that link and use it in the Settings.php for your forecast.   Also on that page is a link to the Zone forecast.. hover over that link and you'll see an URL with ORZnnn in it.. the ORZnnn is your Zone forecast code.
To find your County Zone code, go to https://alerts.weather.gov/cap/or.php?x=3 and look up your county .. it will have an ORCmmm code.. remember to use both ORZnnn and ORCmmm codes you discovered to configure the NWS alerts area in Settings.php

for 4 and 5 above, you just have to configure Weather-Display to upload testtags.php regularly (5 minute intervals).
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Mac OS X 10.14.4
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #28 on: June 25, 2019, 03:21:20 AM »
First, you need to finish setup of Weather-Display to upload your testtags.php to your website -- the one currently there contains demo data from my station from 01/27/2011.  Use: https://saratoga-weather.org/wxtemplates/setup-WD.php as a guide on how to do that.

When it is working normally, your status page http://www.cedarridgewx.com/wxstatus.php will show "Current Data" and your site will show all of your current conditions.  At present, only the realtime clientraw.txt file is being updated, not your testtags.php file.

You set the 'refresh rate' in two places.  First, Weather-Display has to upload your clientraw.txt file at 10 second intervals.  Use WD, Control Panel, Web Files/Realtime/WDL, Realtime Client FTP/AJAX TAB and set the interval to 10 seconds.
You've already set ajaxWDwx.js file to have
Code: [Select]
var reloadTime = 10000;       // reload AJAX conditions every 5 seconds (= 5000 ms)
so it will check every 10 seconds for an update.

For Oregon, try https://www.weather.gov/ and search for your city name.  On that page with your forecast shown, there is a link near the bottom of the page for "Printable Forecast"  it will look like
Code: [Select]
https://forecast.weather.gov/MapClick.php?lat=45.5118&lon=-122.6756-- copy that link and use it in the Settings.php for your forecast.   Also on that page is a link to the Zone forecast.. hover over that link and you'll see an URL with ORZnnn in it.. the ORZnnn is your Zone forecast code.
To find your County Zone code, go to https://alerts.weather.gov/cap/or.php?x=3 and look up your county .. it will have an ORCmmm code.. remember to use both ORZnnn and ORCmmm codes you discovered to configure the NWS alerts area in Settings.php

for 4 and 5 above, you just have to configure Weather-Display to upload testtags.php regularly (5 minute intervals).

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

Offline cedarridgewx

  • Posts: 40
  • Portland, OR USA
  • OS/Browser:
  • Mac OS X 10.14.4
  • Chrome 75.0.3770.100
    • Cedar Ridge PDX Weather
Re: Need help....
« Reply #29 on: June 25, 2019, 03:28:34 AM »
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....