cloudy cloudy

Author Topic: Forecast Page of Carter Lake Template  (Read 9655 times)

0 Members and 1 Guest are viewing this topic.

Offline Gus

  • Posts: 630
  • Halethorpe, Maryland USA
    • Halethorpe Weather-Watch
Re: Forecast Page of Carter Lake Template
« Reply #15 on: December 28, 2006, 01:53:54 PM »
As Windy pointed out, you need to create the 5 day forecast file to get the tags.

So once you can click on the main screen icon and see the 5 day forecast
 
goto  Control panel> Internet File Creation & Uploads> Setup page #2>
Then set creation times for "File #40 5 day forecast". This will create files
forecast5day.gif and eight icon gif files, forecasticon5day1.gif through
forecasticon5day8.gif in the webfiles subdirectory. If you are not using forecast5day.gif
on your website don't set any upload times for File #40
« Last Edit: December 28, 2006, 01:57:09 PM by Gus »
Davis VP2+ & LabJack w/lightning counter, soil/grass temp
HP i5, 16GB, Windows10 CW1550 KMDBALTI12

Offline djohnson

  • Posts: 30
Re: Forecast Page of Carter Lake Template
« Reply #16 on: December 28, 2006, 02:05:35 PM »
Thanks!  That fixed it.

One last detail.  Is the last line supposed to look like this?

NWS Forecast: Expires:200612282100;;324377

I believe on other people's pages I have seen better formatting for the date.
Version 10.36y build 9
WMR100A
Windows XP
IE6

Offline djohnson

  • Posts: 30
Re: Forecast Page of Carter Lake Template
« Reply #17 on: December 28, 2006, 10:29:16 PM »
Well... it worked for awhile.  For some reason, I keep having to go to the forecast icon and click "reset back to NWS use."  The webpage displays fine for awhile.  But then stops.  If I re-check the forecast icon it is again blank until I click "reset back to NWS use"

Is there a seperate setup for nws forecast that I am missing?
Version 10.36y build 9
WMR100A
Windows XP
IE6

Offline djohnson

  • Posts: 30
Re: Forecast Page of Carter Lake Template
« Reply #18 on: December 29, 2006, 07:12:56 PM »
No resolution yet.  It seems like everytime the new forecast is released, the forecast disappears from my webpage.  If I tick "reset back to nws use" it starts working again.  But in about 12 hours, I will have to go do it again.
Version 10.36y build 9
WMR100A
Windows XP
IE6

Offline djohnson

  • Posts: 30
Re: Forecast Page of Carter Lake Template
« Reply #19 on: December 29, 2006, 09:06:24 PM »
After some further research, it appears that my nws forecast disappears whenever I restart WD.  I can reset it back to the nws forecast as I shared in my previous post.

Obviously the problem is in my setup.  I can't seem to find a setting to set WD to the nws forecast.

Any ideas?
Version 10.36y build 9
WMR100A
Windows XP
IE6

Offline Weather Display

  • Posts: 87,434
  • Davis VP2
  • New Zealand
    • Weather Display
Re: Forecast Page of Carter Lake Template
« Reply #20 on: December 30, 2006, 06:25:12 AM »
hi
zip and email me your settings files (see in the FAQ for how to do that)

Offline kc1fx

  • Posts: 5
  • Stafford Springs, CT
    • Weather Site
Re: Forecast Page of Carter Lake Template
« Reply #21 on: January 21, 2007, 09:22:34 PM »
Whats in the source file for the forecast, is it using tags to generate the forecast?

I'm having a forecast problem as well and I know it's my NOAA forecast file contents.
Expires:200701221015;;964122
FPUS61 KBOX 212032
SFTBOX

MAZ001>026-RIZ001>008-CTZ001>013-221015-

TABULAR STATE FORECAST FOR SOUTHERN NEW ENGLAND
NATIONAL WEATHER SERVICE TAUNTON MA
332 PM EST SUN JAN 21 2007

ROWS INCLUDE...
   DAILY PREDOMINANT DAYTIME WEATHER 6AM-6PM
   FORECAST TEMPERATURES...EARLY MORNING LOW/DAYTIME HIGH
         PROBABILITY OF PRECIPITATION NIGHTTIME 6PM-6AM/DAYTIME 6AM-6PM
          - INDICATES TEMPERATURES BELOW ZERO
         MM INDICATES MISSING DATA


   FCST     FCST     FCST     FCST     FCST     FCST     FCST     
   MON      TUE      WED      THU      FRI      SAT      SUN     
   JAN 22   JAN 23   JAN 24   JAN 25   JAN 26   JAN 27   JAN 28   


...CONNECTICUT...
   BRIDGEPORT, CT
   SNOW     PTCLDY   PTCLDY   MOCLDY   PTCLDY   SUNNY    PTCLDY   
   22/32    25/36    25/36    24/33    17/28    16/35    25/34   
    50/80    50/10    10/10    30/40    10/10    10/10    10/10   

   DANBURY, CT
   SNOW     PTCLDY   PTCLDY   MOCLDY   PTCLDY   SUNNY    PTCLDY   
   16/31    24/33    19/34    17/27    12/25    10/34    20/32   
    60/80    50/10    10/10    30/40    10/10    10/10    10/10   

   GROTON, CT
   SNOW     MOCLDY   PTCLDY   MOCLDY   PTCLDY   SUNNY    PTCLDY   
   21/33    27/37    24/36    25/32    16/31    18/37    25/36   
    10/80    60/20    10/10    30/40    20/10    10/10    10/10   

   HARTFORD, CT
   SNOW     MOCLDY   PTCLDY   MOCLDY   PTCLDY   PTCLDY   PTCLDY   
   16/34    23/35    18/32    16/25    10/21    11/32    21/32   
    40/50    60/40    10/20    40/40    20/10    10/10    10/10   

   MERIDEN, CT
   SNOW     PTCLDY   PTCLDY   MOCLDY   PTCLDY   SUNNY    PTCLDY   
   14/33    20/36    20/36    19/28    12/26    11/35    23/33   
    10/80    60/20    10/10    30/40    10/10    10/10    10/10   

   NEW HAVEN, CT
   SNOW     PTCLDY   PTCLDY   MOCLDY   PTCLDY   SUNNY    PTCLDY   
   20/34    23/36    23/37    21/29    15/27    13/35    24/34   
    10/80    60/20    10/10    30/40    10/10    10/10    10/10   

   TORRINGTON, CT
   SNOW     PTCLDY   PTCLDY   SNOW     PTCLDY   PTCLDY   PTCLDY   
   13/29    20/33    20/32    13/25    7/23     9/33     16/31   
    30/60    50/20    10/20    40/50    50/30    10/10    10/20   

   WILLIMANTIC, CT
   SNOW     SNOW     PTCLDY   MOCLDY   PTCLDY   SUNNY    PTCLDY   
   11/32    22/34    18/35    16/25    8/22     11/31    18/32   
    30/50    60/50    10/20    40/40    20/10    10/10    10/10   


...MASSACHUSETTS-CENTRAL...
   WORCESTER, MA
   SNOW     SNOW     PTCLDY   CLOUDY   VRYCLD   PTCLDY   PTCLDY   
   14/25    20/28    19/30    16/23    8/18     11/30    19/29   
    30/50    60/50    10/20    40/40    20/10    10/10    10/10   


...MASSACHUSETTS-EASTERN...
   BOSTON, MA
   SNOW     SNOW     PTCLDY   CLOUDY   PTCLDY   SUNNY    PTCLDY   
   20/29    25/31    24/35    23/27    14/23    15/31    26/36   
    30/50    60/50    10/20    40/40    20/10    10/10    10/10   

   HYANNIS, MA
   FLRRYS   SNOW     PTCLDY   CLOUDY   PTCLDY   SUNNY    PTCLDY   
   17/34    21/36    23/35    24/31    17/25    14/34    26/36   
    30/40    60/60    10/20    40/40    30/20    20/20    10/10   

   LAWRENCE, MA
   SNOW     SNOW     PTCLDY   CLOUDY   PTCLDY   SUNNY    PTCLDY   
   13/28    23/32    19/33    16/25    8/21     11/29    20/34   
    30/50    60/50    10/20    30/40    20/10    10/10    10/10   

   NANTUCKET, MA
   FLRRYS   SNOW     PTCLDY   CLOUDY   MOCLDY   SUNNY    PTCLDY   
   20/34    26/37    25/35    26/33    19/27    16/34    28/37   
    30/40    60/60    20/20    40/40    40/20    20/20    20/10   

   TAUNTON, MA
   FLRRYS   SNOW     PTCLDY   CLOUDY   PTCLDY   SUNNY    PTCLDY   
   11/32    22/35    19/36    21/29    11/22    12/32    23/36   
    30/40    60/50    10/20    40/40    20/10    10/10    10/10   


...MASSACHUSETTS-WESTERN...
   CHICOPEE, MA
   SNOW     SNOW     PTCLDY   CLOUDY   PTCLDY   PTCLDY   PTCLDY   
   13/29    22/34    16/32    14/25    7/21     7/30     18/32   
    30/50    60/50    10/20    30/40    20/10    10/10    10/10   

   ORANGE, MA
   SNOW     SNOW     PTCLDY   CLOUDY   VRYCLD   PTCLDY   PTCLDY   
   9/26     15/30    12/29    8/23     2/19     5/29     13/28   
    30/50    60/50    10/20    30/40    10/10    10/10    10/10   

   PITTSFIELD, MA
   SNOW     PTCLDY   PTCLDY   SNOW     VRYCLD   PTCLDY   PTCLDY   
   8/26     15/30    15/28    12/21    6/19     8/29     14/27   
    40/60    50/30    20/20    40/50    50/30    20/20    20/30   


...RHODE ISLAND...
   PROVIDENCE, RI
   FLRRYS   SNOW     PTCLDY   CLOUDY   PTCLDY   SUNNY    PTCLDY   
   16/33    25/34    22/36    23/29    13/24    15/35    25/36   
    30/40    60/50    10/20    40/40    20/10    10/10    10/10   

   WESTERLY, RI
   SNOW     SNOW     PTCLDY   CLOUDY   PTCLDY   SUNNY    PTCLDY   
   21/31    25/36    22/36    25/32    17/28    20/36    27/36   
    30/50    60/50    10/20    40/40    20/10    10/10    10/10   


$$

I've had WD running now for 3 or 4 days, but have never been able to get the Forecast to go. I'd really like to get the PHP version "http://www.tnetweather.com/forecast.php" like being used here. My page is members.cox.net.kc1fx  Any help appreciated.

Offline saratogaWX

  • Global Moderator
  • Posts: 5,945
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Forecast Page of Carter Lake Template
« Reply #22 on: January 21, 2007, 09:45:02 PM »
If you'd like to run the PHP forecast for your area, then get the advforecast.php script from carterlake
http://www.carterlake.org/weatherphp.php  (and the icons set too.. see inside the script for download).

You should first check if your hoster supports PHP for your account.. test that by trying the script from
http://saratoga-weather.org/scripts.php#PHPTest

You wouldn't be able to use Kevin's (or my) PHP forecast script, since we use the www.wrh.noaa.gov site for our forecasts (covering the Western Region of NOAA).  Tom's (carterlake) script works will all NOAA regions (except our Western Region, bless their hearts to have a different website construction).

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline kc1fx

  • Posts: 5
  • Stafford Springs, CT
    • Weather Site
Re: Forecast Page of Carter Lake Template
« Reply #23 on: January 22, 2007, 02:31:43 PM »
If you'd like to run the PHP forecast for your area, then get the advforecast.php script from carterlake
http://www.carterlake.org/weatherphp.php  (and the icons set too.. see inside the script for download).

Thanks for the info Ken. What I'd like to do is incorporate the advforecast script into the Ajax script of saratoga-weather. I tried doing a cut/paste and it doesn't quite 'merge' properly. I wonder if anyone has done that ? I did check to see if my ISP supports PHP and it uses V4.4.4 So I'm all set there.

Offline saratogaWX

  • Global Moderator
  • Posts: 5,945
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Forecast Page of Carter Lake Template
« Reply #24 on: January 22, 2007, 03:32:04 PM »
Here's what you need to make carterlake's advforecast.php page work in your template.

1) upload (after setting the url inside to your point printable forecast) advforecast.php to your website
2) download http://members.cox.net/carterlakeweather/forecasticons.zip , unzip it to /forecast/images on your local
    copy of the website, and upload it to your website.
3) now try http://members.cox.net/kc1fx/advforecast.php -- you should see the forecast with icons for your area.

4) edit wxlocal2.html in the Weather-display /webfiles directory and replace
Code: [Select]
  <h3>National Weather Service Forecast</h3>
       
<p><b><span style="text-transform: uppercase">%5dayforecastdayday1%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday1%</span></p>

<p><b><span style="text-transform: uppercase">%5dayforecastdayday2%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday2%</span></p>

<p><b><span style="text-transform: uppercase">%5dayforecastdayday3%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday3%</span></p>

<p><b><span style="text-transform: uppercase">%5dayforecastdayday4%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday4%</span></p>

<p><b><span style="text-transform: uppercase">%5dayforecastdayday5%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday5%</span></p>

<p><b><span style="text-transform: uppercase">%5dayforecastdayday6%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday6%</span></p>

<p><b><span style="text-transform: uppercase">%5dayforecastdayday7%</span></b>
<br /><span style="text-transform: capitalize">%5dayforecastday7%</span></p>

<p>NWS Forecast: %5dayforecasttimestamp%</p>
with
Code: [Select]
<?php include("http://members.cox.net/kc1fx/advforecast.php"); ?>
5) have WD upload the page as wx2.php (not wx2.html) -- only .php pages can include other .php pages.

To refit AJAX into your pages, just follow the step-by-step instructions at http://saratoga-weather.org/AJAX/WD/AJAX-WD-readme.txt -- the AJAX mods will work with plain .html or .php pages.

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline carterlake

  • Tom Chaplin
  • Posts: 2,273
  • Carter Lake, Iowa USA
    • Carter Lake, Iowa Weather
Re: Forecast Page of Carter Lake Template
« Reply #25 on: January 22, 2007, 11:05:37 PM »
3) now try http://members.cox.net/kc1fx/advforecast.php -- you should see the forecast with icons for your area.

Ken, I don't think Cox offers PHP to it's free accounts (or paid for that matter).

WD; Davis VP2 6153; Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; Live NOAA radio

Offline saratogaWX

  • Global Moderator
  • Posts: 5,945
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Forecast Page of Carter Lake Template
« Reply #26 on: January 22, 2007, 11:10:06 PM »
I don't think they do either, Tom.. just being optimistic I guess  :lol:

If it fails the test in (3) above, then for sure,  kc1fx should get a hoster with PHP capability.

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline kc1fx

  • Posts: 5
  • Stafford Springs, CT
    • Weather Site
Re: Forecast Page of Carter Lake Template
« Reply #27 on: January 23, 2007, 03:48:37 AM »
I don't think they do either, Tom.. just being optimistic I guess  :lol:

If it fails the test in (3) above, then for sure,  kc1fx should get a hoster with PHP capability.

Best regards,
Ken

You guys are right. When I did an initial test, I would have sworn I got the "YES" with a version of 4.4.4  :? However, in a LIVE chat today, the COX rep verified NO PHP. SO, plans have changed, but in the mean time, I have another problem...positioning. http://members.cox.net/kc1fx/wx3.html is now updated with the Radar image I'd like to display, and NOAA even gives instructions on how to do it. But I know nothing about style sheets. I program JAVA. This html and php is new to me. Question is, how do I get my image down and over to the right ?

Thanks, Gary