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 Reports

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

NOAA Reports

Post by Mapantz »

Since swapping over to PHP upload, I'm getting those weird symbols for &deg when it's uploaded to my website.

It shows them whether Use UTF-8 encoding is enabled or disabled. It didn't do it while I was using FTP.
Screenshot 2023-03-13 000358.png
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: NOAA Reports

Post by HansR »

When I go to your site - with Chrome - I don't see that so it seems a setup in your browser:
    Schermafbeelding 2023-03-13 041312.jpg
    You do not have the required permissions to view the files attached to this post.
    Hans

    https://meteo-wagenborgen.nl
    CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
    BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
    M1DUL
    Posts: 384
    Joined: Wed 31 Dec 2008 1:56 pm
    Weather Station: Davis VP2 Plus Daytime FARS WLL
    Operating System: Windows 11 Pro Version
    Location: Poole, Dorset UK
    Contact:

    Re: NOAA Reports

    Post by M1DUL »

    Hello Mapantz,
    I have just had a look at your NOAA Reports on your website, and I can only see those weird symbols for degrees in this year only.
    I do not see those odd symbols in any other years or in March or any other Months.

    I have checked your website with Firefox, Google Chrome and Microsoft Edge, and they all show those odd symbols, when you select 2023 only.
    They look like question marks inside a diamond shape.

    Here is a screen print.
    NOAA Reports Problems in 2023 Year only.png
    NOAA Reports no Problems in March or any other Months.png
    Good luck with sorting the problem.

    Kindest regards
    Mike
    You do not have the required permissions to view the files attached to this post.
    Mike

    OS : Windows 11 Professional
    Weather Station : Davis Daytime Fan-Aspirated Radiation shield, UV & Solar, Wireless Weather Station, connected to a Davis WeatherLink Live.
    Cumulus MX v.4.4.2 build 4085
    https://branksomeweather.co.uk
    Mapantz
    Posts: 1992
    Joined: Sat 17 Dec 2011 11:55 am
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 11 x64
    Location: Dorset - UK
    Contact:

    Re: NOAA Reports

    Post by Mapantz »

    I regenerated the report and manually uploaded the March one. However, the UTF8 problem comes back when the file is automatically uploaded at the end of the day.
    Image
    User avatar
    ConligWX
    Posts: 1835
    Joined: Mon 19 May 2014 10:45 pm
    Weather Station: Davis vPro2+ w/DFARS + AirLink
    Operating System: Ubuntu 24.04.1 LTS
    Location: Bangor, NI
    Contact:

    Re: NOAA Reports

    Post by ConligWX »

    maybe file creations at end of day are not in UTF-8 format

    @mcrossley?
    Mapantz
    Posts: 1992
    Joined: Sat 17 Dec 2011 11:55 am
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 11 x64
    Location: Dorset - UK
    Contact:

    Re: NOAA Reports

    Post by Mapantz »

    Image
    User avatar
    ConligWX
    Posts: 1835
    Joined: Mon 19 May 2014 10:45 pm
    Weather Station: Davis vPro2+ w/DFARS + AirLink
    Operating System: Ubuntu 24.04.1 LTS
    Location: Bangor, NI
    Contact:

    Re: NOAA Reports

    Post by ConligWX »

    could you post your noaa_climate.php file in here? or whatever the file is to display the report.

    I know my saratoga templates noaa script file needed to be amended in order to display correctly even though the main main was forcing UTF-8 charset. my cmx template files displayed correctly so the problem was the script calling the text file needed to be fixed rather than the noaa report file.
    User avatar
    ConligWX
    Posts: 1835
    Joined: Mon 19 May 2014 10:45 pm
    Weather Station: Davis vPro2+ w/DFARS + AirLink
    Operating System: Ubuntu 24.04.1 LTS
    Location: Bangor, NI
    Contact:

    Re: NOAA Reports

    Post by ConligWX »

    I noticed you have set on that page:

    Code: Select all

     <meta charset="utf-8">
    but then further down you have:

    Code: Select all

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    I'm wondering if that's forcing the charset to show the weird characters.

    line 269 or there abouts. I know this is only on a few reports, but it may make a difference I hope.
    Mapantz
    Posts: 1992
    Joined: Sat 17 Dec 2011 11:55 am
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 11 x64
    Location: Dorset - UK
    Contact:

    Re: NOAA Reports

    Post by Mapantz »

    I'll check it out when I get home later.

    The only thing is, I didn't have this problem before I started with the PHP upload setting.
    Image
    User avatar
    ConligWX
    Posts: 1835
    Joined: Mon 19 May 2014 10:45 pm
    Weather Station: Davis vPro2+ w/DFARS + AirLink
    Operating System: Ubuntu 24.04.1 LTS
    Location: Bangor, NI
    Contact:

    Re: NOAA Reports

    Post by ConligWX »

    yep I see that with the newer reports. not sure if Mark is aware of that as yet. though uploading should not be changing the charset file at all.

    can you inspect the noaa report files in notepad++ and see if that are of a UTF-8 format. the CHARSET should show on bottom bar of notepad++ see if the newer files are different.
    User avatar
    HansR
    Posts: 6926
    Joined: Sat 20 Oct 2012 6:53 am
    Weather Station: GW1100 (WS80/WH40)
    Operating System: Raspberry OS/Bookworm
    Location: Wagenborgen (NL)
    Contact:

    Re: NOAA Reports

    Post by HansR »

    I doubt it has to do with upload.php : why don't I have the issue then?
    Hans

    https://meteo-wagenborgen.nl
    CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
    BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
    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 Reports

    Post by mcrossley »

    I see that the UTF8 option for NOAA reports is not used for PHP (and it should be, now fixed), but it does seem to affect my files. The PHP transferred NOAA files on my web server are still in UTF8 format when I download them again.
    Mapantz
    Posts: 1992
    Joined: Sat 17 Dec 2011 11:55 am
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 11 x64
    Location: Dorset - UK
    Contact:

    Re: NOAA Reports

    Post by Mapantz »

    I'm still getting the same issue after updating to the latest version.

    If I disable UTF8 in the noaa settings, regenerate the report, and manually upload it via WinSCP, no issues.
    If I enable UTF8, regenerate the report, manually upload it, I get the encoding problem.

    It doesn't matter what I try, I get 3 outcomes.
    Screenshot 2023-03-17 010136.png
    Screenshot 2023-03-17 010557.png
    Screenshot 2023-03-17 010046.png
    ConligWX wrote: Tue 14 Mar 2023 12:24 pm can you inspect the noaa report files in notepad++ and see if that are of a UTF-8 format. the CHARSET should show on bottom bar of notepad++ see if the newer files are different.
    All text files are saved as ANSI.

    Changing the March one to UTF8 made no difference in the uploads via CMX. If I manually upload it, I get the encoding problem. If I swap it back to ANSI and upload manually, no issues.
    You do not have the required permissions to view the files attached to this post.
    Image
    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 Reports

    Post by mcrossley »

    I'm maybe not understanding something here, but you are creating the NOAA reports as ANSI, uploading them and they are still ANSI, then displaying them on a page that uses UTF-8 encoding?

    That of course then has an encoding mismatch and displays "corrupt" characters.

    On my test site I create the reports as UTF-8 and display them on the default site with UTF-8 encoding and they look ok. - https://weather.wilmslowastro.com/testu ... report.htm
    qisdtech
    Posts: 9
    Joined: Sun 28 Aug 2022 5:53 pm
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 2025 Server

    Re: NOAA Reports

    Post by qisdtech »

    I'll add that my NOAA daily reports do not upload to my website after I changed to PHP from SFTP. The attachment shows the MxDIAG log during that time where it creates the daily files. I'm running the latest CumulusMX build. Any suggestions on what I may have messed up? Thanks in advance.
    You do not have the required permissions to view the files attached to this post.
    Post Reply