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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Alternative Monthly Extremes using <#webtag>s

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

Moderator: daj

User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by nitrx »

Nice template I only can't make up what should be translated :roll:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

Most things are in discrete sections Ron. Still not very 'friendly' I know !

eg. 'Table' style

<!-- script and variables used by 'TABLE' style and its mouseovers ONLY - edit for language if required -->
<script type="text/javascript">

var tip_txt = new Array("T&deg; Max Hi", "T&deg; Max Lo", ... these are the 'headers' in the data cell mouseovers

var hightempT = ["<#ByMonthTempHT mon=1 format="'Day <b>'dd'</b>, Year <b>'yyyy'</b> @ <b>'hh:mm'</b>'">","<#ByMonthTempHT .... these are the date / time in the data cell mouseovers

<!-- 'TABLE' style ############################################################################ -->
<!-- Mouseovers for 'Table' headers - Edit for translations -->

<div id='info_1' class='atip' style="width: 250px;">
<span style='font-size: 25px;'><b>T&deg; Max</b></span><br /><br />
<span style='font-size: 20px;'><b>T&deg; Max Hi </b></span><br />
Then a long description .... these are the mouseover descriptions for the 'table' column headers

Then there is the 'table' header row itself:

<tr>
<td colspan="2" class="head">Month</td>
<td class='head' data-tooltip='info_1' style="cursor: pointer;">T&deg;<br /><span style="color: #FF0000;">Max</span></td>
<td class='head' data-tooltip='info_2' style="cursor: pointer;">T&deg;<br /><span style="color: #FABD80;">Min</span></td>
<td class='head' data-tooltip='info_3' style="cursor: pointer;">T&deg;<br />Diff</td>
<td class='head' data-tooltip='info_4' style="cursor: pointer;">T&deg;<br />app</td>
<td class='head' data-tooltip='info_5' style="cursor: pointer;">DP&deg;<br /></td>
<td class='head' data-tooltip='info_6' style="cursor: pointer;">RH<br /></td>
<td class='head' data-tooltip='info_7' style="cursor: pointer;"><span style="color: #00FF00;"><#pressunit></span></td>
<td class='head' data-tooltip='info_8' style="cursor: pointer;"><span style="color: #FFFF00;">Wind<br/>(<#windunit>)</span><br />Gust<br />-------<br />Avg</td>
<td class='head' data-tooltip='info_9' style="cursor: pointer;"><span style="color: #FFFF00;">Wind<br />Run<br />(<#windrununit>)</span><br />Day</td>
<td class="head" data-tooltip='info_10' style="cursor: pointer;"><span style="color: #00FFFF;">Rain<br/>(<#rainunit>)</span><br />Day<br />-------<br />Mon</td>
<td class="head" data-tooltip='info_11' style="cursor: pointer;"><span style="color: #00FFFF;">Rain<br/>(<#rainunit>)</span><br />Rate<br />-------<br />1h</td>
<td class="head" data-tooltip='info_12' style="cursor: pointer;">Days<br /><span style="color: #00FFFF;">Wet</span><br />-------<br /><span style="color: #FFFF00;">Dry</span></td>

</tr>

I think that about does it for the 'table' style :lol:

The 'lists' style is what you have seen (and modified) before, lots of it and very time consuming.

I can only repeat what I said at the start, do ONE small bit at a time and test it to make sure the syntax has not been broken :roll:

If there is any particular area you get stuck with Ron - PM me ;)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by nitrx »

Thanks Betel this will give me some clues I will give it a try after this weekend :) , I know to find you, thanks
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by bnwrx »

beteljuice wrote:Valid comment ....

It only really needs to be processed / uploaded once every 24hrs sometime after your station 'roll-over' time.

I will let someone else describe the technique of removing it from 'standard' upload and using 'toolbox' or whatever to do the business.

Any volunteers .....
Would this work....Have Cumulus "Process " the the file, but NOT FTP the file to the website. Then schedule an FTP upload in Toolbox to occur after "roll-over" and after the first "Process"?....I'm just taking a wild stab at this and am prepared for it to be shot down! :D
duke

Re: Alternative Monthly Extremes using <#webtag>s

Post by duke »

bnwrx wrote:
beteljuice wrote:Valid comment ....

It only really needs to be processed / uploaded once every 24hrs sometime after your station 'roll-over' time.

I will let someone else describe the technique of removing it from 'standard' upload and using 'toolbox' or whatever to do the business.

Any volunteers .....
Would this work....Have Cumulus "Process " the the file, but NOT FTP the file to the website. Then schedule an FTP upload in Toolbox to occur after "roll-over" and after the first "Process"?....I'm just taking a wild stab at this and am prepared for it to be shot down! :D
That's how I do it - waiting inline to be shot down ;)

Duke
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by bnwrx »

duke wrote:
That's how I do it - waiting inline to be shot down ;)

Duke
Well I tried it and my result was it just shows the "T" file, nothing "Processed " by Cumulus, just the "webtags" place holdings... :o
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by steve »

bnwrx wrote:Well I tried it and my result was it just shows the "T" file, nothing "Processed " by Cumulus, just the "webtags" place holdings... :o
Did you specify a file name for Cumulus to use for the processed version (in the remote file box)?
Steve
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by bnwrx »

steve wrote:
bnwrx wrote:Well I tried it and my result was it just shows the "T" file, nothing "Processed " by Cumulus, just the "webtags" place holdings... :o
Did you specify a file name for Cumulus to use for the processed version (in the remote file box)?
I originally had Cumulus both Process and FTP to my website. Remote file name on website was "45betel.htm". This works just fine. When trying out the "ToolBox" method, I left everything the same except "unchecked" FTP in the remote file box. That resulted in this:http://woodlandweather.org/45betel.htm
And is where I am currently on hold.....
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by steve »

If you just want Cumulus to process the file but not ftp it, then you need to give a file name on your PC for the remote file. The get Toolbox (or whatever) to ftp that file as required.
Steve
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by bnwrx »

steve wrote:If you just want Cumulus to process the file but not ftp it, then you need to give a file name on your PC for the remote file. The get Toolbox (or whatever) to ftp that file as required.
Understood, got it... this works with ToolBox now. :bash:

Thank you Steve, and A BIG THANK YOU to the Beteljuice for yet another feature for Cumulus :clap: :clap:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

@bnrwx ...

What has happened to all your rain data and 'wet days' :shock:
Image
......................Imagine, what you will KNOW tomorrow !
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by bnwrx »

beteljuice wrote:@bnrwx ...

What has happened to all your rain data and 'wet days' :shock:
Not sure I understand....If you are talking about the blanks in Jan,Feb and Dec, that is normal. Snow instead of rain so I cover the gauge for the winter.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

My script does not expect "---" !

Are these values you have modified / edited yourself, or supplied by Cumulus ?

As you can see the example database was Steves, which pre-dates the introduction of wet / dry days and there are no such (alpha char) entries.

It also makes a bit of a nonsense of your wet / dry periods !
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by steve »

It supplies '---' for any record which has never broken the initial value, and for rain the initial values are zero.
Steve
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

I'm bemused - why hasn't anyone else reported a problem ?

I'm not fully sure of the circumstances / how to code around it :?
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply