Page 1 of 2
Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 4:11 pm
by Hoeveld
I am trying to get NOAA reports to my website
https://metwatcher.co.uk/index.htm
The desktop version works fine and the NOAA reports are available and working
Can a contributor please advise how I can get the NOAA reports working on the REPORTS tab on my site ?
I have read postings /wiki and am missing something............
Many thanks..............
Attached screenshots
Cordially..........
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 5:26 pm
by freddie
I think you have to change your NOAA FTP directory to /Reports (rather than /)
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 5:55 pm
by Hoeveld
Many thanks for your prompt response.
That does not appear to work....
.
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 5:57 pm
by freddie
I know there have been some recent conversations regarding NOAA reports. Maybe use the forum Search facility to find them? I think you may have to make a change in one of the javascript files on your website too.
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 6:16 pm
by PaulMy
Hi,
Do you want the NOAA reports to be in your remote root or in another folder?
I have mine in a /Reports folder like
http://www.komokaweather.com/cumulusmx/ ... YR2021.txt
and in my CumulusMX NOAA settings I have the FTP directory as public_html/cumulusmx/Reports
Then in the js/noaarpts.js I had to modify the default
let rptPath = ''; to
let rptPath = 'Reports/'; for the reports to display
http://www.komokaweather.com/cumulusmx/noaareport.htm
Enjoy,
Paul
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 6:22 pm
by Hoeveld
Many thanks for taking time to reply and help....
I'll update you on my progress...
Cordially
Paul
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 6:39 pm
by PaulMy
Glad to share my experiences...
Presumably you are aware that the reports are created and FTP at end of day. You can manually FTP the existing files and then they should display from your website Reports tab.
Enjoy,
Paul
Re: Help Please - NOAA Reports - Website FTP
Posted: Fri 30 Apr 2021 11:49 pm
by ConligWX
just to clarify
please edit the file here:
https://metwatcher.co.uk/js/noaarpts.js
change:
to:
save and then refresh your web browser
Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 12:33 am
by beteljuice
OK ...
Post midnight check.
You have either ftp'd or Cumulus has uploaded your reports to Reports/
... but js/noaareports.js is still looking in the 'root' for them.
So do as Simon posted above.
Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 10:57 am
by Hoeveld
Gentlemen,
Many thanks for taking time to help & signpost me.....
I believe I have actioned the change to file js/noaarpts.js
I will update accordingly as I progress.......
Cordially.........
Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 12:15 pm
by ConligWX
Hoeveld wrote: ↑Sat 01 May 2021 10:57 am
Gentlemen,
Many thanks for taking time to help & signpost me.....
I believe I have actioned the change to file js/noaarpts.js
I will update accordingly as I progress.......
Cordially.........
just remember the change is to the file on your webserver and not in CumuluMX, as it is not automatically uploaded to the webserver.
Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 12:27 pm
by Hoeveld
Thanks for that..........I have also learnt about F12 and all the goodies that shows............
Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 12:36 pm
by Hoeveld
That works........
Report for April 2021 is working fine........
But only April, Not sure why that is ?? ( Jan , Feb & Mar are greyed out )...Data starts 1 Jan 2021.......

Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 12:47 pm
by ConligWX
it only shows that because there are only two files in the reports directory
https://metwatcher.co.uk/Reports/
Code: Select all
NOAAMO0421.txt 2021-05-01 00:00 3.3K
NOAAYR2021.txt 2021-05-01 00:00 2.0K
if you have more NOAA reports in your cumulus install you will need to upload them manually. now you have a website setup, the upload of noaa files will be for new files only.
do you have any more NOAA files in the CumulusMX install?
Re: Help Please - NOAA Reports - Website FTP
Posted: Sat 01 May 2021 1:04 pm
by Hoeveld
Simon and others thanks for your help...
Screenshot of reports directory....
If you could point me in right direction