1,848
edits
(Initial edit) |
m (→Operation) |
||
(14 intermediate revisions by the same user not shown) | |||
== Introduction ==
One module a user cannot choose is the Map which displays the CumulusUtils users with some basic info, notably the site name, address and latitude/longitude
There are more users than you see on the map but they either did not choose to be on the map or they run Win 7 (which can not do the required HTTP transfer) or missed an upgrade to OpenSSL 1.1.0 (on Linux, see release note on 6.6.0). In those cases please see the notes at the end of [https://cumulus.hosiene.co.uk/viewtopic.php?f=44&t=17998 the release post].
== Operation ==
There is no specific command for the Map. The map is activated when the user uses data driven modules like [[pwsFWI]] or [[Yadr|Yadr]] etc... or when generating the [[Website_Generator|Website]] for which command the map is implicit. As a last action, CumulusUtils sends a signature file to the meteo-wagenborgen site. A signature file typically looks like this:
<?xml version="1.0" encoding="utf-8"?>
</Station>
(Currently) once per hour, all
The signature file is sent only once per day. You can enforce to send it by removing the parameter ''DoneToday'' from the section [Maps] and rerun CUtils.
NOTE: The description is taken from the [[Cumulus.ini]] parameter ''LocDesc'', This string may NOT contain an ampersand (&).
== Output ==
There is no local output of the map. The file ''maps.txt'' exists on meteo-wagenborgen.nl and is downloaded at each run.
== Inifile parameters ==
[Maps]
Website= => Contains the URL of the website of the user or if he is using modules the URL of one of the modules, preferably [[pwsFWI]]
Participant=true | false => When true the station appears on the map, when false the Map is skipped and the signature file is not send (not valid when creating the website).
DoneToday=15-05-21 => Date when the last signature file was sent.
'''NOTE''': DoneToday is not configurable but is set/read by the application. Any value you put here will be modified. The signature file will not be transferred to the website if the value is today or in the future. So if you want to resend the signature file, it is best to remove this parameter and have it reinitialised by CumulusUtils.
== Inner working ==
Signature files are NOT created if any of the following information is not present:
#Name (which comes from the Cumulus.ini parameter ''LocName'')
#Latitude and Longitude (which are both taken from the CumulusMX configuration ''Cumulus.ini'')
If these are not present a message is written to the logfile and the program exits, no files are uploaded.<br>Without
Once the signature file is send the user only has to wait until a quarter to and then either manually download the map from meteo-wagenborgen.nl or run CumulusUtils again to do it automatically.▼
▲Once the signature file is send the user only has to wait until a quarter to the hour and then either manually download the map from meteo-wagenborgen.nl or run CumulusUtils again to do it automatically.
[[Category:CumulusUtils]]
|