Sandaysoft

Support forum for Cumulus weather station software
It is currently Tue May 21, 2013 10:13 am
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  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Feb 29, 2012 1:06 pm 
Offline

Joined: Wed Feb 25, 2009 12:01 am
Posts: 351
Location: Woodland Park, Colorado USA
Weather Station: Zephyr PWS-1000TB(Fine/Offset)
Operating System: Windows 7 64bit
Attachment:
NOAA FTP log.txt
steve wrote:
If www/realtimegauges.txt is getting your realtimegauges.txt file to the right place, then your NOAA reports path is www/NOAA-reports

It looks like public_html and www are equivalent.


Steve and Beteljuice, this idea worked... :clap:

Thank you so much for helping with this!
Here is copy of partial FTP log this morning:


You do not have the required permissions to view the files attached to this post.

_________________
Bob

http://woodlandweather.org/


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Feb 29, 2012 3:27 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
Quote:
Here is copy of partial FTP log this morning:
... but that doesn't tell us what's happening in the 'normal' uploads !

Ne'er mind, If it's working, we'll wait until the next problem :D

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


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Thu Mar 01, 2012 8:44 am 
Offline
User avatar

Joined: Wed Apr 28, 2010 1:01 pm
Posts: 159
Location: Australia
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows 7 Pro / Ubuntu
Hey beteljuice

Just reporting in... been ?? about that long since I implemented it on my web page. Things seem to be running smooth and haven't had anyone tell me about any faults they have found... We shall also find out tomorrow if it locates and add's the march file...

Thanks again mate :D

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Thu Mar 01, 2012 9:14 pm 
Offline
User avatar

Joined: Wed Apr 28, 2010 1:01 pm
Posts: 159
Location: Australia
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows 7 Pro / Ubuntu
March file added with no dramas, and has not hindered the loading speed of the page..


Cheers

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Mar 14, 2012 2:41 pm 
Offline

Joined: Fri Mar 09, 2012 10:42 am
Posts: 12
Location: Sierre
Weather Station: Ws-0101
Operating System: Windows 7 x64
Hi beetlejuice and thx a lot for that code!!

I'm using an non-php Webserver and included Cumulus with Steelgauges in my web page since very little time, I have only data for this month...
I was looking for a simple solution to display reports, downloaded thankfully and adapted your files according to your instructions, generated/copied reports month/year.
The reports page loads, counts files correctly, but stays on

"Looking for files reports/NOAAMO0312.txt

Report for ???? ???"


Other users web pages (with the exactly same code) DO display correctly, so shame on me: What am I doing wrong?
Didn't change any code... Tried renaming files for Jan/Feb reports to exist, doesn't change anything.

Well, tried the whole day and humbly asking for help...


Thx 4 help,
Radelrama


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Mar 14, 2012 3:01 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17562
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
It would be helpful to give a link to your web site.

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


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Mar 14, 2012 4:19 pm 
Offline

Joined: Fri Mar 09, 2012 10:42 am
Posts: 12
Location: Sierre
Weather Station: Ws-0101
Operating System: Windows 7 x64
steve wrote:
It would be helpful to give a link to your web site.


oh yes, of course... just use https and confirm certificate message (self-made certificate):
rama_._homeip_._net/noaa_reports.html

report files in reports folder:
reports/NOAAMO0312.txt
reports/NOAAYR2012.txt


Last edited by radelrama on Mon Mar 26, 2012 9:44 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Mar 14, 2012 4:59 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2512
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Your web server is returning a status of 400 instead of 404 for reports that do not exist.

Try changing line 243 to:

if(x.readyState == 4 && x.status >= 400) { // file does not exist

Though there may be other problems lurking in there too.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Wed Mar 14, 2012 5:17 pm 
Offline

Joined: Fri Mar 09, 2012 10:42 am
Posts: 12
Location: Sierre
Weather Station: Ws-0101
Operating System: Windows 7 x64
mcrossley wrote:
Your web server is returning a status of 400 instead of 404 for reports that do not exist.

Try changing line 243 to:

if(x.readyState == 4 && x.status >= 400) { // file does not exist

Though there may be other problems lurking in there too.



that's it, now it works...

THX!!!


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Thu Mar 15, 2012 12:34 am 
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
Thanks Mark - Unavailable (off-line ?) when I tried to look-see

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


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Mon Mar 19, 2012 12:04 pm 
Offline

Joined: Sun Aug 21, 2011 2:26 am
Posts: 24
Location: Sydney
Weather Station: WH-1091
Operating System: XP and OSX
Quote:
In Cumulus, generate NOAA monthly and annual reports for every month and year that you have data for, and save them using the default file names.


A little bit of help needed.

How do I create last years and months prior to March NOAA reports. The reports are showing ok for March. There is also a yellow line through the months is there a fix for that also. http://www.blazingcomet.com/weather/NOAA-reports.php

_________________
Leumeah NSW AU Weather


Last edited by apple8 on Mon Mar 19, 2012 12:10 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Mon Mar 19, 2012 12:08 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17562
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
apple8 wrote:
How do I create last years NOAA reports. The reports are showing this years ok

Is the problem that you don't know about the NOAA report items on the 'View' menu in Cumulus, or that you are using them but can't get them to create reports for last year's data?

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


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Mon Mar 19, 2012 12:16 pm 
Offline

Joined: Sun Aug 21, 2011 2:26 am
Posts: 24
Location: Sydney
Weather Station: WH-1091
Operating System: XP and OSX
In the view menu I have only March and 2012. so I guess I need to generate reports for previous months. I have edited my previous post to incude url of the data I have which is the same as the view menu.

_________________
Leumeah NSW AU Weather


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Mon Mar 19, 2012 12:21 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17562
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
apple8 wrote:
In the view menu I have only March and 2012.

The view menu in Cumulus is where the items are that you need to use to create the NOAA reports.

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


Top
 Profile  
 
 Post subject: Re: JavaScript 'Viewer' of Cumulus generated NOAA style repo
PostPosted: Mon Mar 19, 2012 12:47 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
Quote:
There is also a yellow line through the months is there a fix for that also.

You are actually using the PHP version, but the outcome is the same.

Once you have data that covers more than one year you will see that the yellow highlight does just that, it highlights the year (line) that you are viewing.

If you don't like it (I should wait until you have made your 'themed' page with any backgrounds etc.) you can edit noaarep.css, which has been created on your site, or modify the css code at the end of your php file and then delete the css file on your site.

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


Last edited by beteljuice on Wed Mar 21, 2012 11:15 am, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users 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