Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - 28 November 2014
Latest Cumulus MX release v3.0.0 build 3046 - 02 January 2019. See the Wiki for download

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: 1292
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 » Sat 12 May 2012 7:33 am

Nice template I only can't make up what should be translated :roll:

User avatar
beteljuice
Posts: 2537
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice » Sat 12 May 2012 10:02 am

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: 1292
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 » Sat 12 May 2012 10:44 am

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: 458
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 » Sat 12 May 2012 4:22 pm

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

User avatar
duke
Posts: 840
Joined: Sun 03 Jul 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by duke » Sat 12 May 2012 6:52 pm

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
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

bnwrx
Posts: 458
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 » Sat 12 May 2012 8:04 pm

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: 26717
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 » Sat 12 May 2012 8:07 pm

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: 458
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 » Sat 12 May 2012 8:38 pm

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: 26717
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 » Sat 12 May 2012 8:59 pm

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: 458
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 » Sat 12 May 2012 9:18 pm

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: 2537
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice » Sun 13 May 2012 4:25 am

@bnrwx ...

What has happened to all your rain data and 'wet days' :shock:
Image
......................Imagine, what you will KNOW tomorrow !

bnwrx
Posts: 458
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 » Sun 13 May 2012 4:46 am

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: 2537
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice » Sun 13 May 2012 12:40 pm

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: 26717
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 » Sun 13 May 2012 12:51 pm

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: 2537
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice » Sun 13 May 2012 1:47 pm

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