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

Geographic resolution extension recommendation

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
jhaus55
Posts: 5
Joined: Fri 11 Sep 2009 9:08 am
Weather Station: FWS20 / WH1080

Geographic resolution extension recommendation

Post by jhaus55 »

Hi,
I'm using Cumulus for some weeks now and I wanted to add the geographic position of my weatherstation.
According to google maps I found N48°40'58.5" E9°13'15" as the correct coordinates.

Unfortunately Cumulus does not allow decimals of arc seconds, so I can not enter 58.5".
I try N48°40'58" and figure out it points to my neighbour south of my house. :(
I try N48°40'59" and figure out it points to my neighbour north of my house. :(

So I calculated Cumulus resolution of 1 arc-second which is 31m.

For Germany I would recommend to allow at least one decimal digit to be able to
point to the correct geographic area. Two digits (resol. of 31cm) would be perfect.

I'm sorry that my ground for my house is not bigger, it is too expensive in Germany. ;)
I hope it is possible to solve this issue easily.
Best regards
Juergen Hausmann
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Geographic resolution extension recommendation

Post by steve »

It's not clear to me to what use you want to put the increased resolution? If it's on your web site, you could edit the pages and put in whatever you want by hand (or edit the cumulus.ini file, see below).

Cumulus allows input of co-ordinates (1) so it can calculate sunrise/sunset etc (2) so that the co-ordinates can appear on a web site so that people know which area your weather reports are coming from. I don't really understand the purpose of exactly pinpointing your weather station in Cumulus? I could change the input to allow decimal places to be specified for the seconds field, but some people struggle with getting the correct figures in anyway, and I don't really want to complicate it further.

You could edit cumulus.ini and set the values in there (you'll see it's held as a decimal and as a text string, the latter is what appears on a website). But be aware that if you change any other settings subsequently, your changes will be overwritten.

Perhaps if you could explain what the purpose is, I could see how I might address it?
Steve
jhaus55
Posts: 5
Joined: Fri 11 Sep 2009 9:08 am
Weather Station: FWS20 / WH1080

Re: Geographic resolution extension recommendation

Post by jhaus55 »

Hi Steve,
thank you very much for your quick reply.
Well I tried to edit the *.ini file, that works but if it changes after each change in
the configuration settings it is very likely that I forget to change this every time.

I like the Cumulus web-layot very much, I'm lazy and I like precision - and today I see that it is so easy to copy the co-ordinates from the Cumulus hgeader into the Google entry and push the maps-key and I would expect that the ground is shown where the waetherstation is placed and not one of my neighbours grounds.
I leave it up to you to add one or two digits or I will do a work around and remove the co-ordinates and point to a page with the co-ordinates and other station information.
Thank you very much for taking the time to think about it.
Best regards
Juergen Hausmann
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Geographic resolution extension recommendation

Post by daj »

jhaus55 wrote: Well I tried to edit the *.ini file, that works but if it changes after each change in
You need to close down Cumulus before editing the ini file. Sounds like you might have left it open during the edit
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Geographic resolution extension recommendation

Post by gemini06720 »

Juergen,

Am I to presume that you are using the standard Cumulus templates (such as 'indexT.htm') for creating your Web pages...

If so, it is quite easy to modify each templates (there are 6 files: 'gaugesT.htm', 'indexT.htm', 'recordT.htm', 'todayT.htm', 'trendsT.htm' and 'yesterdayT.htm') and modify the following line (all on one line):

<h2 style="text-align: left; text-transform: none;">
&nbsp;Latitude&nbsp;<#latitude>&nbsp;&nbsp;&nbsp;
&nbsp;Longitude&nbsp;<#longitude>&nbsp;&nbsp;&nbsp;
&nbsp;Elevation&nbsp;<#altitude>
</h2>

to something like:

<h2 style="text-align: left; text-transform: none;">
&nbsp;Latitude&nbsp;N&nbsp;48&deg;&nbsp;40'&nbsp;58.5"&nbsp;&nbsp;&nbsp;
&nbsp;Longitude&nbsp;E&nbsp;9&deg;&nbsp;13'&nbsp;15"&nbsp;&nbsp;&nbsp;
&nbsp;Elevation&nbsp;<#altitude>
</h2>

to obtain the following display/result (from the second 'h2' group of lines):

Latitude N 48° 40' 58.5" Longitude E 9° 13' 15" Elevation XX

By editing the templates files (such as 'indexT.htm') the latitude/longitude will remain as edited in the templates files and will not be replaced by Cumulus...
jhaus55
Posts: 5
Joined: Fri 11 Sep 2009 9:08 am
Weather Station: FWS20 / WH1080

Re: Geographic resolution extension recommendation

Post by jhaus55 »

Hi David,
thank you, it was correct, I edited *.ini while cumulus was running.
Cumulus crashed later on perhaps due to this editing.
Thank you for your quick input.

Hi Ray,
thank you for helping me to edit the indexT.htm, this is a great help since I'm
not a programmer, I modified the indexT.htm already.
I will go with this workaround and will replace the changed indexT.htm tonight.
Thank you very much for your quick and great help.

Juergen
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Geographic resolution extension recommendation

Post by gemini06720 »

Juergen.

Let me know if the modified 'indexT.htm' gives you the results you want...
jhaus55
Posts: 5
Joined: Fri 11 Sep 2009 9:08 am
Weather Station: FWS20 / WH1080

Re: Geographic resolution extension recommendation

Post by jhaus55 »

Hi Ray,
well I first modified indexT.html and it worked so far.
Then I realised that in all xxxT.html files the co-ordinates are present and I had to
do the modification to all of the files.
Now it is ok, not nice if a change is needed, because editing one file could be
forgotten easily.

Thank you for this workaround and have a great weekend.
Best regards
Juergen
Post Reply