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
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-reports
Moderator: mcrossley
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
NOAA-reports
Hi,
Can NOAA-reports be uploaded via ftp by using ftpd on debian because I use a script at the moment and every month I have to change it to the number of the month i.e. 03 04 etc. Does ftp work? because at the moment it doesn't.
Many Thanks.
Can NOAA-reports be uploaded via ftp by using ftpd on debian because I use a script at the moment and every month I have to change it to the number of the month i.e. 03 04 etc. Does ftp work? because at the moment it doesn't.
Many Thanks.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- 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-reports
If you mean the automatic ftp of NOAA-style reports by Cumulus MX, then yes, it works for me and for many others. Turn on debug logging and ftp logging, and then after the next upload, zip up the MXdiags folder and attach it along with the ftp log. In the meanwhile, you could show what settings you have in "Web/FTP settings" in the internet settings, and the file formats and ftp directory (and the settings between those) in the NOAA report settings.richard_newberry wrote:Does ftp work? because at the moment it doesn't.
I'm assuming that as you specifically mention NOAA reports that the ftp of your web pages etc is working OK?
Steve
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
Thanks Steve for the reply.
This might sound odd but i use a cron script everyday to copy the reports from /home/cumulus/reports to /var/www/NOAA-reports at the beginning of a new month i gotta change the month in the cron script. I wont have time to keep changing it when my son arrives. So im only using ftp for NOAA-reports.
This might sound odd but i use a cron script everyday to copy the reports from /home/cumulus/reports to /var/www/NOAA-reports at the beginning of a new month i gotta change the month in the cron script. I wont have time to keep changing it when my son arrives. So im only using ftp for NOAA-reports.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- 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-reports
You can't just use ftp for NOAA reports, it does the ftp at the next ftp update after midnight. It doesn't sound like you're using ftp anyway - you say your script copies the file (which makes sense as it's the same machine). But in any case, you could presumably change your script so that it works out what the correct filename is.
Steve
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
What script can I use to determine which filename to you at the minute I have this.
@daily cp /home/cumulus/CumulusMX/Reports/NOAAMO0416.txt /var/www/NOAA-reports
@daily cp /home/cumulus/CumulusMX/Reports/NOAAMO0416.txt /var/www/NOAA-reports
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- rogerthn
- Posts: 549
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: NOAA-reports
Maybe something like?richard_newberry wrote:What script can I use to determine which filename to you at the minute I have this.
@daily cp /home/cumulus/CumulusMX/Reports/NOAAMO0416.txt /var/www/NOAA-reports
Code: Select all
@daily cp /home/cumulus/CumulusMX/Reports/NOAAMO$(date +%m%d).txt /var/www/NOAA-reports
- 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-reports
Don't forget that on the first of the month you need to copy the report from the previous month, so the script should always use yesterday's date.
Steve
- rogerthn
- Posts: 549
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: NOAA-reports
OK, then something like?steve wrote:Don't forget that on the first of the month you need to copy the report from the previous month, so the script should always use yesterday's date.
@daily cp /home/cumulus/CumulusMX/Reports/NOAAMO$(date --date="1 days ago" +%m%d).txt /var/www/NOAA-reports

-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
Thanks Rogerthn,
Let you know if it works OK.
Let you know if it works OK.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- rogerthn
- Posts: 549
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: NOAA-reports
Great!richard_newberry wrote:Thanks Rogerthn,
Let you know if it works OK.
It should even be possible to do
Code: Select all
@daily cp -v /home/cumulus/CumulusMX/Reports/NOAAMO$(date --date="1 days ago" +%m%d).txt /var/www/NOAA-reports > /tmp/NOAA-reports.log 2>&1
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
Ok thanks. I will do it before 12am.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
The script doesnt execute @daily but works if i manually execute it. Is it a problem with cron?
I changed %d to %y cus its 0416 etc.
Also do you need -v after @daily?
Thanks
I changed %d to %y cus its 0416 etc.
Also do you need -v after @daily?
Thanks
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- rogerthn
- Posts: 549
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: NOAA-reports
Anything in /tmp/NOAA-reports.log?richard_newberry wrote:The script doesnt execute @daily but works if i manually execute it. Is it a problem with cron?
My knowledge regarding NOAA-reports = 0richard_newberry wrote:I changed %d to %y cus its 0416 etc.
0416 as in April 2016?
When does the file get updates?
When does the filename change?
-v (or --verbose) explain what is being donerichard_newberry wrote:Also do you need -v after @daily?
i.e. If you want to see what has happended is should be there after cp.

-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
‘/home/cumulus/CumulusMX/Reports/NOAAMO0516.txt’ -> ‘/var/www/NOAA-reports/NOAAMO0516.txt’
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: NOAA-reports
No nothing is in /tmp/NOAA-reports.log it's like it doesn't execute in cron under user cumulus
but If I do it when I login as cumulus and put the command in without @daily it works but in the /tmp/NOAA-reports.log it's got weird characters in it as shown in the post previous.
but If I do it when I login as cumulus and put the command in without @daily it works but in the /tmp/NOAA-reports.log it's got weird characters in it as shown in the post previous.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk