Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
NOAA reports
Moderator: mcrossley
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
NOAA reports
I am having difficulty getting the monthly NOAA reports to display in MX 3.14.1 build 3160. I can generate the reports without problems, upload them to my website after the midnight rollover, but the "Reports" page keeps telling me it can't find the requested report. To confuse me further, the page defaults to the NOAA annual report, and displays that OK when you select the Reports page - just one month at the moment. But when I try to use the drop-down menu to select the monthly report for January 2022 it tells me it can't be found. Also tells me it can't find the Annual report for 2022 either although it is clearly displaying it. I don't have much knowledge of java but noaarpts.js seems to set the report path then display the current annual report while it loads the other reports for the drop down menu. I am probably misunderstanding but it seems to be working up to that point. Where is the NOAA report page looking for its data? Is this where it is failing? Help gratefully received!
- philpugh
- Posts: 385
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 11 (RPi4)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: NOAA reports
Hi,
You need to edit noaarpts.js to set the report path to point to your folder to where the reports are being copied.
In my case (for example) all the NOAA reports are stored in a folder NOAA which is directly below the main web page folder and the set path line in noaarpts,js is :
NOAAMO0122.txt and NOAAYR2022.txt so far!
If you have been editing things already I would try flushing your browser cache to ensure the correct version is being used.
You need to edit noaarpts.js to set the report path to point to your folder to where the reports are being copied.
In my case (for example) all the NOAA reports are stored in a folder NOAA which is directly below the main web page folder and the set path line in noaarpts,js is :
Also check that the individual reports have the correct file name format := eg NOAAMOmmyy.txt for monthly reports and NOAAYRyyyy.txt for yearly reports. You should have :let rptPath = 'NOAA/'; // Your path should have a trailing "/", eg. 'Reports/'
NOAAMO0122.txt and NOAAYR2022.txt so far!
If you have been editing things already I would try flushing your browser cache to ensure the correct version is being used.
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
Re: NOAA reports
Thanks Phil.
I've copied the relevant bit of noaarpts.js from a server download:
let rptPath = 'htdocs/Reports/'; // Your path should have a trailing "/", eg. 'Reports/'
let startYear, endYear;
let startMonth, endMonth;
etc etc
so I see this as setting the path to 'Reports' as a subfolder of 'htdocs' which is what my service provider uses as the starting folder for 'index.htm'. I am sending the reports from MX to this folder, I can see the uploads in the directory 'Reports' as NOAAMO0122.txt and NOAAYR2022.txt
Does that clarify what I've done?
I've copied the relevant bit of noaarpts.js from a server download:
let rptPath = 'htdocs/Reports/'; // Your path should have a trailing "/", eg. 'Reports/'
let startYear, endYear;
let startMonth, endMonth;
etc etc
so I see this as setting the path to 'Reports' as a subfolder of 'htdocs' which is what my service provider uses as the starting folder for 'index.htm'. I am sending the reports from MX to this folder, I can see the uploads in the directory 'Reports' as NOAAMO0122.txt and NOAAYR2022.txt
Does that clarify what I've done?
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: NOAA reports
You don't need the htdocs bit. htdocs is the "document root' of your webserver, so your entry should be Reports/ which is where your NOAA files are relative to the webserver document root'.
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
Re: NOAA reports
Thanks Freddie I'll take that out, I do need it in the upload path though otherwise I get the NOAA reports dumped in a directory above the htdocs root. One thing I've just discovered is that there was a copy of the annual report in the htdocs root, if I delete that then the NOAA page on the website doesn't find anything to load despite it looking to me as if the Reports folder is where the noaarpts.js is pointing.
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: NOAA reports
Yes, definitely needed in the upload path. Talking of which, what is your upload path?
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
Re: NOAA reports
htdocs/Reports. The two generated NOAA reports appear in the directory Reports which is in htdocs and that's what I would have expected. Can't seem to point the MX website page to it though.
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
Re: NOAA reports
Yes I did, in fact that's where I started. Then tried adding htdocs which as you said I didn't need. I feel sure this is something quite simple I've done or not done!
- mcrossley
- Posts: 12766
- 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 reports
It all works for me, so it looks like you fixed it.
Did you force a reload of the page - Ctrl-F5 - each time you edited the js file?
Did you force a reload of the page - Ctrl-F5 - each time you edited the js file?
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
Re: NOAA reports
No I didn't Mark. I see this morning the files were uploaded to Reports at a few seconds after midnight, but my website page just doesn't see them so I can't see beyond a pathing issue somewhere. When I find time later today I may reload my CMX 3160 and modify menu.js to work with my website as usual, see if anything changes.
When you say it works fine for you do you mean that looking at my website you can see the NOAA reports? Or is it your website that works fine?
When you say it works fine for you do you mean that looking at my website you can see the NOAA reports? Or is it your website that works fine?
- mcrossley
- Posts: 12766
- 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 reports
Opps sorry ignore that - I had click the link to Phil's web site above.
What is the link to your site?
What is the link to your site?
-
- Posts: 8
- Joined: Sat 16 Jun 2012 12:14 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Tavistock, Devon
Re: NOAA reports
tavyweather.info, I set it up in 2016 to keep my kids in the Midlands up to date with how our garden is progressing as well as what the weather is like. The CMX webpages are in 'Weather detail'.
- philpugh
- Posts: 385
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 11 (RPi4)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: NOAA reports
Geoff,
The reports page is looking as if it is working correctly from here!
It is pointing to a caching issue with your browser - try connecting with a different browser or completely erase your history (the first is less of a hassle!)
The reports page is looking as if it is working correctly from here!
It is pointing to a caching issue with your browser - try connecting with a different browser or completely erase your history (the first is less of a hassle!)
You do not have the required permissions to view the files attached to this post.
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
- philpugh
- Posts: 385
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 11 (RPi4)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: NOAA reports
Geoff
Your garden look amazing - a lot of time invested there I think!
Your garden look amazing - a lot of time invested there I think!
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/