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

JavaScript 'Viewer' of Cumulus generated NOAA style reports

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

Moderator: daj

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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

steve wrote:
bnwrx wrote:In Cumulus NOAA setup I have put this as the FTP directory path: public_html/noaa_reports.html
That looks like a file/page rather than a directory. You probably want: public_html/noaa_reports

You need to make sure that the directory exists (i.e. you need to create it before Cumulus can upload into it).

Edit: Actually, having looked at your site, I think you want public_html/NOAA-reports for the directory.
Steve, tried "public_html/NOAA-reports" but still nothing. Does Cumulus upload that noaa text file with each update? The NOAA-reports directory on my server only has the files that I manually uploaded.
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by steve »

Auto save after daily reset: If set, when Cumulus does the end of day reset, it will auto create NOAA-style reports for the month and year corresponding to the day which has just ended.
Auto FTP after auto-save: If set, when Cumulus does the first FTP upload after the daily reset, it will also upload the latest auto-created monthly and yearly NOAA-style reports. Note that you must already have regular (non-realtime) FTP configured.
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

Cumulus Help says to pu the entire path to the directory in, so should it be "ftp.woodlandweather.org/public_html/NOAA-reports" ?

Sorry for being a little dense with this... ;)
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

steve wrote:Auto save after daily reset: If set, when Cumulus does the end of day reset, it will auto create NOAA-style reports for the month and year corresponding to the day which has just ended.
Auto FTP after auto-save: If set, when Cumulus does the first FTP upload after the daily reset, it will also upload the latest auto-created monthly and yearly NOAA-style reports. Note that you must already have regular (non-realtime) FTP configured.
So if I understand correctly, it only uploads these reports on the 1st upload of the day? Therefore any changes I make in NOAA setup today cannot be tested until tomorrow?
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by steve »

bnwrx wrote:Cumulus Help says to pu the entire path to the directory in, so should it be "ftp.woodlandweather.org/public_html/NOAA-reports"
If that's how your ftp file store is set up, yes. It's the same concept as setting the ftp directory for 'normal' uploads.
Steve
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by steve »

bnwrx wrote:So if I understand correctly, it only uploads these reports on the 1st upload of the day?
Yes. There's no point in uploading them on every upload as they only change at the end of the day.
Therefore any changes I make in NOAA setup today cannot be tested until tomorrow?
Any changes you make to NOAA setup other than the ftp settings will be reflected in the next manually or automatically created reports. If you change the ftp directory, that won't have any effect until it actually needs to use the directory, i.e. at the next auto-upload, after midnight.
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

steve wrote:
bnwrx wrote:So if I understand correctly, it only uploads these reports on the 1st upload of the day?
Yes. There's no point in uploading them on every upload as they only change at the end of the day.
Therefore any changes I make in NOAA setup today cannot be tested until tomorrow?
Any changes you make to NOAA setup other than the ftp settings will be reflected in the next manually or automatically created reports. If you change the ftp directory, that won't have any effect until it actually needs to use the directory, i.e. at the next auto-upload, after midnight.
So, this is now my path in NOAAsetup: ftp.woodlandweather.org/public_html/NOAA-reports

And now I'll wait till tomorrow to see if it works...

Thank you
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by steve »

bnwrx wrote:So, this is now my path in NOAAsetup: ftp.woodlandweather.org/public_html/NOAA-reports

And now I'll wait till tomorrow to see if it works...
You should be able to predict whether it will work or not based on what you have specified for the normal ftp directory and/or 'extra' remote files, it's exactly the same process. If your normal ftp directory is ftp.woodlandweather.org/public_html and that works, then your NOAA-reports directory is at ftp.woodlandweather.org/public_html/NOAA-reports
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

Have tried to no avail to get Cumulus to auto upload these reports. The only way I get them uploaded regularly is with Cumulus Toolbox. :?:
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by steve »

What have you got for ftp directory in the internet settings? What have you got for ftp directory in the NOAA settings? If you're uploading 'extra' files, what's an example of the remote filename for one of those?
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

OK here is what I've got:
You do not have the required permissions to view the files attached to this post.
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

My full FTP Directory is: Full FTP Directory in NOAA setup is:ftp.woodlandweather.org/public_html/NOAA-reports
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by steve »

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
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by bnwrx »

Steve, thank you for your time. I will try this idea....
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: JavaScript 'Viewer' of Cumulus generated NOAA style repo

Post by beteljuice »

... It looks like public_html and www are equivalent...
No - for 'normal' ftp it's already changed directory to /public_html, but I'm begining to wonder if that exists !

/public_html/www/ seems a bit OTT to me ?

Then there is the mis-pathed /www/view-guage.js which seems to be current - so something is crashing through to 'root' whatever that may be !

ftp log should tell us something.
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply