Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed May 22, 2013 4:23 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: About parsing files
PostPosted: Wed Dec 08, 2010 7:17 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
I know the principe of the standard files indexT.htm andso-on but when I want to make another file like index.php on the server do I have to call it indexT.php locally ?

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 7:52 pm 
Offline

Joined: Mon Jan 25, 2010 1:55 pm
Posts: 623
Location: Brighton, UK
Weather Station: Watson W-8681
Operating System: Vista
Not quite sure what you are trying to achieve.

But if you have a indexT.htm present, Cumulus will process any webtags in it and replace those values with data and upload it to your webserver.

If you want to make another file with a different name, with webtags in, list it in the Cumulus Internet settings with a remote filename with whatever you want to call it i.e. indexnew.htm. Tick Process and FTP, and cumulus will upload it to your site with the webtags processed.

If you need a clearer explanation, just ask.

_________________
Paul

http://www.greatcollegestreet.co.uk -Online
http://www.lehamel.eu - Online

Image Image


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 8:10 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Well I'm (trying) to make a page like dezemaandjaar.htm do I've to name it dezemaandjaarT.htm or can i give it anyname i want by example : exampe.htm<--including webtags, local on my disk let it process by cumulus and ftp it with the name dezemaandjaar.htm (brr I'm getting confused :roll: )

*Edit* read it again and undertstood thanks Paul.

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 8:16 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17567
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
The 'T' in the standard files can be a bit confusing. It was just my way, in the very early days of Cumulus, to make sure that the 'input' file had a different name to the 'output' file - the file that ended up on the web site. So, indexT.htm was processed to make index.htm.

For files that are explicitly listed on the files tab, I avoided the name clash by adding 'tmp' to the output file name. So you can call your own files whatever you want, they don't have to have a 'T' in them.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 8:50 pm 
Offline

Joined: Mon Jan 25, 2010 1:55 pm
Posts: 623
Location: Brighton, UK
Weather Station: Watson W-8681
Operating System: Vista
Following on from what Steve has said, if you have a file on your pc, called anything.htm with webtags in (and listed in the files section of the Internet Settings), the remote filename can be anything.htm. If you have Process and FTP ticked, the page will appear on the website with the relevant data.

_________________
Paul

http://www.greatcollegestreet.co.uk -Online
http://www.lehamel.eu - Online

Image Image


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 9:08 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Well it's clear to me http://www.apeldoorn.tk/weer/maandjaar.htm (have to add the units it's raw) Just wondering why the are no timetags for some webtags http://wiki.sandaysoft.com/a/BETA_webtags

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 9:40 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17567
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Which time tags do you think are missing?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 9:46 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
steve wrote:
Which time tags do you think are missing?

<#YearMinTempH> This years highest daily minimum temperature by example they are listed in the table http://wiki.sandaysoft.com/a/BETA_webtags under yearly

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 9:54 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17567
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
You're not going to like my explanation, because I've tried to explain this to others before and failed, and I can't give you a 'scientific' explanation, but... it's because for the lowest max and highest min, the time they occurred isn't really significant, it's the whole day which is significant.

There, I said you wouldn't like it.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 9:58 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
LOL , well I can live with it.

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 10:08 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17567
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
If people feel strongly that it should be there, I could add the web tags. But I might resist adding it to Cumulus itself.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Wed Dec 08, 2010 11:03 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
There is a 'problem' with files like index.xxx unless Steve has changed things.

If you use "Include Standard Files", then create an alternative index.php (for example), Cumulus ftp sends your files first, then the 'Standard' ones - So there will always be eg. index.htm on your site !

You would have to disable "Include Standard Files" and separately state each individual file to upload.

I repeat this only applies if you are using Cumulus ftp facility.

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: About parsing files
PostPosted: Thu Dec 09, 2010 12:10 am 
Offline

Joined: Tue Aug 03, 2010 6:23 am
Posts: 484
Location: Ferntree Gully, VIC, Oz
Weather Station: WM918
Operating System: Win Server 2008 R2
steve wrote:
You're not going to like my explanation, because I've tried to explain this to others before and failed, and I can't give you a 'scientific' explanation, but... it's because for the lowest max and highest min, the time they occurred isn't really significant, it's the whole day which is significant.

There, I said you wouldn't like it.

The time can actually be significant - especially when the max or min was also related to a major event. For example, the Black Saturday bushfires in Victoria (nearly 200 killed and many many hundreds of homes and properties destroyed in one afternoon) had a later than normal extreme temperature peak - in my case 46.2 C at 1733 and stayed within .3 C for nearly an hour afterwards - normally, even in summer, our peak temperatures are reached between about 1500 and before 1700 and then start to drop off quite significantly, even on very hot days. Even the minimum temperatures over this 4-5 day period were reached abnormally late in the morning - on a few of the days during this heat wave, they were reached *after* 9am.

Not 'arguing' with your thinking, but for some events, these times can be important.

So whilst I understand your belief about them 'not being important' if the information is available, why not have a webtag for it - this way, the user gets to decide if they want to use it or not? Currently I parse all of my data to display this info whenever an annual, monthly or daily page is displayed.

(As an aside to this, when I was contacted by our Water Authority recently about them accessing all of my rain data for the past 27 years, one of the things they wanted to know was whether my rainfall data was broken down during each 24 hour period and to what resolution it was available.)

_________________
Punctuation is the difference between 'Let's eat, grandma' and 'Let's eat grandma'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: pernaczy, Pgarcimore and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group