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

Post Reply

Change Cumulus MX to include the degree, minute, seconds symbols in NOAA reports?

Yes
13
87%
No
2
13%
 
Total votes: 15

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:

NOAA Reports

Post by mcrossley »

It seems Cumulus MX has always generated the NOAA reports without the latitude and longitude degrees, minutes, seconds symbols. C1 had them, and as far as I can see WeatherLink includes them.

So do I change MX to match C1 and WeatherLink or leave it as is?
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 »

Nice, you can correct your vote :)

EDIT: Actually, what do the official NOAA reports show? That seems a legitimate question. Maybe Steve intended the symbols to disappear?
Last edited by HansR on Thu 30 Apr 2020 1:53 pm, edited 1 time in total.
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
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: NOAA Reports

Post by sfws »

I have voted yes, because at the moment you see a series of numbers without units, that is a bit stupid when units shown for everything else.

An alternative is to use decimal degrees to give same level of resolution, but you don't have to show a series of numbers separated by spaces; in that case you might not need the units because people might guess it was degrees, however for locales where radians or other units are preferred....
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: NOAA Reports

Post by sfws »

HansR wrote: Thu 30 Apr 2020 1:50 pm EDIT: Actually, what do the official NOAA reports show? That seems a legitimate question.
The US National Weather Service (NOAA is part of that) have a different design (see https://w2.weather.gov/climate/getclimate.php?wfo=riw]), but despite the name he gave to his reports, Steve never actually attempted to implement the NWS design. In this topic viewtopic.php?f=20&t=5689 he reveals he copied what Weatherlink had done to get the layout, and then modified it to something he could implement.

If you are interested....here is all I can tell you. Someone (I'm not going to search for who) asked for this feature in enhancement request 44. Steve first implemented it I think as part of his Cumulus 2 development. Subsequently, items (like these reports) were added to Cumulus 1 after 2 was abandoned. Steve was quite clear that his starting point was Ken True's implementation of the Weatherlink reports in the Saragota suite. To sum up, Weatherlink introduced the report first, and that is the style that first Ken copied and later Steve.
HansR wrote: Thu 30 Apr 2020 1:50 pm Maybe Steve intended the symbols to disappear?
My guess is that Steve just never got around to adding the symbols. To put it in context, if I recall correctly April 2014 was when Steve introduced the choice in Cumulus 1 of either ISO-8859-1 encoding or UTF-8, and in those early MX days he probably was unsure what encoding to set as default in MX, and that affects those extra symbols.
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 »

sfws wrote: Sat 02 May 2020 6:51 am The US National Weather Service (NOAA is part of that) have a different design (see https://w2.weather.gov/climate/getclimate.php?wfo=riw]), but despite the name he gave to his reports, Steve never actually attempted to implement the NWS design. I
You could have given the link to the text based report, that's what we're talking about.

And for the rest: thanks for the info. I can imagine Steve took his own route. That NOAA site is pretty obfuscated and so are the reports.
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 think these reports originally took their inspiration from the the Climatological reports (second half), annual, and monthly.
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: NOAA Reports

Post by laulau »

The Cumulus reports look like those from Weatherlink ! ;)
Laurent

Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: NOAA Reports

Post by PaulMy »

The Cumulus reports look like those from Weatherlink !
Yes that was Steve's intention when he added it to v.1.9.2 build 1004 in July 2011.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: NOAA Reports

Post by Buford T. Justice »

JMO, but I hate degrees, minutes, and seconds for GPS coordinates. Decimal is extremely accurate and you don't need N, S, E , and W. On my current NOAA report, it has:

Code: Select all

Lat: N 38� 37' 50"   Lon: W 089� 26' 58"
This could be something much more simple like:

Code: Select all

GPS: 38.631029, -89.449659
Definitely agree that the ° symbol needs to be there for temperature at the top of the report.
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 »

Well, I've changed MX to be the same as C1 and WeatherLink - it now has the symbols back.
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: NOAA Reports

Post by BCJKiwi »

Have a problem with MX NOAA Reports and editor

For May, there are no daily entries.

If I go to the UI
Reports
NOAA Monthly Report
and click on
(Re)Generate Report
It still does not create any records

If I load April's report and re-generate that, it loses all the records.
Also the degree symbols do not display in the UI monthly report editor

The UI Year report does show a record for May with data
I'm not sure about the numbers
NOAAYR2020.zip
File is ANSI Windows(CR/LF)

Fortunately I have C1 running at the moment and was able to pull the reports from there.
Have not changed any NOAA settings
Monthly filename format
'NOAA'MMyy'.txt'
Yearly filename format
'NOAAYR'yyyy'.txt'
No tick - Use UTF8 encoding
Tick - Auto save after daily reset
Tick - Auto FTP after auto save
FTP directory is correct. The file arrives but has no daily records as there are no daily records in MX Reports NOAAMO0520.txt.
You do not have the required permissions to view the files attached to this post.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: NOAA Reports

Post by sfws »

I think you were wrong to post your problem in this voting topic, but as you did, I am replying here.
BCJKiwi wrote: Mon 18 May 2020 3:41 am File is ANSI Windows(CR/LF)
As Mark Crossley has already told you, this is not the encoding that MX uses for NOAA reports when UTF-8 is not ticked. MX uses ISO-8859-1 encoding (see line 49 in https://github.com/cumulusmx/CumulusMX/ ... Reports.cs, that is different to ANSI. Yes, on Windows it does use CR LF as terminator, because Windows inserts that (as Microsoft by design hoped its files would not to be read by other operating systems), it is not a question of MX coding differently because it is Windows. You can see the line-by-line code in https://github.com/cumulusmx/CumulusMX/ ... MX/NOAA.cs.


It is very simple, as I explained before, I previously had a web page using ISO-8859-1 encoding to successfully display my NOAA reports when previously I had those in ISO-8859-1 encoding. In other words stick to same encoding for all components, I am sure that is what most people would do, keep it simple, and it works.

You however in your implementation seem determined to mix encodings without apparently actually understanding the meaning of the technical terms you quote, so it is no wonder by introducing complexity you experience difficulty. As I explained in detail before in your earlier UI topic your UI viewer uses UTF-8 encoding for the web page, but expects report to be ANSI encoding (which it can never be) and it then does 2 character replacements (replacing space and replacing degree symbol, both result in new degree symbols) that mess up the encoding. Sorry if that sounds harsh/blunt, but it is a true summary of your approach.
BCJKiwi wrote: Mon 18 May 2020 3:41 am For May, there are no daily entries
On my implementation in the admin interface, the May NOAA report:
*has entries for each day
*has all the correct symbols

When I use my report viewer on my web server, the above is also true. As I said before, I have abandoned use, in your UI package, of the equivalent web page (because of the encoding mess you created).
BCJKiwi wrote: Mon 18 May 2020 3:41 am If I load April's report and re-generate that, it loses all the records.
Also the degree symbols do not display in the UI monthly report editor
On my implementation in the admin interface there is no problem with April report either:
*has entries for each day
*has all the correct symbols

When I use my report viewer on my web server, the April report has all the lines, but although the degree symbol is there for temperature, the symbols introduced in 3.6.0 are not there as the April report has not been uploaded again since when it was generated by an earlier MX version (3.5.4). Simply uploading the local April file to my web server, gives me the correct symbols without needing to click regenerate. So it is now okay on my web server too.

My February report generated by Cumulus 1 does have all days and all symbols correctly shown. The March report was affected by my transition from C1 to MX. It had the full symbols, but lost them when regenerated by MX 3.4.6. Simply uploading the local March file to my web server, gives me the correct symbols without needing to click regenerate.


BCJKiwi wrote: Mon 18 May 2020 3:41 am No tick - Use UTF8 encoding
Tick - Auto save after daily reset
Tick - Auto FTP after auto save
My settings differ only in that I have UTF8 encoding ticked, to be consistent with encoding for all my web pages and therefore the encoding used by my report viewer.

Just in case the MX admin interface did as you describe, I changed my settings to match yours, I regenerated the May report and again found for me all rows are generated correctly and I conclude your problems in the admin interface are therefore not linked with how MX works, but specific to your implementation.
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: NOAA Reports

Post by BCJKiwi »

@sfws
Instead of re-iterating your preference ( yes, preference ) of file format and somehow implying that my use of the same format I have used since the beginning in C1 (which Mark Crossley indicated IS equivalent to the C1 default ISO 8859-1), you may instead have actually read what I wrote and realised that the file format had nothing to do with the problem I faced.

Instead, recognising (with your great wealth of knowledge of all things Cumulus) that the NOAA files are generated from the dayfile, you could have suggested I might like to check my dayfile.

I had not considered the dayfile as it was not causing problems for anything else, but I belatedly realised this may be the cause of the issue and found it was.
So now everything is working again with NO change to the NOAA file format I use.

You may also consider that in another post on this topic elsewhere you found it unreasonable to expect someone to change their historical files to a new format, yet if I were to follow your preference I would have to do exactly that.

END of discussion.
Post Reply