Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

indexT.htm Forecast Icons

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

How does it look now?

http://tinyurl.com/W62694
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: indexT.htm Forecast Icons

Post by PaulMy »

Great work, but I personally like the forecast below the table,

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: indexT.htm Forecast Icons

Post by ronwright418 »

Looks great! I'm conflicted about before or after the table. I like the clean look of Steve's original layout, but my neighbors sometimes want to be able to get a quick look at the major items without bothering with the details then scrolling down. (Ya can't please 'em all.)

Ron
Ron Wright (ronwright418)
Image
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: indexT.htm Forecast Icons

Post by tobyspond »

Looking good. My preference for the forecast location is below the table, but that is up to you. You can fix the New Years day text by playing with the widths.
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

I am very happy with the forecast page. I am still debating having the icons on the main page though. Anyway attached is the forecast.php page. This will work in the USA. You are on your own for other countries (a Canada option is here).

You will need to save it to the Cumulus/web folder and make sure to add it to the list of files in CONFIGURATION>INTERNET>FILES using...

X:\Cumulus\web\forecastT.php
YOUR SITE/forecast.php

Check the boxes for PROCESS and FTP.

You will need to do the following to make forecast.php work for your location...

RADAR MAP
  • 1. Go to http://www.wunderground.com/radar/mosaic.asp and pick your region.
    2. When the map loads, click on "Animate Map".
    3. Right-click once on the map then left-click on VIEW IMAGE. This will open the map as just a .GIF picture. Keep the link to it handy.
NOAA Zone Code
Your GPS Coordinates in Decimal Format
  • 1. Go to http://www.bing.com/maps/ and enter your city and state.
    2. When your city loads, click on the down arrow to the right of BIRD'S EYE and change it to AERIAL.
    3. Zoom in on your location.
    4. Carefully right-click on your location. A small window will pop up with your GPS coordinates in decimal format. Write these down.
NOAA Forecast Link
  • 1. Go to http://www.noaa.gov/ and enter your location in the "Weather.gov Forecast" box.
    2. At the end of the URL for your forecast, add &TextType=2 and press ENTER.
    3. Change the GPS coordinates in the URL to what you wrote down. Press ENTER again.
    4. Save this link.
You will now need to open forecast.php with Notepad and make some changes from the information you gathered above...
Now you will need to add the icons to your website...
Last off all, you will need to add the link to your forecast.php webpage at the bottom of all your Cumulus T.htm files. To do that...
  • 1. Open each T.htm file with Notepad.
    2. Scroll down to the links for each page which are within : marks.
    3. Add :<a href="forecast.php">forecast</a>: to your menu.
Optionally, if you want to have the ability to click on the Cumulus Forecast on your main page so it loads forecast.php...
  • 1. Open indexT.htm with Notepad.
    2. Find the line that starts with <p>Forecast:.
    3. Replace that entire line with the following and save the file...

    Code: Select all

    <p align="center"><a href="forecast.php"><b>Forecast:&nbsp;&nbsp;<font color="#D80000"><#forecast></b></font><br>
    <a href="forecast.php"><b>= Click For Extended Forecast =</b></a></p>
You do not have the required permissions to view the files attached to this post.
Last edited by Buford T. Justice on Thu 03 Jan 2013 12:29 am, edited 4 times in total.
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: indexT.htm Forecast Icons

Post by ronwright418 »

Very well documented.
Ron
Ron Wright (ronwright418)
Image
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: indexT.htm Forecast Icons

Post by PaulMy »

I have tried to implement http://www.komokaweather.com/weather/forecast.php but was not able to get it for our local area. For instructions:
Radar Map item 4 - I was not able to get to "VIEW IMAGE" after getting to our local radar so could not open the map as just a .GIF image. The local radar page does show a View/Save link but if select this the file name link is http://radblast-aws.wunderground.com/cg ... 1&smooth=0 which does not look like a .GIF picture.

For NOAA Zone Code and Forecast Link - was not able to find anything for Canada.

Would I be able to use this for Canada?

Paul

EDIT: was able to get the radar map showing, now to work on the forecast.
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

PaulMy wrote:I have tried to implement http://www.komokaweather.com/weather/forecast.php but was not able to get it for our local area. For instructions:
Radar Map item 4 - I was not able to get to "VIEW IMAGE" after getting to our local radar so could not open the map as just a .GIF image. The local radar page does show a View/Save link but if select this the file name link is http://radblast-aws.wunderground.com/cg ... 1&smooth=0 which does not look like a .GIF picture.

For NOAA Zone Code and Forecast Link - was not able to find anything for Canada.

Would I be able to use this for Canada?

Paul

EDIT: was able to get the radar map showing, now to work on the forecast.
Paul
Download and upload these icons in the folder in the .ZIP to your website...

http://saratoga-weather.org/ec-icons.zip

Try the attached file I modified for Canada. You will need to save it to the Cumulus/web folder and make sure to add it to the list of files in CONFIGURATION>INTERNET>FILES using...

X:\Cumulus\web\forecastT.php
YOUR SITE/forecast.php

Check the boxes for PROCESS and FTP.

>>>OTHER CANADIAN USERS<<<

If you use the attached file, you will need to edit two things...
  • 1. Change the WUnderground map to another map. It needs to be a .GIF image if you want animation. I cannot find any good Canadian sources to accomplish this. Also you may need to change the size used and the courtesy link by editing this code near the top of the forecast.php file:

    Code: Select all

    <center>
    <img src="http://icons.wunderground.com/data/640x480/2xradara4_anim.gif" alt="Regional Radar" width="512" height="384" style="margin: 0px; padding: 0px; border: none"><br>
    <tr><td colspan="2" align="center"><small>Radar/Satellite images courtesy of <a href="http://www.weatherunderground.com">Weather Underground</a>.</small></td></tr><br><br>
    </center>
    2. Change $ECURL = 'http://weatheroffice.gc.ca/city/pages/o ... ric_e.html'; to your local Environment Canada forecast listing.
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: indexT.htm Forecast Icons

Post by PaulMy »

Thanks BT I have it all working now http://www.komokaweather.com/weather/forecast.php
Your help very much appreciated,

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: indexT.htm Forecast Icons

Post by PaulMy »

Now that I have the Forecast and radar mastered :oops: what would it take to add the Weather Underground 'Descriptive Forecast' as shown in the 'Extended Forecast' tab?

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

Looks good. You might consider doing the following to get kPa on your website instead of hPa:

https://cumulus.hosiene.co.uk/viewtopic.p ... 959#p73959
User avatar
firemanak
Posts: 23
Joined: Wed 16 Oct 2013 7:28 am
Weather Station: WS-2090
Operating System: Windows vista
Location: Fairbanks, Alaska
Contact:

Re: indexT.htm Forecast Icons

Post by firemanak »

I know this is an old post, but I can't find a gif that is animated on weather underground
if you go to http://weather.alaskaroofs.com/forecast.php I have a radar map, but not animated.
when I right click after animating the map on wu, it gives me a long url but no gif...
am I missing something?

Thanks
Tony Roof
Tony Roof
Fairbanks Alaska
KAKFAIRB47 - http://weather.alaskaroofs.com


Image
Post Reply