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

NOAA Monthly report

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
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:

NOAA Monthly report

Post by bnwrx »

Did not notice this before, maybe its always been the case. When viewing the NOAA Monthly Report, it currently has data thru May 27. Today is May 29 and my "roll over" time is midnight. My "dayfile.txt" has data from the 28th. Why doesn't the NOAA Monthly Report show the 28th's data?
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: NOAA Monthly report

Post by steve »

Do you mean the one on your web site, or the one on the PC, or are both the same? The report gets created just after midnight, and then uploaded to your web site at the next ftp update, assuming you have it configured to do so. One or both of those presumably didn't occur. There may be useful information in the diags file.
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: NOAA Monthly report

Post by bnwrx »

cumulus.009
steve wrote:Do you mean the one on your web site, or the one on the PC, or are both the same? The report gets created just after midnight, and then uploaded to your web site at the next ftp update, assuming you have it configured to do so. One or both of those presumably didn't occur. There may be useful information in the diags file.
WOW! Now I am confused....When I wrote this thread, the report on my "computer" displayed data thru the 27th. NOW it has data thru the 28th??

Diags file attached....
You do not have the required permissions to view the files attached to this post.
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: NOAA Monthly report

Post by steve »

The report was created successfully just after midnight, but you're getting ftp errors (error 426), so presumably the file upload failed. The 426 error indicates a problem at the server, or with your connection to it.
Steve
SergiosK
Posts: 24
Joined: Mon 15 Apr 2013 2:17 pm
Weather Station: WH8681-Solar
Operating System: Windows XP SP2
Location: Greece

Re: NOAA Monthly report

Post by SergiosK »

Hello, i want to ask you about Noaa Monthly report. Its an ftp question. I have a pc to work as a "meteo" server with apache and ftp (xlight) and they work under windows XP pro. The cumulus runs 24h of the day. I want the noaa reports goes to c:\server\apache\htdocs\watson\reports. What i have to do? i must go at configuration->internet and set hostname:192.168.1.5 as my local address, ftp port 21 ( i have set it at ftpd) directory? When i ftp to my local address i go at c:\ so the directory i must set is c:\server\apache\htdocs\watson\reports ? or /server/apache/htdocs/watson/reports ?
And what should be at configuration->Noaa setup at ftp directory? the same as c:\server\apache\htdocs\watson\reports?
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: NOAA Monthly report

Post by steve »

SergiosK wrote:/server/apache/htdocs/watson/reports ?
This one; it has to be something that the ftp server will understand. But I suspect that what you actually want is htdocs/watson/reports
And what should be at configuration->Noaa setup at ftp directory?
The same as above. But do you only want to ftp the NOAA reports and nothing else? The NOAA report ftp is really designed to work in addition to uploading pages to a web site.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA Monthly report

Post by mcrossley »

One question, is Cumulus running on the same physical machine as Apache? It isn't clear.

If so you do not need to bother with FTP, you can just copy the files.
SergiosK
Posts: 24
Joined: Mon 15 Apr 2013 2:17 pm
Weather Station: WH8681-Solar
Operating System: Windows XP SP2
Location: Greece

Re: NOAA Monthly report

Post by SergiosK »

Yes, they work all together. the cumulus folder is at c:\cumulus . The apache runs at c:\server\apache\htdocs\watson\
At watson folder is the saratoga template. I know that cumulus have folder c:\cumulus\reports but i want to take it at my apache server as saratoga template have noaa link.
I want to make it automatic.
Can it be automatic?
Of course i know that i can make a hardlink but when starts the next month i must copy and make a hardlink by fsutil hardlink create destfile sourcefile.
Thank you.
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: NOAA Monthly report

Post by beteljuice »

What Mark means is if you UNtick (Cumulus > files >) ftp and give a 'local' destination - the processed file will be copied accross the machine ;)
Image
......................Imagine, what you will KNOW tomorrow !
SergiosK
Posts: 24
Joined: Mon 15 Apr 2013 2:17 pm
Weather Station: WH8681-Solar
Operating System: Windows XP SP2
Location: Greece

Re: NOAA Monthly report

Post by SergiosK »

When i was installed cumulus for first time i was set the destination directory of noaa files to /noaa at configuration->noaa setup and tick autosave after daily reset and untick the ftp but i was tell it the directory /noaa.
I dont understand where is the option for the local copying.
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: NOAA Monthly report

Post by steve »

There isn't an option for copy instead of ftp for the NOAA reports. If you want to do that, the easiest way would probably be to get Cumulus to auto-generate them, but to run a 'batch' command using the 'daily' external command setting. But then the batch file would have to work out the correct file name (or it could just copy them all).
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA Monthly report

Post by mcrossley »

I use a batch file, to copy the reports I use xcopy with the /m switch to only copy modified files...

Code: Select all

rem Copy dayfile
xcopy "C:\Cumulus\data\dayfile.txt" c:\xampp\htdocs\weather\data\dayfile.txt /y
rem Copy monthly log files
xcopy "C:\Cumulus\data\*log.txt" c:\xampp\htdocs\weather\data\ /y /m
rem Copy NOAA reports
xcopy "C:\Cumulus\reports\*.txt" c:\xampp\htdocs\weather\reports\ /y /m
SergiosK
Posts: 24
Joined: Mon 15 Apr 2013 2:17 pm
Weather Station: WH8681-Solar
Operating System: Windows XP SP2
Location: Greece

Re: NOAA Monthly report

Post by SergiosK »

Mark, do you mean to make a .bat file and going into configuration ->internet->external program?
Or just make a .bat file and run it with a cron program?
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA Monthly report

Post by mcrossley »

I actually run mine from Toolbox at 00:05 every day, but you can now add the batch file to Cumulus "Daily" external programs - that feature wasn't available when I set my system up.
SergiosK
Posts: 24
Joined: Mon 15 Apr 2013 2:17 pm
Weather Station: WH8681-Solar
Operating System: Windows XP SP2
Location: Greece

Re: NOAA Monthly report

Post by SergiosK »

Great! thank you, it works very well and i set it with cron to xcopy at 00:05 every day midnight.Thank you.
Post Reply