Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Map as Module

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
HansR
Posts: 5831
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Map as Module

Post by HansR »

The Map module can be used outside the website generator as a stand-alone module. It is automatically produced when you run one of the data driven modules like Graphs, records etc... However when producing the map independent of the website generator it is assumed to have the jQuery library available. You either do that in your own website or you tell CumulusUtils to generate the library reference in the module. The last you do via the parameter

Code: Select all

GeneratejQueryInclude=true or false
Unfortunately this inclusion fails for module users of the new map version (4.10 and up, note that older versions are not compatible). The bug has been corrected and if you use CumulusUtils for selective module module generation you have to use the attached patch. The solution will of course be present in the final 4.10.3 version and above.

Thanks to @courtil for spotting the issue.

In addition please note the new map is technically completely different. If you set the parameter Participant in the [Maps] section it will be automatically created and you will be on it. If you set it to false then after a week you will disappear of the map. If you stop using CumulusUtils you will disappear as well. The period of inactivity before disappearance is set to a week and is not configurable. The only thing you need is to run cutils with any of the command line parameters which require the dayfile (so: website, records or yadr etc...)

If you want to be on the map you don't have to do anything, default is on.
Note that if set DoUploadFTP to false the produced output remains in the utils directory but the signature file is always created and thus you will always be on the map.

The only thing that has really changed from the user point of view is that you don't appear immediately on the map - neither do changes you make - because the map creation is done centrally once per period. Currently the period is an hour (run at hh:45) but I will probably lower the frequency to every 3, 6 or 12 hours maybe. The moment you rerun CumulusUtils after the map has been created it will be visible on your site.
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply