Page 1 of 1
NOAA Monthly report
Posted: Wed 29 May 2013 3:22 pm
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?
Re: NOAA Monthly report
Posted: Wed 29 May 2013 3:35 pm
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.
Re: NOAA Monthly report
Posted: Wed 29 May 2013 3:57 pm
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....
Re: NOAA Monthly report
Posted: Wed 29 May 2013 4:05 pm
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.
Re: NOAA Monthly report
Posted: Sun 02 Jun 2013 9:14 pm
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.
Re: NOAA Monthly report
Posted: Sun 02 Jun 2013 9:25 pm
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.
Re: NOAA Monthly report
Posted: Sun 02 Jun 2013 9:32 pm
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.
Re: NOAA Monthly report
Posted: Sun 02 Jun 2013 10:23 pm
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.
Re: NOAA Monthly report
Posted: Mon 03 Jun 2013 12:27 am
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

Re: NOAA Monthly report
Posted: Mon 03 Jun 2013 5:23 am
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.
Re: NOAA Monthly report
Posted: Mon 03 Jun 2013 7:23 am
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).
Re: NOAA Monthly report
Posted: Mon 03 Jun 2013 12:24 pm
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
Re: NOAA Monthly report
Posted: Mon 03 Jun 2013 9:46 pm
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?
Re: NOAA Monthly report
Posted: Mon 03 Jun 2013 10:32 pm
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.
Re: NOAA Monthly report
Posted: Tue 04 Jun 2013 9:51 pm
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.