Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Forecast Codes

Discussion specific to Davis weather stations
Post Reply
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Forecast Codes

Post by krmidas »

Wasn't sure whether to post this under "weather by you" or Cumulus/VP2, so I've chosen to post it here:

I've got a Davis VP2 and I'm re-working my forecast icons, and I'm a little confused by the forecast number that's generated by the webtag <#forecast>. My site uses the Weather Blues Template. In Cumulus, I've got the "Cumulus forecast" box unchecked (assume that means I'm using Davis-generated forecast). Is that webtag outputting one of the 200 forecasts shown at this link:https://cumulus.hosiene.co.uk/viewtopic.php?f=6&t=4140

Or is the webtag outputting one of the 26 or so values shown here:http://weatherbyyou.com/icons_grzanka.php

I'm not clear if I need to link my icons to 26 outputs or 200.

-Tom
Tom Keramidas, Lake Zurich, IL, USA
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Forecast Codes

Post by steve »

The <#forecastnumber> web tag (which I think is the one you mean) supplies the 'Zambretti' forecast number - possible values 1 to 26, and negative if the 'Exceptional weather' modifier has been applied.
Steve
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: Forecast Codes

Post by krmidas »

Yes, you are right. I meant <#forecastnumber>

I see the Zambetti forecasts are listed A-Z (see attached). Are those letters just converted to the numbers 1-26? In addition, does <#forecastnumber> return a value of "0" for "not available"? Finally, this may be a typo on the weatherbyyou page, but it lists a value of "-1" for "exceptional fine".

-Tom
You do not have the required permissions to view the files attached to this post.
Tom Keramidas, Lake Zurich, IL, USA
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Forecast Codes

Post by steve »

This is what the help for <#forecastnumber> says: "Current forecast. See samplestrings.ini for list. Negative means 'exceptional'. Zero = no Cumulus forecast"

This is the list from samplestrings.ini:

forecast1=Settled fine
forecast2=Fine weather
forecast3=Becoming fine
forecast4=Fine, becoming less settled
forecast5=Fine, possible showers
forecast6=Fairly fine, improving
forecast7=Fairly fine, possible showers early
forecast8=Fairly fine, showery later
forecast9=Showery early, improving
forecast10=Changeable, mending
forecast11=Fairly fine, showers likely
forecast12=Rather unsettled clearing later
forecast13=Unsettled, probably improving
forecast14=Showery, bright intervals
forecast15=Showery, becoming less settled
forecast16=Changeable, some precipitation
forecast17=Unsettled, short fine intervals
forecast18=Unsettled, precipitation later
forecast19=Unsettled, some precipitation
forecast20=Mostly very unsettled
forecast21=Occasional precipitation, worsening
forecast22=Precipitation at times, very unsettled
forecast23=Precipitation at frequent intervals
forecast24=Precipitation, very unsettled
forecast25=Stormy, may improve
forecast26=Stormy, much precipitation

So -1 is "Exceptional weather, Settled fine", whatever that means.
Steve
Post Reply