Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.7.0 (build 3089) - 28 July 2020 (please see important announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this link to Download the Software (Cumulus MX / Cumulus 1 and other related items). Software

CumulsMX PHP Webtags

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

water01
Posts: 1943
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

CumulsMX PHP Webtags

Post by water01 »

I have been working on this over the last day or so as I thought it was about time it was brought up to date to reflect all the webtags available up to and including V3.5.3 (build 3074).

So here is an updated and completely tested version of cumuluswebtags.txt to be uploaded and renamed cumuluswebtags.php containing all the webtags including the ones added in Build 3073. The webtags have been checked against the latest WebTags.txt produced by build 3074.

Once you have added it to your Extra Web Files upload and it has been processed you can view it as source file by typing

Code: Select all

http://yourwebsite.com/cumuluswebtags.php?view=source
There are still some system webtags that are not provided by CumulusMX for both Windows and Linux versions so these are are hard coded in the file and you will need to modify them for your set up. If you search the file for ********************* you will find these tags.

There are also some extra time and date based webtags that are created by embedding some PHP in the file, so this file must only be used in a PHP website otherwise they will not correctly format.

Any problems let me know.
You do not have the required permissions to view the files attached to this post.
David
Image

jlmr731
Posts: 154
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: CumulsMX PHP Webtags

Post by jlmr731 »

Thanks for the update

Hunter362
Posts: 85
Joined: Tue 19 Oct 2010 12:20 am
Weather Station: Ambient Weather WS-2080
Operating System: Windows 7 - Ubuntu 14.4
Location: Fairmount, New York (USA)
Contact:

Re: CumulsMX PHP Webtags

Post by Hunter362 »

Yes, Thank you

User avatar
PaulMy
Posts: 2192
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: CumulsMX PHP Webtags

Post by PaulMy »

Thanks David.
I didn't think I would ever need that, but just installed a new version of Cumulus Toolbox on my new PC and the first step in the install instructions is to have cumuluswebtags.txt file in the \Cumulus folder. Very timely for your updating and post!

Enjoy,
Paul

User avatar
meteosangonera
Posts: 38
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: CumulsMX PHP Webtags

Post by meteosangonera »

Thank you very much.

I use the Php webtags on my website regularly and after trying this new version for a few days, everything seems to work without any problem.

Would there be any way to make the webtags "<#ByMonthTempHT mon="x">" work in php?

sfws
Posts: 929
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: CumulsMX PHP Webtags

Post by sfws »

meteosangonera wrote:
Sat 25 Apr 2020 8:25 am
Would there be any way to make the webtags "<#ByMonthTempHT mon="x">" work in php?
Yes, David has chosen to just include current month, but you can include whatever you want.
Indeed, some of the other versions of this template file (see https://cumuluswiki.org/a/Php_webtags) include arrays set up like this:

Code: Select all

// ------------------------------------------------------------------------------------------------
$ByMonthAppTempHT       =       array();
$ByMonthAppTempHT[0]       =       '<#ByMonthAppTempHT format="(HH:mm) d MMM yyyy">'; // defaults to current month
$ByMonthAppTempHT[1]       =       '<#ByMonthAppTempHT mon=1>'; // January
$ByMonthAppTempHT[2]       =       '<#ByMonthAppTempHT mon=2>'; //February
$ByMonthAppTempHT[3]       =       '<#ByMonthAppTempHT mon=3>'; // March
$ByMonthAppTempHT[4]       =       '<#ByMonthAppTempHT mon=4>'; // April
$ByMonthAppTempHT[5]       =       '<#ByMonthAppTempHT mon=5>'; // May
$ByMonthAppTempHT[6]       =       '<#ByMonthAppTempHT mon=6>'; // June
$ByMonthAppTempHT[7]       =       '<#ByMonthAppTempHT mon=7>'; // July
$ByMonthAppTempHT[8]       =       '<#ByMonthAppTempHT mon=8>'; // August
$ByMonthAppTempHT[9]       =       '<#ByMonthAppTempHT mon=9>'; //September
$ByMonthAppTempHT[10]       =       '<#ByMonthAppTempHTH mon=10>'; // October
$ByMonthAppTempHT[11]       =       '<#ByMonthAppTempHTH mon=11>'; // November
$ByMonthAppTempHT[12]       =       '<#ByMonthAppTempHTH mon=12>'; //December
// ------------------------------------------------------------------------------------------------
I have been working on my own template set, following the advice in Wiki article, in odd moments for a few weeks, when I am not gardening, mine do include these and a lot more expansion of other web tags with optional parameters, but they are not ready for sharing yet, as I'm still testing.

User avatar
meteosangonera
Posts: 38
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: CumulsMX PHP Webtags

Post by meteosangonera »

I don't have the knowledge to create my own template.

In all the pages of my website related to my pws I use the php webtags, for example http://www.meteosangonera.es/estaciones/, except where I show the records for months. I still use the webtags so the look is somewhat different (http://www.meteosangonera.es/estaciones/#3101-tab-5)

If it's okay with you, when you have your version ready, I'd like to be able to try it

water01
Posts: 1943
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulsMX PHP Webtags

Post by water01 »

I have updated the file in the first post to include the array that sfws included and tested it and you can now do this by using the appropriate name i.e

<?php echo $ByMonthTempHT[4]?>

will get you April. Notice the [] brackets and the number picks the correct month.
David
Image

water01
Posts: 1943
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulsMX PHP Webtags

Post by water01 »

I have also added extratags.txt to the original post. Cannot take credit for it as it was done by User GraemeT some years ago. It contains all the available By Month webtags but uses the month name at the front i.e. $JanTempH is January High Temp.

I personally only upload this at EOD as it typically changes very little and as such it wasn't worth adding to cumuluswebtags.txt which gets uploaded every 15 minutes. I only use it for the Monthly Records page.

Code: Select all

<?php
//
// Month-by-month all time records.
// These are to show things like 'highest ever January temperature' etc.
//
// Version 1.0 - 14-Apr-2012 GraemeT.  altered by me.
//
$JanTempH	= "<#ByMonthTempH mon=1>";
$FebTempH	= "<#ByMonthTempH mon=2>";
$MarTempH	= "<#ByMonthTempH mon=3>";
$AprTempH	= "<#ByMonthTempH mon=4>";
$MayTempH	= "<#ByMonthTempH mon=5>";
$JunTempH	= "<#ByMonthTempH mon=6>";
$JulTempH	= "<#ByMonthTempH mon=7>";
$AugTempH	= "<#ByMonthTempH mon=8>";
$SepTempH	= "<#ByMonthTempH mon=9>";
$OctTempH	= "<#ByMonthTempH mon=10>";
$NovTempH	= "<#ByMonthTempH mon=11>";
$DecTempH	= "<#ByMonthTempH mon=12>";

$JanTempHT	= "<#ByMonthTempHT mon=1>";
$FebTempHT	= "<#ByMonthTempHT mon=2>";
$MarTempHT	= "<#ByMonthTempHT mon=3>";
$AprTempHT	= "<#ByMonthTempHT mon=4>";
$MayTempHT	= "<#ByMonthTempHT mon=5>";
$JunTempHT	= "<#ByMonthTempHT mon=6>";
$JulTempHT	= "<#ByMonthTempHT mon=7>";
$AugTempHT	= "<#ByMonthTempHT mon=8>";
$SepTempHT	= "<#ByMonthTempHT mon=9>";
$OctTempHT	= "<#ByMonthTempHT mon=10>";
$NovTempHT	= "<#ByMonthTempHT mon=11>";
$DecTempHT	= "<#ByMonthTempHT mon=12>";

$JanTempL	= "<#ByMonthTempL mon=1>";
$FebTempL	= "<#ByMonthTempL mon=2>";
$MarTempL	= "<#ByMonthTempL mon=3>";
$AprTempL	= "<#ByMonthTempL mon=4>";
$MayTempL	= "<#ByMonthTempL mon=5>";
$JunTempL	= "<#ByMonthTempL mon=6>";
$JulTempL	= "<#ByMonthTempL mon=7>";
$AugTempL	= "<#ByMonthTempL mon=8>";
$SepTempL	= "<#ByMonthTempL mon=9>";
$OctTempL	= "<#ByMonthTempL mon=10>";
$NovTempL	= "<#ByMonthTempL mon=11>";
$DecTempL	= "<#ByMonthTempL mon=12>";

$JanTempLT	= "<#ByMonthTempLT mon=1>";
$FebTempLT	= "<#ByMonthTempLT mon=2>";
$MarTempLT	= "<#ByMonthTempLT mon=3>";
$AprTempLT	= "<#ByMonthTempLT mon=4>";
$MayTempLT	= "<#ByMonthTempLT mon=5>";
$JunTempLT	= "<#ByMonthTempLT mon=6>";
$JulTempLT	= "<#ByMonthTempLT mon=7>";
$AugTempLT	= "<#ByMonthTempLT mon=8>";
$SepTempLT	= "<#ByMonthTempLT mon=9>";
$OctTempLT	= "<#ByMonthTempLT mon=10>";
$NovTempLT	= "<#ByMonthTempLT mon=11>";
$DecTempLT	= "<#ByMonthTempLT mon=12>";

$JanDewPointH = "<#ByMonthDewPointH mon=1>";
$FebDewPointH = "<#ByMonthDewPointH mon=2>";
$MarDewPointH = "<#ByMonthDewPointH mon=3>";
$AprDewPointH = "<#ByMonthDewPointH mon=4>";
$MayDewPointH = "<#ByMonthDewPointH mon=5>";
$JunDewPointH = "<#ByMonthDewPointH mon=6>";
$JulDewPointH = "<#ByMonthDewPointH mon=7>";
$AugDewPointH = "<#ByMonthDewPointH mon=8>";
$SepDewPointH = "<#ByMonthDewPointH mon=9>";
$OctDewPointH = "<#ByMonthDewPointH mon=10>";
$NovDewPointH = "<#ByMonthDewPointH mon=11>";
$DecDewPointH = "<#ByMonthDewPointH mon=12>";

$JanDewPointHT = "<#ByMonthDewPointHT mon=1>";
$FebDewPointHT = "<#ByMonthDewPointHT mon=2>";
$MarDewPointHT = "<#ByMonthDewPointHT mon=3>";
$AprDewPointHT = "<#ByMonthDewPointHT mon=4>";
$MayDewPointHT = "<#ByMonthDewPointHT mon=5>";
$JunDewPointHT = "<#ByMonthDewPointHT mon=6>";
$JulDewPointHT = "<#ByMonthDewPointHT mon=7>";
$AugDewPointHT = "<#ByMonthDewPointHT mon=8>";
$SepDewPointHT = "<#ByMonthDewPointHT mon=9>";
$OctDewPointHT = "<#ByMonthDewPointHT mon=10>";
$NovDewPointHT = "<#ByMonthDewPointHT mon=11>";
$DecDewPointHT = "<#ByMonthDewPointHT mon=12>";

$JanDewPointL = "<#ByMonthDewPointL mon=1>";
$FebDewPointL = "<#ByMonthDewPointL mon=2>";
$MarDewPointL = "<#ByMonthDewPointL mon=3>";
$AprDewPointL = "<#ByMonthDewPointL mon=4>";
$MayDewPointL = "<#ByMonthDewPointL mon=5>";
$JunDewPointL = "<#ByMonthDewPointL mon=6>";
$JulDewPointL = "<#ByMonthDewPointL mon=7>";
$AugDewPointL = "<#ByMonthDewPointL mon=8>";
$SepDewPointL = "<#ByMonthDewPointL mon=9>";
$OctDewPointL = "<#ByMonthDewPointL mon=10>";
$NovDewPointL = "<#ByMonthDewPointL mon=11>";
$DecDewPointL = "<#ByMonthDewPointL mon=12>";

$JanDewPointLT = "<#ByMonthDewPointLT mon=1>";
$FebDewPointLT = "<#ByMonthDewPointLT mon=2>";
$MarDewPointLT = "<#ByMonthDewPointLT mon=3>";
$AprDewPointLT = "<#ByMonthDewPointLT mon=4>";
$MayDewPointLT = "<#ByMonthDewPointLT mon=5>";
$JunDewPointLT = "<#ByMonthDewPointLT mon=6>";
$JulDewPointLT = "<#ByMonthDewPointLT mon=7>";
$AugDewPointLT = "<#ByMonthDewPointLT mon=8>";
$SepDewPointLT = "<#ByMonthDewPointLT mon=9>";
$OctDewPointLT = "<#ByMonthDewPointLT mon=10>";
$NovDewPointLT = "<#ByMonthDewPointLT mon=11>";
$DecDewPointLT = "<#ByMonthDewPointLT mon=12>";

$JanAppTempH = "<#ByMonthAppTempH mon=1>";
$FebAppTempH = "<#ByMonthAppTempH mon=2>";
$MarAppTempH = "<#ByMonthAppTempH mon=3>";
$AprAppTempH = "<#ByMonthAppTempH mon=4>";
$MayAppTempH = "<#ByMonthAppTempH mon=5>";
$JunAppTempH = "<#ByMonthAppTempH mon=6>";
$JulAppTempH = "<#ByMonthAppTempH mon=7>";
$AugAppTempH = "<#ByMonthAppTempH mon=8>";
$SepAppTempH = "<#ByMonthAppTempH mon=9>";
$OctAppTempH = "<#ByMonthAppTempH mon=10>";
$NovAppTempH = "<#ByMonthAppTempH mon=11>";
$DecAppTempH = "<#ByMonthAppTempH mon=12>";

$JanAppTempHT = "<#ByMonthAppTempHT mon=1>";
$FebAppTempHT = "<#ByMonthAppTempHT mon=2>";
$MarAppTempHT = "<#ByMonthAppTempHT mon=3>";
$AprAppTempHT = "<#ByMonthAppTempHT mon=4>";
$MayAppTempHT = "<#ByMonthAppTempHT mon=5>";
$JunAppTempHT = "<#ByMonthAppTempHT mon=6>";
$JulAppTempHT = "<#ByMonthAppTempHT mon=7>";
$AugAppTempHT = "<#ByMonthAppTempHT mon=8>";
$SepAppTempHT = "<#ByMonthAppTempHT mon=9>";
$OctAppTempHT = "<#ByMonthAppTempHT mon=10>";
$NovAppTempHT = "<#ByMonthAppTempHT mon=11>";
$DecAppTempHT = "<#ByMonthAppTempHT mon=12>";

$JanAppTempL = "<#ByMonthAppTempL mon=1>";
$FebAppTempL = "<#ByMonthAppTempL mon=2>";
$MarAppTempL = "<#ByMonthAppTempL mon=3>";
$AprAppTempL = "<#ByMonthAppTempL mon=4>";
$MayAppTempL = "<#ByMonthAppTempL mon=5>";
$JunAppTempL = "<#ByMonthAppTempL mon=6>";
$JulAppTempL = "<#ByMonthAppTempL mon=7>";
$AugAppTempL = "<#ByMonthAppTempL mon=8>";
$SepAppTempL = "<#ByMonthAppTempL mon=9>";
$OctAppTempL = "<#ByMonthAppTempL mon=10>";
$NovAppTempL = "<#ByMonthAppTempL mon=11>";
$DecAppTempL = "<#ByMonthAppTempL mon=12>";

$JanAppTempLT = "<#ByMonthAppTempLT mon=1>";
$FebAppTempLT = "<#ByMonthAppTempLT mon=2>";
$MarAppTempLT = "<#ByMonthAppTempLT mon=3>";
$AprAppTempLT = "<#ByMonthAppTempLT mon=4>";
$MayAppTempLT = "<#ByMonthAppTempLT mon=5>";
$JunAppTempLT = "<#ByMonthAppTempLT mon=6>";
$JulAppTempLT = "<#ByMonthAppTempLT mon=7>";
$AugAppTempLT = "<#ByMonthAppTempLT mon=8>";
$SepAppTempLT = "<#ByMonthAppTempLT mon=9>";
$OctAppTempLT = "<#ByMonthAppTempLT mon=10>";
$NovAppTempLT = "<#ByMonthAppTempLT mon=11>";
$DecAppTempLT = "<#ByMonthAppTempLT mon=12>";

$JanWChillL = "<#ByMonthWChillL mon=1>";
$FebWChillL = "<#ByMonthWChillL mon=2>";
$MarWChillL = "<#ByMonthWChillL mon=3>";
$AprWChillL = "<#ByMonthWChillL mon=4>";
$MayWChillL = "<#ByMonthWChillL mon=5>";
$JunWChillL = "<#ByMonthWChillL mon=6>";
$JulWChillL = "<#ByMonthWChillL mon=7>";
$AugWChillL = "<#ByMonthWChillL mon=8>";
$SepWChillL = "<#ByMonthWChillL mon=9>";
$OctWChillL = "<#ByMonthWChillL mon=10>";
$NovWChillL = "<#ByMonthWChillL mon=11>";
$DecWChillL = "<#ByMonthWChillL mon=12>";

$JanWChillLT = "<#ByMonthWChillLT mon=1>";
$FebWChillLT = "<#ByMonthWChillLT mon=2>";
$MarWChillLT = "<#ByMonthWChillLT mon=3>";
$AprWChillLT = "<#ByMonthWChillLT mon=4>";
$MayWChillLT = "<#ByMonthWChillLT mon=5>";
$JunWChillLT = "<#ByMonthWChillLT mon=6>";
$JulWChillLT = "<#ByMonthWChillLT mon=7>";
$AugWChillLT = "<#ByMonthWChillLT mon=8>";
$SepWChillLT = "<#ByMonthWChillLT mon=9>";
$OctWChillLT = "<#ByMonthWChillLT mon=10>";
$NovWChillLT = "<#ByMonthWChillLT mon=11>";
$DecWChillLT = "<#ByMonthWChillLT mon=12>";

$JanHeatIndexH = "<#ByMonthHeatIndexH mon=1>";
$FebHeatIndexH = "<#ByMonthHeatIndexH mon=2>";
$MarHeatIndexH = "<#ByMonthHeatIndexH mon=3>";
$AprHeatIndexH = "<#ByMonthHeatIndexH mon=4>";
$MayHeatIndexH = "<#ByMonthHeatIndexH mon=5>";
$JunHeatIndexH = "<#ByMonthHeatIndexH mon=6>";
$JulHeatIndexH = "<#ByMonthHeatIndexH mon=7>";
$AugHeatIndexH = "<#ByMonthHeatIndexH mon=8>";
$SepHeatIndexH = "<#ByMonthHeatIndexH mon=9>";
$OctHeatIndexH = "<#ByMonthHeatIndexH mon=10>";
$NovHeatIndexH = "<#ByMonthHeatIndexH mon=11>";
$DecHeatIndexH = "<#ByMonthHeatIndexH mon=12>";

$JanHeatIndexHT = "<#ByMonthHeatIndexHT mon=1>";
$FebHeatIndexHT = "<#ByMonthHeatIndexHT mon=2>";
$MarHeatIndexHT = "<#ByMonthHeatIndexHT mon=3>";
$AprHeatIndexHT = "<#ByMonthHeatIndexHT mon=4>";
$MayHeatIndexHT = "<#ByMonthHeatIndexHT mon=5>";
$JunHeatIndexHT = "<#ByMonthHeatIndexHT mon=6>";
$JulHeatIndexHT = "<#ByMonthHeatIndexHT mon=7>";
$AugHeatIndexHT = "<#ByMonthHeatIndexHT mon=8>";
$SepHeatIndexHT = "<#ByMonthHeatIndexHT mon=9>";
$OctHeatIndexHT = "<#ByMonthHeatIndexHT mon=10>";
$NovHeatIndexHT = "<#ByMonthHeatIndexHT mon=11>";
$DecHeatIndexHT = "<#ByMonthHeatIndexHT mon=12>";

$JanMinTempH = "<#ByMonthMinTempH mon=1>";
$FebMinTempH = "<#ByMonthMinTempH mon=2>";
$MarMinTempH = "<#ByMonthMinTempH mon=3>";
$AprMinTempH = "<#ByMonthMinTempH mon=4>";
$MayMinTempH = "<#ByMonthMinTempH mon=5>";
$JunMinTempH = "<#ByMonthMinTempH mon=6>";
$JulMinTempH = "<#ByMonthMinTempH mon=7>";
$AugMinTempH = "<#ByMonthMinTempH mon=8>";
$SepMinTempH = "<#ByMonthMinTempH mon=9>";
$OctMinTempH = "<#ByMonthMinTempH mon=10>";
$NovMinTempH = "<#ByMonthMinTempH mon=11>";
$DecMinTempH = "<#ByMonthMinTempH mon=12>";

$JanMinTempHT = "<#ByMonthMinTempHT mon=1>";
$FebMinTempHT = "<#ByMonthMinTempHT mon=2>";
$MarMinTempHT = "<#ByMonthMinTempHT mon=3>";
$AprMinTempHT = "<#ByMonthMinTempHT mon=4>";
$MayMinTempHT = "<#ByMonthMinTempHT mon=5>";
$JunMinTempHT = "<#ByMonthMinTempHT mon=6>";
$JulMinTempHT = "<#ByMonthMinTempHT mon=7>";
$AugMinTempHT = "<#ByMonthMinTempHT mon=8>";
$SepMinTempHT = "<#ByMonthMinTempHT mon=9>";
$OctMinTempHT = "<#ByMonthMinTempHT mon=10>";
$NovMinTempHT = "<#ByMonthMinTempHT mon=11>";
$DecMinTempHT = "<#ByMonthMinTempHT mon=12>";

$JanMaxTempL = "<#ByMonthMaxTempL mon=1>";
$FebMaxTempL = "<#ByMonthMaxTempL mon=2>";
$MarMaxTempL = "<#ByMonthMaxTempL mon=3>";
$AprMaxTempL = "<#ByMonthMaxTempL mon=4>";
$MayMaxTempL = "<#ByMonthMaxTempL mon=5>";
$JunMaxTempL = "<#ByMonthMaxTempL mon=6>";
$JulMaxTempL = "<#ByMonthMaxTempL mon=7>";
$AugMaxTempL = "<#ByMonthMaxTempL mon=8>";
$SepMaxTempL = "<#ByMonthMaxTempL mon=9>";
$OctMaxTempL = "<#ByMonthMaxTempL mon=10>";
$NovMaxTempL = "<#ByMonthMaxTempL mon=11>";
$DecMaxTempL = "<#ByMonthMaxTempL mon=12>";

$JanMaxTempLT = "<#ByMonthMaxTempLT mon=1>";
$FebMaxTempLT = "<#ByMonthMaxTempLT mon=2>";
$MarMaxTempLT = "<#ByMonthMaxTempLT mon=3>";
$AprMaxTempLT = "<#ByMonthMaxTempLT mon=4>";
$MayMaxTempLT = "<#ByMonthMaxTempLT mon=5>";
$JunMaxTempLT = "<#ByMonthMaxTempLT mon=6>";
$JulMaxTempLT = "<#ByMonthMaxTempLT mon=7>";
$AugMaxTempLT = "<#ByMonthMaxTempLT mon=8>";
$SepMaxTempLT = "<#ByMonthMaxTempLT mon=9>";
$OctMaxTempLT = "<#ByMonthMaxTempLT mon=10>";
$NovMaxTempLT = "<#ByMonthMaxTempLT mon=11>";
$DecMaxTempLT = "<#ByMonthMaxTempLT mon=12>";

$JanHumH = "<#ByMonthHumH mon=1>";
$FebHumH = "<#ByMonthHumH mon=2>";
$MarHumH = "<#ByMonthHumH mon=3>";
$AprHumH = "<#ByMonthHumH mon=4>";
$MayHumH = "<#ByMonthHumH mon=5>";
$JunHumH = "<#ByMonthHumH mon=6>";
$JulHumH = "<#ByMonthHumH mon=7>";
$AugHumH = "<#ByMonthHumH mon=8>";
$SepHumH = "<#ByMonthHumH mon=9>";
$OctHumH = "<#ByMonthHumH mon=10>";
$NovHumH = "<#ByMonthHumH mon=11>";
$DecHumH = "<#ByMonthHumH mon=12>";

$JanHumHT = "<#ByMonthHumHT mon=1>";
$FebHumHT = "<#ByMonthHumHT mon=2>";
$MarHumHT = "<#ByMonthHumHT mon=3>";
$AprHumHT = "<#ByMonthHumHT mon=4>";
$MayHumHT = "<#ByMonthHumHT mon=5>";
$JunHumHT = "<#ByMonthHumHT mon=6>";
$JulHumHT = "<#ByMonthHumHT mon=7>";
$AugHumHT = "<#ByMonthHumHT mon=8>";
$SepHumHT = "<#ByMonthHumHT mon=9>";
$OctHumHT = "<#ByMonthHumHT mon=10>";
$NovHumHT = "<#ByMonthHumHT mon=11>";
$DecHumHT = "<#ByMonthHumHT mon=12>";

$JanHumL = "<#ByMonthHumL mon=1>";
$FebHumL = "<#ByMonthHumL mon=2>";
$MarHumL = "<#ByMonthHumL mon=3>";
$AprHumL = "<#ByMonthHumL mon=4>";
$MayHumL = "<#ByMonthHumL mon=5>";
$JunHumL = "<#ByMonthHumL mon=6>";
$JulHumL = "<#ByMonthHumL mon=7>";
$AugHumL = "<#ByMonthHumL mon=8>";
$SepHumL = "<#ByMonthHumL mon=9>";
$OctHumL = "<#ByMonthHumL mon=10>";
$NovHumL = "<#ByMonthHumL mon=11>";
$DecHumL = "<#ByMonthHumL mon=12>";

$JanHumLT = "<#ByMonthHumLT mon=1>";
$FebHumLT = "<#ByMonthHumLT mon=2>";
$MarHumLT = "<#ByMonthHumLT mon=3>";
$AprHumLT = "<#ByMonthHumLT mon=4>";
$MayHumLT = "<#ByMonthHumLT mon=5>";
$JunHumLT = "<#ByMonthHumLT mon=6>";
$JulHumLT = "<#ByMonthHumLT mon=7>";
$AugHumLT = "<#ByMonthHumLT mon=8>";
$SepHumLT = "<#ByMonthHumLT mon=9>";
$OctHumLT = "<#ByMonthHumLT mon=10>";
$NovHumLT = "<#ByMonthHumLT mon=11>";
$DecHumLT = "<#ByMonthHumLT mon=12>";

$JanHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=1>";
$FebHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=2>";
$MarHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=3>";
$AprHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=4>";
$MayHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=5>";
$JunHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=6>";
$JulHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=7>";
$AugHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=8>";
$SepHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=9>";
$OctHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=10>";
$NovHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=11>";
$DecHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=12>";

$JanHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=1>";
$FebHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=2>";
$MarHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=3>";
$AprHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=4>";
$MayHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=5>";
$JunHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=6>";
$JulHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=7>";
$AugHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=8>";
$SepHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=9>";
$OctHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=10>";
$NovHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=11>";
$DecHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=12>";

$JanLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=1>";
$FebLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=2>";
$MarLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=3>";
$AprLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=4>";
$MayLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=5>";
$JunLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=6>";
$JulLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=7>";
$AugLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=8>";
$SepLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=9>";
$OctLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=10>";
$NovLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=11>";
$DecLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=12>";

$JanLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=1>";
$FebLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=2>";
$MarLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=3>";
$AprLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=4>";
$MayLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=5>";
$JunLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=6>";
$JulLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=7>";
$AugLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=8>";
$SepLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=9>";
$OctLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=10>";
$NovLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=11>";
$DecLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=12>";

$JanRainRateH = "<#ByMonthRainRateH mon=1>";
$FebRainRateH = "<#ByMonthRainRateH mon=2>";
$MarRainRateH = "<#ByMonthRainRateH mon=3>";
$AprRainRateH = "<#ByMonthRainRateH mon=4>";
$MayRainRateH = "<#ByMonthRainRateH mon=5>";
$JunRainRateH = "<#ByMonthRainRateH mon=6>";
$JulRainRateH = "<#ByMonthRainRateH mon=7>";
$AugRainRateH = "<#ByMonthRainRateH mon=8>";
$SepRainRateH = "<#ByMonthRainRateH mon=9>";
$OctRainRateH = "<#ByMonthRainRateH mon=10>";
$NovRainRateH = "<#ByMonthRainRateH mon=11>";
$DecRainRateH = "<#ByMonthRainRateH mon=12>";

$JanRainRateHT = "<#ByMonthRainRateHT mon=1>";
$FebRainRateHT = "<#ByMonthRainRateHT mon=2>";
$MarRainRateHT = "<#ByMonthRainRateHT mon=3>";
$AprRainRateHT = "<#ByMonthRainRateHT mon=4>";
$MayRainRateHT = "<#ByMonthRainRateHT mon=5>";
$JunRainRateHT = "<#ByMonthRainRateHT mon=6>";
$JulRainRateHT = "<#ByMonthRainRateHT mon=7>";
$AugRainRateHT = "<#ByMonthRainRateHT mon=8>";
$SepRainRateHT = "<#ByMonthRainRateHT mon=9>";
$OctRainRateHT = "<#ByMonthRainRateHT mon=10>";
$NovRainRateHT = "<#ByMonthRainRateHT mon=11>";
$DecRainRateHT = "<#ByMonthRainRateHT mon=12>";

$JanHourlyRainH = "<#ByMonthHourlyRainH mon=1>";
$FebHourlyRainH = "<#ByMonthHourlyRainH mon=2>";
$MarHourlyRainH = "<#ByMonthHourlyRainH mon=3>";
$AprHourlyRainH = "<#ByMonthHourlyRainH mon=4>";
$MayHourlyRainH = "<#ByMonthHourlyRainH mon=5>";
$JunHourlyRainH = "<#ByMonthHourlyRainH mon=6>";
$JulHourlyRainH = "<#ByMonthHourlyRainH mon=7>";
$AugHourlyRainH = "<#ByMonthHourlyRainH mon=8>";
$SepHourlyRainH = "<#ByMonthHourlyRainH mon=9>";
$OctHourlyRainH = "<#ByMonthHourlyRainH mon=10>";
$NovHourlyRainH = "<#ByMonthHourlyRainH mon=11>";
$DecHourlyRainH = "<#ByMonthHourlyRainH mon=12>";

$JanHourlyRainHT = "<#ByMonthHourlyRainHT mon=1>";
$FebHourlyRainHT = "<#ByMonthHourlyRainHT mon=2>";
$MarHourlyRainHT = "<#ByMonthHourlyRainHT mon=3>";
$AprHourlyRainHT = "<#ByMonthHourlyRainHT mon=4>";
$MayHourlyRainHT = "<#ByMonthHourlyRainHT mon=5>";
$JunHourlyRainHT = "<#ByMonthHourlyRainHT mon=6>";
$JulHourlyRainHT = "<#ByMonthHourlyRainHT mon=7>";
$AugHourlyRainHT = "<#ByMonthHourlyRainHT mon=8>";
$SepHourlyRainHT = "<#ByMonthHourlyRainHT mon=9>";
$OctHourlyRainHT = "<#ByMonthHourlyRainHT mon=10>";
$NovHourlyRainHT = "<#ByMonthHourlyRainHT mon=11>";
$DecHourlyRainHT = "<#ByMonthHourlyRainHT mon=12>";

$JanDailyRainH = "<#ByMonthDailyRainH mon=1>";
$FebDailyRainH = "<#ByMonthDailyRainH mon=2>";
$MarDailyRainH = "<#ByMonthDailyRainH mon=3>";
$AprDailyRainH = "<#ByMonthDailyRainH mon=4>";
$MayDailyRainH = "<#ByMonthDailyRainH mon=5>";
$JunDailyRainH = "<#ByMonthDailyRainH mon=6>";
$JulDailyRainH = "<#ByMonthDailyRainH mon=7>";
$AugDailyRainH = "<#ByMonthDailyRainH mon=8>";
$SepDailyRainH = "<#ByMonthDailyRainH mon=9>";
$OctDailyRainH = "<#ByMonthDailyRainH mon=10>";
$NovDailyRainH = "<#ByMonthDailyRainH mon=11>";
$DecDailyRainH = "<#ByMonthDailyRainH mon=12>";

$JanDailyRainHT = "<#ByMonthDailyRainHT mon=1>";
$FebDailyRainHT = "<#ByMonthDailyRainHT mon=2>";
$MarDailyRainHT = "<#ByMonthDailyRainHT mon=3>";
$AprDailyRainHT = "<#ByMonthDailyRainHT mon=4>";
$MayDailyRainHT = "<#ByMonthDailyRainHT mon=5>";
$JunDailyRainHT = "<#ByMonthDailyRainHT mon=6>";
$JulDailyRainHT = "<#ByMonthDailyRainHT mon=7>";
$AugDailyRainHT = "<#ByMonthDailyRainHT mon=8>";
$SepDailyRainHT = "<#ByMonthDailyRainHT mon=9>";
$OctDailyRainHT = "<#ByMonthDailyRainHT mon=10>";
$NovDailyRainHT = "<#ByMonthDailyRainHT mon=11>";
$DecDailyRainHT = "<#ByMonthDailyRainHT mon=12>";

$JanMonthlyRainH = "<#ByMonthMonthlyRainH mon=1>";
$FebMonthlyRainH = "<#ByMonthMonthlyRainH mon=2>";
$MarMonthlyRainH = "<#ByMonthMonthlyRainH mon=3>";
$AprMonthlyRainH = "<#ByMonthMonthlyRainH mon=4>";
$MayMonthlyRainH = "<#ByMonthMonthlyRainH mon=5>";
$JunMonthlyRainH = "<#ByMonthMonthlyRainH mon=6>";
$JulMonthlyRainH = "<#ByMonthMonthlyRainH mon=7>";
$AugMonthlyRainH = "<#ByMonthMonthlyRainH mon=8>";
$SepMonthlyRainH = "<#ByMonthMonthlyRainH mon=9>";
$OctMonthlyRainH = "<#ByMonthMonthlyRainH mon=10>";
$NovMonthlyRainH = "<#ByMonthMonthlyRainH mon=11>";
$DecMonthlyRainH = "<#ByMonthMonthlyRainH mon=12>";

$JanMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=1>";
$FebMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=2>";
$MarMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=3>";
$AprMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=4>";
$MayMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=5>";
$JunMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=6>";
$JulMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=7>";
$AugMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=8>";
$SepMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=9>";
$OctMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=10>";
$NovMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=11>";
$DecMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=12>";

$JanLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=1>";
$FebLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=2>";
$MarLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=3>";
$AprLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=4>";
$MayLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=5>";
$JunLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=6>";
$JulLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=7>";
$AugLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=8>";
$SepLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=9>";
$OctLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=10>";
$NovLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=11>";
$DecLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=12>";

$JanLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=1>";
$FebLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=2>";
$MarLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=3>";
$AprLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=4>";
$MayLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=5>";
$JunLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=6>";
$JulLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=7>";
$AugLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=8>";
$SepLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=9>";
$OctLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=10>";
$NovLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=11>";
$DecLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=12>";

$JanLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=1>";
$FebLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=2>";
$MarLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=3>";
$AprLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=4>";
$MayLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=5>";
$JunLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=6>";
$JulLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=7>";
$AugLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=8>";
$SepLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=9>";
$OctLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=10>";
$NovLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=11>";
$DecLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=12>";

$JanLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=1>";
$FebLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=2>";
$MarLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=3>";
$AprLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=4>";
$MayLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=5>";
$JunLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=6>";
$JulLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=7>";
$AugLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=8>";
$SepLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=9>";
$OctLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=10>";
$NovLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=11>";
$DecLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=12>";

$JanGustH = "<#ByMonthGustH mon=1>";
$FebGustH = "<#ByMonthGustH mon=2>";
$MarGustH = "<#ByMonthGustH mon=3>";
$AprGustH = "<#ByMonthGustH mon=4>";
$MayGustH = "<#ByMonthGustH mon=5>";
$JunGustH = "<#ByMonthGustH mon=6>";
$JulGustH = "<#ByMonthGustH mon=7>";
$AugGustH = "<#ByMonthGustH mon=8>";
$SepGustH = "<#ByMonthGustH mon=9>";
$OctGustH = "<#ByMonthGustH mon=10>";
$NovGustH = "<#ByMonthGustH mon=11>";
$DecGustH = "<#ByMonthGustH mon=12>";

$JanGustHT = "<#ByMonthGustHT mon=1>";
$FebGustHT = "<#ByMonthGustHT mon=2>";
$MarGustHT = "<#ByMonthGustHT mon=3>";
$AprGustHT = "<#ByMonthGustHT mon=4>";
$MayGustHT = "<#ByMonthGustHT mon=5>";
$JunGustHT = "<#ByMonthGustHT mon=6>";
$JulGustHT = "<#ByMonthGustHT mon=7>";
$AugGustHT = "<#ByMonthGustHT mon=8>";
$SepGustHT = "<#ByMonthGustHT mon=9>";
$OctGustHT = "<#ByMonthGustHT mon=10>";
$NovGustHT = "<#ByMonthGustHT mon=11>";
$DecGustHT = "<#ByMonthGustHT mon=12>";

$JanWindH = "<#ByMonthWindH mon=1>";
$FebWindH = "<#ByMonthWindH mon=2>";
$MarWindH = "<#ByMonthWindH mon=3>";
$AprWindH = "<#ByMonthWindH mon=4>";
$MayWindH = "<#ByMonthWindH mon=5>";
$JunWindH = "<#ByMonthWindH mon=6>";
$JulWindH = "<#ByMonthWindH mon=7>";
$AugWindH = "<#ByMonthWindH mon=8>";
$SepWindH = "<#ByMonthWindH mon=9>";
$OctWindH = "<#ByMonthWindH mon=10>";
$NovWindH = "<#ByMonthWindH mon=11>";
$DecWindH = "<#ByMonthWindH mon=12>";

$JanWindHT = "<#ByMonthWindHT mon=1>";
$FebWindHT = "<#ByMonthWindHT mon=2>";
$MarWindHT = "<#ByMonthWindHT mon=3>";
$AprWindHT = "<#ByMonthWindHT mon=4>";
$MayWindHT = "<#ByMonthWindHT mon=5>";
$JunWindHT = "<#ByMonthWindHT mon=6>";
$JulWindHT = "<#ByMonthWindHT mon=7>";
$AugWindHT = "<#ByMonthWindHT mon=8>";
$SepWindHT = "<#ByMonthWindHT mon=9>";
$OctWindHT = "<#ByMonthWindHT mon=10>";
$NovWindHT = "<#ByMonthWindHT mon=11>";
$DecWindHT = "<#ByMonthWindHT mon=12>";

$JanWindRunH = "<#ByMonthWindRunH mon=1>";
$FebWindRunH = "<#ByMonthWindRunH mon=2>";
$MarWindRunH = "<#ByMonthWindRunH mon=3>";
$AprWindRunH = "<#ByMonthWindRunH mon=4>";
$MayWindRunH = "<#ByMonthWindRunH mon=5>";
$JunWindRunH = "<#ByMonthWindRunH mon=6>";
$JulWindRunH = "<#ByMonthWindRunH mon=7>";
$AugWindRunH = "<#ByMonthWindRunH mon=8>";
$SepWindRunH = "<#ByMonthWindRunH mon=9>";
$OctWindRunH = "<#ByMonthWindRunH mon=10>";
$NovWindRunH = "<#ByMonthWindRunH mon=11>";
$DecWindRunH = "<#ByMonthWindRunH mon=12>";

$JanWindRunHT = "<#ByMonthWindRunHT mon=1>";
$FebWindRunHT = "<#ByMonthWindRunHT mon=2>";
$MarWindRunHT = "<#ByMonthWindRunHT mon=3>";
$AprWindRunHT = "<#ByMonthWindRunHT mon=4>";
$MayWindRunHT = "<#ByMonthWindRunHT mon=5>";
$JunWindRunHT = "<#ByMonthWindRunHT mon=6>";
$JulWindRunHT = "<#ByMonthWindRunHT mon=7>";
$AugWindRunHT = "<#ByMonthWindRunHT mon=8>";
$SepWindRunHT = "<#ByMonthWindRunHT mon=9>";
$OctWindRunHT = "<#ByMonthWindRunHT mon=10>";
$NovWindRunHT = "<#ByMonthWindRunHT mon=11>";
$DecWindRunHT = "<#ByMonthWindRunHT mon=12>";

$JanPressH = "<#ByMonthPressH mon=1>";
$FebPressH = "<#ByMonthPressH mon=2>";
$MarPressH = "<#ByMonthPressH mon=3>";
$AprPressH = "<#ByMonthPressH mon=4>";
$MayPressH = "<#ByMonthPressH mon=5>";
$JunPressH = "<#ByMonthPressH mon=6>";
$JulPressH = "<#ByMonthPressH mon=7>";
$AugPressH = "<#ByMonthPressH mon=8>";
$SepPressH = "<#ByMonthPressH mon=9>";
$OctPressH = "<#ByMonthPressH mon=10>";
$NovPressH = "<#ByMonthPressH mon=11>";
$DecPressH = "<#ByMonthPressH mon=12>";

$JanPressHT = "<#ByMonthPressHT mon=1>";
$FebPressHT = "<#ByMonthPressHT mon=2>";
$MarPressHT = "<#ByMonthPressHT mon=3>";
$AprPressHT = "<#ByMonthPressHT mon=4>";
$MayPressHT = "<#ByMonthPressHT mon=5>";
$JunPressHT = "<#ByMonthPressHT mon=6>";
$JulPressHT = "<#ByMonthPressHT mon=7>";
$AugPressHT = "<#ByMonthPressHT mon=8>";
$SepPressHT = "<#ByMonthPressHT mon=9>";
$OctPressHT = "<#ByMonthPressHT mon=10>";
$NovPressHT = "<#ByMonthPressHT mon=11>";
$DecPressHT = "<#ByMonthPressHT mon=12>";

$JanPressL = "<#ByMonthPressL mon=1>";
$FebPressL = "<#ByMonthPressL mon=2>";
$MarPressL = "<#ByMonthPressL mon=3>";
$AprPressL = "<#ByMonthPressL mon=4>";
$MayPressL = "<#ByMonthPressL mon=5>";
$JunPressL = "<#ByMonthPressL mon=6>";
$JulPressL = "<#ByMonthPressL mon=7>";
$AugPressL = "<#ByMonthPressL mon=8>";
$SepPressL = "<#ByMonthPressL mon=9>";
$OctPressL = "<#ByMonthPressL mon=10>";
$NovPressL = "<#ByMonthPressL mon=11>";
$DecPressL = "<#ByMonthPressL mon=12>";

$JanPressLT = "<#ByMonthPressLT mon=1>";
$FebPressLT = "<#ByMonthPressLT mon=2>";
$MarPressLT = "<#ByMonthPressLT mon=3>";
$AprPressLT = "<#ByMonthPressLT mon=4>";
$MayPressLT = "<#ByMonthPressLT mon=5>";
$JunPressLT = "<#ByMonthPressLT mon=6>";
$JulPressLT = "<#ByMonthPressLT mon=7>";
$AugPressLT = "<#ByMonthPressLT mon=8>";
$SepPressLT = "<#ByMonthPressLT mon=9>";
$OctPressLT = "<#ByMonthPressLT mon=10>";
$NovPressLT = "<#ByMonthPressLT mon=11>";
$DecPressLT = "<#ByMonthPressLT mon=12>";

// End of File
?>
David
Image

User avatar
mcrossley
Posts: 6760
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulsMX PHP Webtags

Post by mcrossley »

water01 wrote:
Sat 25 Apr 2020 9:55 am
I personally only upload this at EOD as it typically changes very little and as such it wasn't worth adding to cumuluswebtags.txt which gets uploaded every 15 minutes. I only use it for the Monthly Records page.
That is the approach I take, I have three "tag files". A small one updated at realtime interval, the main one at my update interval, and the monthly records file updated daily**.

** Though now my web server is on the same machine as Cumulus I do update the monthly file at my update interval as there is no FTP involved.

sfws
Posts: 929
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: CumulsMX PHP Webtags

Post by sfws »

mcrossley wrote:
Sat 25 Apr 2020 10:20 am
That is the approach I take, I have three "tag files". A small one updated at realtime interval, the main one at my update interval, and the monthly records file updated daily**
As I said in reply to another of David's posts, so do I, but I have another for "static" web tags. But my set was customised for my purposes (e.g. specific to my Fine Offset), and the set I am testing now is more comprehensive including all possible web tags and a range of output parameters.
As the wiki article on this topic says it is very complicated predicting what other users might want.
water01 wrote:
Sat 25 Apr 2020 8:54 am
I have updated the file in the first post to include the array that sfws included
I gave that as an example, the same sort of array can be defined for every 'by month' web tag. I can't understand why you would want to add one only.
water01 wrote:
Sat 25 Apr 2020 9:55 am
I personally only upload this at EOD as it typically changes very little and as such it wasn't worth adding to cumuluswebtags.txt which gets uploaded every 15 minutes.
So that is another reason why it seems strange to add just highest temperature array.
?>
Can I also add, for pure PHP files, it is not good practice to add a "?>" to the end of such a file, that is only intended to be included to mark the end of PHP when embedded in a HTML file.
I won't bore you with full technical details, but problems may occur if someone has embedded spaces after where they include your file, or accidentally adds space after that terminator in your file.

Code: Select all

$RecentDewPoint             = "<#RecentDewPoint d=1>|<#RecentDewPoint h=1>|<#RecentDewPoint m=1>";  //  recent historical data - dew point - one day, one hour and one minute ago
Finally, you might want to explain how people use your $Recentxxxxx variables, I am sure many will struggle with the concept of how to use a string containing 3 values separated by "|". I don't know if you left it like that because that is how you found it in the template you have selected to edit, or you have it like that to match how you use it.

User avatar
meteosangonera
Posts: 38
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: CumulsMX PHP Webtags

Post by meteosangonera »

water01 wrote:
Sat 25 Apr 2020 9:55 am
I have also added extratags.txt to the original post. Cannot take credit for it as it was done by User GraemeT some years ago. It contains all the available By Month webtags but uses the month name at the front i.e. $JanTempH is January High Temp.

I personally only upload this at EOD as it typically changes very little and as such it wasn't worth adding to cumuluswebtags.txt which gets uploaded every 15 minutes. I only use it for the Monthly Records page.

Code: Select all

<?php
//
// Month-by-month all time records.
// These are to show things like 'highest ever January temperature' etc.
//
// Version 1.0 - 14-Apr-2012 GraemeT.  altered by me.
//
$JanTempH	= "<#ByMonthTempH mon=1>";
$FebTempH	= "<#ByMonthTempH mon=2>";
$MarTempH	= "<#ByMonthTempH mon=3>";
$AprTempH	= "<#ByMonthTempH mon=4>";
$MayTempH	= "<#ByMonthTempH mon=5>";
$JunTempH	= "<#ByMonthTempH mon=6>";
$JulTempH	= "<#ByMonthTempH mon=7>";
$AugTempH	= "<#ByMonthTempH mon=8>";
$SepTempH	= "<#ByMonthTempH mon=9>";
$OctTempH	= "<#ByMonthTempH mon=10>";
$NovTempH	= "<#ByMonthTempH mon=11>";
$DecTempH	= "<#ByMonthTempH mon=12>";

$JanTempHT	= "<#ByMonthTempHT mon=1>";
$FebTempHT	= "<#ByMonthTempHT mon=2>";
$MarTempHT	= "<#ByMonthTempHT mon=3>";
$AprTempHT	= "<#ByMonthTempHT mon=4>";
$MayTempHT	= "<#ByMonthTempHT mon=5>";
$JunTempHT	= "<#ByMonthTempHT mon=6>";
$JulTempHT	= "<#ByMonthTempHT mon=7>";
$AugTempHT	= "<#ByMonthTempHT mon=8>";
$SepTempHT	= "<#ByMonthTempHT mon=9>";
$OctTempHT	= "<#ByMonthTempHT mon=10>";
$NovTempHT	= "<#ByMonthTempHT mon=11>";
$DecTempHT	= "<#ByMonthTempHT mon=12>";

$JanTempL	= "<#ByMonthTempL mon=1>";
$FebTempL	= "<#ByMonthTempL mon=2>";
$MarTempL	= "<#ByMonthTempL mon=3>";
$AprTempL	= "<#ByMonthTempL mon=4>";
$MayTempL	= "<#ByMonthTempL mon=5>";
$JunTempL	= "<#ByMonthTempL mon=6>";
$JulTempL	= "<#ByMonthTempL mon=7>";
$AugTempL	= "<#ByMonthTempL mon=8>";
$SepTempL	= "<#ByMonthTempL mon=9>";
$OctTempL	= "<#ByMonthTempL mon=10>";
$NovTempL	= "<#ByMonthTempL mon=11>";
$DecTempL	= "<#ByMonthTempL mon=12>";

$JanTempLT	= "<#ByMonthTempLT mon=1>";
$FebTempLT	= "<#ByMonthTempLT mon=2>";
$MarTempLT	= "<#ByMonthTempLT mon=3>";
$AprTempLT	= "<#ByMonthTempLT mon=4>";
$MayTempLT	= "<#ByMonthTempLT mon=5>";
$JunTempLT	= "<#ByMonthTempLT mon=6>";
$JulTempLT	= "<#ByMonthTempLT mon=7>";
$AugTempLT	= "<#ByMonthTempLT mon=8>";
$SepTempLT	= "<#ByMonthTempLT mon=9>";
$OctTempLT	= "<#ByMonthTempLT mon=10>";
$NovTempLT	= "<#ByMonthTempLT mon=11>";
$DecTempLT	= "<#ByMonthTempLT mon=12>";

$JanDewPointH = "<#ByMonthDewPointH mon=1>";
$FebDewPointH = "<#ByMonthDewPointH mon=2>";
$MarDewPointH = "<#ByMonthDewPointH mon=3>";
$AprDewPointH = "<#ByMonthDewPointH mon=4>";
$MayDewPointH = "<#ByMonthDewPointH mon=5>";
$JunDewPointH = "<#ByMonthDewPointH mon=6>";
$JulDewPointH = "<#ByMonthDewPointH mon=7>";
$AugDewPointH = "<#ByMonthDewPointH mon=8>";
$SepDewPointH = "<#ByMonthDewPointH mon=9>";
$OctDewPointH = "<#ByMonthDewPointH mon=10>";
$NovDewPointH = "<#ByMonthDewPointH mon=11>";
$DecDewPointH = "<#ByMonthDewPointH mon=12>";

$JanDewPointHT = "<#ByMonthDewPointHT mon=1>";
$FebDewPointHT = "<#ByMonthDewPointHT mon=2>";
$MarDewPointHT = "<#ByMonthDewPointHT mon=3>";
$AprDewPointHT = "<#ByMonthDewPointHT mon=4>";
$MayDewPointHT = "<#ByMonthDewPointHT mon=5>";
$JunDewPointHT = "<#ByMonthDewPointHT mon=6>";
$JulDewPointHT = "<#ByMonthDewPointHT mon=7>";
$AugDewPointHT = "<#ByMonthDewPointHT mon=8>";
$SepDewPointHT = "<#ByMonthDewPointHT mon=9>";
$OctDewPointHT = "<#ByMonthDewPointHT mon=10>";
$NovDewPointHT = "<#ByMonthDewPointHT mon=11>";
$DecDewPointHT = "<#ByMonthDewPointHT mon=12>";

$JanDewPointL = "<#ByMonthDewPointL mon=1>";
$FebDewPointL = "<#ByMonthDewPointL mon=2>";
$MarDewPointL = "<#ByMonthDewPointL mon=3>";
$AprDewPointL = "<#ByMonthDewPointL mon=4>";
$MayDewPointL = "<#ByMonthDewPointL mon=5>";
$JunDewPointL = "<#ByMonthDewPointL mon=6>";
$JulDewPointL = "<#ByMonthDewPointL mon=7>";
$AugDewPointL = "<#ByMonthDewPointL mon=8>";
$SepDewPointL = "<#ByMonthDewPointL mon=9>";
$OctDewPointL = "<#ByMonthDewPointL mon=10>";
$NovDewPointL = "<#ByMonthDewPointL mon=11>";
$DecDewPointL = "<#ByMonthDewPointL mon=12>";

$JanDewPointLT = "<#ByMonthDewPointLT mon=1>";
$FebDewPointLT = "<#ByMonthDewPointLT mon=2>";
$MarDewPointLT = "<#ByMonthDewPointLT mon=3>";
$AprDewPointLT = "<#ByMonthDewPointLT mon=4>";
$MayDewPointLT = "<#ByMonthDewPointLT mon=5>";
$JunDewPointLT = "<#ByMonthDewPointLT mon=6>";
$JulDewPointLT = "<#ByMonthDewPointLT mon=7>";
$AugDewPointLT = "<#ByMonthDewPointLT mon=8>";
$SepDewPointLT = "<#ByMonthDewPointLT mon=9>";
$OctDewPointLT = "<#ByMonthDewPointLT mon=10>";
$NovDewPointLT = "<#ByMonthDewPointLT mon=11>";
$DecDewPointLT = "<#ByMonthDewPointLT mon=12>";

$JanAppTempH = "<#ByMonthAppTempH mon=1>";
$FebAppTempH = "<#ByMonthAppTempH mon=2>";
$MarAppTempH = "<#ByMonthAppTempH mon=3>";
$AprAppTempH = "<#ByMonthAppTempH mon=4>";
$MayAppTempH = "<#ByMonthAppTempH mon=5>";
$JunAppTempH = "<#ByMonthAppTempH mon=6>";
$JulAppTempH = "<#ByMonthAppTempH mon=7>";
$AugAppTempH = "<#ByMonthAppTempH mon=8>";
$SepAppTempH = "<#ByMonthAppTempH mon=9>";
$OctAppTempH = "<#ByMonthAppTempH mon=10>";
$NovAppTempH = "<#ByMonthAppTempH mon=11>";
$DecAppTempH = "<#ByMonthAppTempH mon=12>";

$JanAppTempHT = "<#ByMonthAppTempHT mon=1>";
$FebAppTempHT = "<#ByMonthAppTempHT mon=2>";
$MarAppTempHT = "<#ByMonthAppTempHT mon=3>";
$AprAppTempHT = "<#ByMonthAppTempHT mon=4>";
$MayAppTempHT = "<#ByMonthAppTempHT mon=5>";
$JunAppTempHT = "<#ByMonthAppTempHT mon=6>";
$JulAppTempHT = "<#ByMonthAppTempHT mon=7>";
$AugAppTempHT = "<#ByMonthAppTempHT mon=8>";
$SepAppTempHT = "<#ByMonthAppTempHT mon=9>";
$OctAppTempHT = "<#ByMonthAppTempHT mon=10>";
$NovAppTempHT = "<#ByMonthAppTempHT mon=11>";
$DecAppTempHT = "<#ByMonthAppTempHT mon=12>";

$JanAppTempL = "<#ByMonthAppTempL mon=1>";
$FebAppTempL = "<#ByMonthAppTempL mon=2>";
$MarAppTempL = "<#ByMonthAppTempL mon=3>";
$AprAppTempL = "<#ByMonthAppTempL mon=4>";
$MayAppTempL = "<#ByMonthAppTempL mon=5>";
$JunAppTempL = "<#ByMonthAppTempL mon=6>";
$JulAppTempL = "<#ByMonthAppTempL mon=7>";
$AugAppTempL = "<#ByMonthAppTempL mon=8>";
$SepAppTempL = "<#ByMonthAppTempL mon=9>";
$OctAppTempL = "<#ByMonthAppTempL mon=10>";
$NovAppTempL = "<#ByMonthAppTempL mon=11>";
$DecAppTempL = "<#ByMonthAppTempL mon=12>";

$JanAppTempLT = "<#ByMonthAppTempLT mon=1>";
$FebAppTempLT = "<#ByMonthAppTempLT mon=2>";
$MarAppTempLT = "<#ByMonthAppTempLT mon=3>";
$AprAppTempLT = "<#ByMonthAppTempLT mon=4>";
$MayAppTempLT = "<#ByMonthAppTempLT mon=5>";
$JunAppTempLT = "<#ByMonthAppTempLT mon=6>";
$JulAppTempLT = "<#ByMonthAppTempLT mon=7>";
$AugAppTempLT = "<#ByMonthAppTempLT mon=8>";
$SepAppTempLT = "<#ByMonthAppTempLT mon=9>";
$OctAppTempLT = "<#ByMonthAppTempLT mon=10>";
$NovAppTempLT = "<#ByMonthAppTempLT mon=11>";
$DecAppTempLT = "<#ByMonthAppTempLT mon=12>";

$JanWChillL = "<#ByMonthWChillL mon=1>";
$FebWChillL = "<#ByMonthWChillL mon=2>";
$MarWChillL = "<#ByMonthWChillL mon=3>";
$AprWChillL = "<#ByMonthWChillL mon=4>";
$MayWChillL = "<#ByMonthWChillL mon=5>";
$JunWChillL = "<#ByMonthWChillL mon=6>";
$JulWChillL = "<#ByMonthWChillL mon=7>";
$AugWChillL = "<#ByMonthWChillL mon=8>";
$SepWChillL = "<#ByMonthWChillL mon=9>";
$OctWChillL = "<#ByMonthWChillL mon=10>";
$NovWChillL = "<#ByMonthWChillL mon=11>";
$DecWChillL = "<#ByMonthWChillL mon=12>";

$JanWChillLT = "<#ByMonthWChillLT mon=1>";
$FebWChillLT = "<#ByMonthWChillLT mon=2>";
$MarWChillLT = "<#ByMonthWChillLT mon=3>";
$AprWChillLT = "<#ByMonthWChillLT mon=4>";
$MayWChillLT = "<#ByMonthWChillLT mon=5>";
$JunWChillLT = "<#ByMonthWChillLT mon=6>";
$JulWChillLT = "<#ByMonthWChillLT mon=7>";
$AugWChillLT = "<#ByMonthWChillLT mon=8>";
$SepWChillLT = "<#ByMonthWChillLT mon=9>";
$OctWChillLT = "<#ByMonthWChillLT mon=10>";
$NovWChillLT = "<#ByMonthWChillLT mon=11>";
$DecWChillLT = "<#ByMonthWChillLT mon=12>";

$JanHeatIndexH = "<#ByMonthHeatIndexH mon=1>";
$FebHeatIndexH = "<#ByMonthHeatIndexH mon=2>";
$MarHeatIndexH = "<#ByMonthHeatIndexH mon=3>";
$AprHeatIndexH = "<#ByMonthHeatIndexH mon=4>";
$MayHeatIndexH = "<#ByMonthHeatIndexH mon=5>";
$JunHeatIndexH = "<#ByMonthHeatIndexH mon=6>";
$JulHeatIndexH = "<#ByMonthHeatIndexH mon=7>";
$AugHeatIndexH = "<#ByMonthHeatIndexH mon=8>";
$SepHeatIndexH = "<#ByMonthHeatIndexH mon=9>";
$OctHeatIndexH = "<#ByMonthHeatIndexH mon=10>";
$NovHeatIndexH = "<#ByMonthHeatIndexH mon=11>";
$DecHeatIndexH = "<#ByMonthHeatIndexH mon=12>";

$JanHeatIndexHT = "<#ByMonthHeatIndexHT mon=1>";
$FebHeatIndexHT = "<#ByMonthHeatIndexHT mon=2>";
$MarHeatIndexHT = "<#ByMonthHeatIndexHT mon=3>";
$AprHeatIndexHT = "<#ByMonthHeatIndexHT mon=4>";
$MayHeatIndexHT = "<#ByMonthHeatIndexHT mon=5>";
$JunHeatIndexHT = "<#ByMonthHeatIndexHT mon=6>";
$JulHeatIndexHT = "<#ByMonthHeatIndexHT mon=7>";
$AugHeatIndexHT = "<#ByMonthHeatIndexHT mon=8>";
$SepHeatIndexHT = "<#ByMonthHeatIndexHT mon=9>";
$OctHeatIndexHT = "<#ByMonthHeatIndexHT mon=10>";
$NovHeatIndexHT = "<#ByMonthHeatIndexHT mon=11>";
$DecHeatIndexHT = "<#ByMonthHeatIndexHT mon=12>";

$JanMinTempH = "<#ByMonthMinTempH mon=1>";
$FebMinTempH = "<#ByMonthMinTempH mon=2>";
$MarMinTempH = "<#ByMonthMinTempH mon=3>";
$AprMinTempH = "<#ByMonthMinTempH mon=4>";
$MayMinTempH = "<#ByMonthMinTempH mon=5>";
$JunMinTempH = "<#ByMonthMinTempH mon=6>";
$JulMinTempH = "<#ByMonthMinTempH mon=7>";
$AugMinTempH = "<#ByMonthMinTempH mon=8>";
$SepMinTempH = "<#ByMonthMinTempH mon=9>";
$OctMinTempH = "<#ByMonthMinTempH mon=10>";
$NovMinTempH = "<#ByMonthMinTempH mon=11>";
$DecMinTempH = "<#ByMonthMinTempH mon=12>";

$JanMinTempHT = "<#ByMonthMinTempHT mon=1>";
$FebMinTempHT = "<#ByMonthMinTempHT mon=2>";
$MarMinTempHT = "<#ByMonthMinTempHT mon=3>";
$AprMinTempHT = "<#ByMonthMinTempHT mon=4>";
$MayMinTempHT = "<#ByMonthMinTempHT mon=5>";
$JunMinTempHT = "<#ByMonthMinTempHT mon=6>";
$JulMinTempHT = "<#ByMonthMinTempHT mon=7>";
$AugMinTempHT = "<#ByMonthMinTempHT mon=8>";
$SepMinTempHT = "<#ByMonthMinTempHT mon=9>";
$OctMinTempHT = "<#ByMonthMinTempHT mon=10>";
$NovMinTempHT = "<#ByMonthMinTempHT mon=11>";
$DecMinTempHT = "<#ByMonthMinTempHT mon=12>";

$JanMaxTempL = "<#ByMonthMaxTempL mon=1>";
$FebMaxTempL = "<#ByMonthMaxTempL mon=2>";
$MarMaxTempL = "<#ByMonthMaxTempL mon=3>";
$AprMaxTempL = "<#ByMonthMaxTempL mon=4>";
$MayMaxTempL = "<#ByMonthMaxTempL mon=5>";
$JunMaxTempL = "<#ByMonthMaxTempL mon=6>";
$JulMaxTempL = "<#ByMonthMaxTempL mon=7>";
$AugMaxTempL = "<#ByMonthMaxTempL mon=8>";
$SepMaxTempL = "<#ByMonthMaxTempL mon=9>";
$OctMaxTempL = "<#ByMonthMaxTempL mon=10>";
$NovMaxTempL = "<#ByMonthMaxTempL mon=11>";
$DecMaxTempL = "<#ByMonthMaxTempL mon=12>";

$JanMaxTempLT = "<#ByMonthMaxTempLT mon=1>";
$FebMaxTempLT = "<#ByMonthMaxTempLT mon=2>";
$MarMaxTempLT = "<#ByMonthMaxTempLT mon=3>";
$AprMaxTempLT = "<#ByMonthMaxTempLT mon=4>";
$MayMaxTempLT = "<#ByMonthMaxTempLT mon=5>";
$JunMaxTempLT = "<#ByMonthMaxTempLT mon=6>";
$JulMaxTempLT = "<#ByMonthMaxTempLT mon=7>";
$AugMaxTempLT = "<#ByMonthMaxTempLT mon=8>";
$SepMaxTempLT = "<#ByMonthMaxTempLT mon=9>";
$OctMaxTempLT = "<#ByMonthMaxTempLT mon=10>";
$NovMaxTempLT = "<#ByMonthMaxTempLT mon=11>";
$DecMaxTempLT = "<#ByMonthMaxTempLT mon=12>";

$JanHumH = "<#ByMonthHumH mon=1>";
$FebHumH = "<#ByMonthHumH mon=2>";
$MarHumH = "<#ByMonthHumH mon=3>";
$AprHumH = "<#ByMonthHumH mon=4>";
$MayHumH = "<#ByMonthHumH mon=5>";
$JunHumH = "<#ByMonthHumH mon=6>";
$JulHumH = "<#ByMonthHumH mon=7>";
$AugHumH = "<#ByMonthHumH mon=8>";
$SepHumH = "<#ByMonthHumH mon=9>";
$OctHumH = "<#ByMonthHumH mon=10>";
$NovHumH = "<#ByMonthHumH mon=11>";
$DecHumH = "<#ByMonthHumH mon=12>";

$JanHumHT = "<#ByMonthHumHT mon=1>";
$FebHumHT = "<#ByMonthHumHT mon=2>";
$MarHumHT = "<#ByMonthHumHT mon=3>";
$AprHumHT = "<#ByMonthHumHT mon=4>";
$MayHumHT = "<#ByMonthHumHT mon=5>";
$JunHumHT = "<#ByMonthHumHT mon=6>";
$JulHumHT = "<#ByMonthHumHT mon=7>";
$AugHumHT = "<#ByMonthHumHT mon=8>";
$SepHumHT = "<#ByMonthHumHT mon=9>";
$OctHumHT = "<#ByMonthHumHT mon=10>";
$NovHumHT = "<#ByMonthHumHT mon=11>";
$DecHumHT = "<#ByMonthHumHT mon=12>";

$JanHumL = "<#ByMonthHumL mon=1>";
$FebHumL = "<#ByMonthHumL mon=2>";
$MarHumL = "<#ByMonthHumL mon=3>";
$AprHumL = "<#ByMonthHumL mon=4>";
$MayHumL = "<#ByMonthHumL mon=5>";
$JunHumL = "<#ByMonthHumL mon=6>";
$JulHumL = "<#ByMonthHumL mon=7>";
$AugHumL = "<#ByMonthHumL mon=8>";
$SepHumL = "<#ByMonthHumL mon=9>";
$OctHumL = "<#ByMonthHumL mon=10>";
$NovHumL = "<#ByMonthHumL mon=11>";
$DecHumL = "<#ByMonthHumL mon=12>";

$JanHumLT = "<#ByMonthHumLT mon=1>";
$FebHumLT = "<#ByMonthHumLT mon=2>";
$MarHumLT = "<#ByMonthHumLT mon=3>";
$AprHumLT = "<#ByMonthHumLT mon=4>";
$MayHumLT = "<#ByMonthHumLT mon=5>";
$JunHumLT = "<#ByMonthHumLT mon=6>";
$JulHumLT = "<#ByMonthHumLT mon=7>";
$AugHumLT = "<#ByMonthHumLT mon=8>";
$SepHumLT = "<#ByMonthHumLT mon=9>";
$OctHumLT = "<#ByMonthHumLT mon=10>";
$NovHumLT = "<#ByMonthHumLT mon=11>";
$DecHumLT = "<#ByMonthHumLT mon=12>";

$JanHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=1>";
$FebHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=2>";
$MarHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=3>";
$AprHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=4>";
$MayHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=5>";
$JunHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=6>";
$JulHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=7>";
$AugHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=8>";
$SepHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=9>";
$OctHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=10>";
$NovHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=11>";
$DecHighDailyTempRange = "<#ByMonthHighDailyTempRange mon=12>";

$JanHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=1>";
$FebHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=2>";
$MarHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=3>";
$AprHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=4>";
$MayHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=5>";
$JunHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=6>";
$JulHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=7>";
$AugHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=8>";
$SepHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=9>";
$OctHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=10>";
$NovHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=11>";
$DecHighDailyTempRangeT = "<#ByMonthHighDailyTempRangeT mon=12>";

$JanLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=1>";
$FebLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=2>";
$MarLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=3>";
$AprLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=4>";
$MayLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=5>";
$JunLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=6>";
$JulLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=7>";
$AugLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=8>";
$SepLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=9>";
$OctLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=10>";
$NovLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=11>";
$DecLowDailyTempRange = "<#ByMonthLowDailyTempRange mon=12>";

$JanLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=1>";
$FebLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=2>";
$MarLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=3>";
$AprLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=4>";
$MayLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=5>";
$JunLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=6>";
$JulLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=7>";
$AugLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=8>";
$SepLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=9>";
$OctLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=10>";
$NovLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=11>";
$DecLowDailyTempRangeT = "<#ByMonthLowDailyTempRangeT mon=12>";

$JanRainRateH = "<#ByMonthRainRateH mon=1>";
$FebRainRateH = "<#ByMonthRainRateH mon=2>";
$MarRainRateH = "<#ByMonthRainRateH mon=3>";
$AprRainRateH = "<#ByMonthRainRateH mon=4>";
$MayRainRateH = "<#ByMonthRainRateH mon=5>";
$JunRainRateH = "<#ByMonthRainRateH mon=6>";
$JulRainRateH = "<#ByMonthRainRateH mon=7>";
$AugRainRateH = "<#ByMonthRainRateH mon=8>";
$SepRainRateH = "<#ByMonthRainRateH mon=9>";
$OctRainRateH = "<#ByMonthRainRateH mon=10>";
$NovRainRateH = "<#ByMonthRainRateH mon=11>";
$DecRainRateH = "<#ByMonthRainRateH mon=12>";

$JanRainRateHT = "<#ByMonthRainRateHT mon=1>";
$FebRainRateHT = "<#ByMonthRainRateHT mon=2>";
$MarRainRateHT = "<#ByMonthRainRateHT mon=3>";
$AprRainRateHT = "<#ByMonthRainRateHT mon=4>";
$MayRainRateHT = "<#ByMonthRainRateHT mon=5>";
$JunRainRateHT = "<#ByMonthRainRateHT mon=6>";
$JulRainRateHT = "<#ByMonthRainRateHT mon=7>";
$AugRainRateHT = "<#ByMonthRainRateHT mon=8>";
$SepRainRateHT = "<#ByMonthRainRateHT mon=9>";
$OctRainRateHT = "<#ByMonthRainRateHT mon=10>";
$NovRainRateHT = "<#ByMonthRainRateHT mon=11>";
$DecRainRateHT = "<#ByMonthRainRateHT mon=12>";

$JanHourlyRainH = "<#ByMonthHourlyRainH mon=1>";
$FebHourlyRainH = "<#ByMonthHourlyRainH mon=2>";
$MarHourlyRainH = "<#ByMonthHourlyRainH mon=3>";
$AprHourlyRainH = "<#ByMonthHourlyRainH mon=4>";
$MayHourlyRainH = "<#ByMonthHourlyRainH mon=5>";
$JunHourlyRainH = "<#ByMonthHourlyRainH mon=6>";
$JulHourlyRainH = "<#ByMonthHourlyRainH mon=7>";
$AugHourlyRainH = "<#ByMonthHourlyRainH mon=8>";
$SepHourlyRainH = "<#ByMonthHourlyRainH mon=9>";
$OctHourlyRainH = "<#ByMonthHourlyRainH mon=10>";
$NovHourlyRainH = "<#ByMonthHourlyRainH mon=11>";
$DecHourlyRainH = "<#ByMonthHourlyRainH mon=12>";

$JanHourlyRainHT = "<#ByMonthHourlyRainHT mon=1>";
$FebHourlyRainHT = "<#ByMonthHourlyRainHT mon=2>";
$MarHourlyRainHT = "<#ByMonthHourlyRainHT mon=3>";
$AprHourlyRainHT = "<#ByMonthHourlyRainHT mon=4>";
$MayHourlyRainHT = "<#ByMonthHourlyRainHT mon=5>";
$JunHourlyRainHT = "<#ByMonthHourlyRainHT mon=6>";
$JulHourlyRainHT = "<#ByMonthHourlyRainHT mon=7>";
$AugHourlyRainHT = "<#ByMonthHourlyRainHT mon=8>";
$SepHourlyRainHT = "<#ByMonthHourlyRainHT mon=9>";
$OctHourlyRainHT = "<#ByMonthHourlyRainHT mon=10>";
$NovHourlyRainHT = "<#ByMonthHourlyRainHT mon=11>";
$DecHourlyRainHT = "<#ByMonthHourlyRainHT mon=12>";

$JanDailyRainH = "<#ByMonthDailyRainH mon=1>";
$FebDailyRainH = "<#ByMonthDailyRainH mon=2>";
$MarDailyRainH = "<#ByMonthDailyRainH mon=3>";
$AprDailyRainH = "<#ByMonthDailyRainH mon=4>";
$MayDailyRainH = "<#ByMonthDailyRainH mon=5>";
$JunDailyRainH = "<#ByMonthDailyRainH mon=6>";
$JulDailyRainH = "<#ByMonthDailyRainH mon=7>";
$AugDailyRainH = "<#ByMonthDailyRainH mon=8>";
$SepDailyRainH = "<#ByMonthDailyRainH mon=9>";
$OctDailyRainH = "<#ByMonthDailyRainH mon=10>";
$NovDailyRainH = "<#ByMonthDailyRainH mon=11>";
$DecDailyRainH = "<#ByMonthDailyRainH mon=12>";

$JanDailyRainHT = "<#ByMonthDailyRainHT mon=1>";
$FebDailyRainHT = "<#ByMonthDailyRainHT mon=2>";
$MarDailyRainHT = "<#ByMonthDailyRainHT mon=3>";
$AprDailyRainHT = "<#ByMonthDailyRainHT mon=4>";
$MayDailyRainHT = "<#ByMonthDailyRainHT mon=5>";
$JunDailyRainHT = "<#ByMonthDailyRainHT mon=6>";
$JulDailyRainHT = "<#ByMonthDailyRainHT mon=7>";
$AugDailyRainHT = "<#ByMonthDailyRainHT mon=8>";
$SepDailyRainHT = "<#ByMonthDailyRainHT mon=9>";
$OctDailyRainHT = "<#ByMonthDailyRainHT mon=10>";
$NovDailyRainHT = "<#ByMonthDailyRainHT mon=11>";
$DecDailyRainHT = "<#ByMonthDailyRainHT mon=12>";

$JanMonthlyRainH = "<#ByMonthMonthlyRainH mon=1>";
$FebMonthlyRainH = "<#ByMonthMonthlyRainH mon=2>";
$MarMonthlyRainH = "<#ByMonthMonthlyRainH mon=3>";
$AprMonthlyRainH = "<#ByMonthMonthlyRainH mon=4>";
$MayMonthlyRainH = "<#ByMonthMonthlyRainH mon=5>";
$JunMonthlyRainH = "<#ByMonthMonthlyRainH mon=6>";
$JulMonthlyRainH = "<#ByMonthMonthlyRainH mon=7>";
$AugMonthlyRainH = "<#ByMonthMonthlyRainH mon=8>";
$SepMonthlyRainH = "<#ByMonthMonthlyRainH mon=9>";
$OctMonthlyRainH = "<#ByMonthMonthlyRainH mon=10>";
$NovMonthlyRainH = "<#ByMonthMonthlyRainH mon=11>";
$DecMonthlyRainH = "<#ByMonthMonthlyRainH mon=12>";

$JanMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=1>";
$FebMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=2>";
$MarMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=3>";
$AprMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=4>";
$MayMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=5>";
$JunMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=6>";
$JulMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=7>";
$AugMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=8>";
$SepMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=9>";
$OctMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=10>";
$NovMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=11>";
$DecMonthlyRainHT = "<#ByMonthMonthlyRainHT mon=12>";

$JanLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=1>";
$FebLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=2>";
$MarLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=3>";
$AprLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=4>";
$MayLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=5>";
$JunLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=6>";
$JulLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=7>";
$AugLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=8>";
$SepLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=9>";
$OctLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=10>";
$NovLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=11>";
$DecLongestDryPeriod = "<#ByMonthLongestDryPeriod mon=12>";

$JanLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=1>";
$FebLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=2>";
$MarLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=3>";
$AprLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=4>";
$MayLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=5>";
$JunLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=6>";
$JulLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=7>";
$AugLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=8>";
$SepLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=9>";
$OctLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=10>";
$NovLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=11>";
$DecLongestDryPeriodT = "<#ByMonthLongestDryPeriodT mon=12>";

$JanLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=1>";
$FebLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=2>";
$MarLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=3>";
$AprLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=4>";
$MayLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=5>";
$JunLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=6>";
$JulLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=7>";
$AugLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=8>";
$SepLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=9>";
$OctLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=10>";
$NovLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=11>";
$DecLongestWetPeriod = "<#ByMonthLongestWetPeriod mon=12>";

$JanLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=1>";
$FebLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=2>";
$MarLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=3>";
$AprLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=4>";
$MayLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=5>";
$JunLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=6>";
$JulLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=7>";
$AugLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=8>";
$SepLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=9>";
$OctLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=10>";
$NovLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=11>";
$DecLongestWetPeriodT = "<#ByMonthLongestWetPeriodT mon=12>";

$JanGustH = "<#ByMonthGustH mon=1>";
$FebGustH = "<#ByMonthGustH mon=2>";
$MarGustH = "<#ByMonthGustH mon=3>";
$AprGustH = "<#ByMonthGustH mon=4>";
$MayGustH = "<#ByMonthGustH mon=5>";
$JunGustH = "<#ByMonthGustH mon=6>";
$JulGustH = "<#ByMonthGustH mon=7>";
$AugGustH = "<#ByMonthGustH mon=8>";
$SepGustH = "<#ByMonthGustH mon=9>";
$OctGustH = "<#ByMonthGustH mon=10>";
$NovGustH = "<#ByMonthGustH mon=11>";
$DecGustH = "<#ByMonthGustH mon=12>";

$JanGustHT = "<#ByMonthGustHT mon=1>";
$FebGustHT = "<#ByMonthGustHT mon=2>";
$MarGustHT = "<#ByMonthGustHT mon=3>";
$AprGustHT = "<#ByMonthGustHT mon=4>";
$MayGustHT = "<#ByMonthGustHT mon=5>";
$JunGustHT = "<#ByMonthGustHT mon=6>";
$JulGustHT = "<#ByMonthGustHT mon=7>";
$AugGustHT = "<#ByMonthGustHT mon=8>";
$SepGustHT = "<#ByMonthGustHT mon=9>";
$OctGustHT = "<#ByMonthGustHT mon=10>";
$NovGustHT = "<#ByMonthGustHT mon=11>";
$DecGustHT = "<#ByMonthGustHT mon=12>";

$JanWindH = "<#ByMonthWindH mon=1>";
$FebWindH = "<#ByMonthWindH mon=2>";
$MarWindH = "<#ByMonthWindH mon=3>";
$AprWindH = "<#ByMonthWindH mon=4>";
$MayWindH = "<#ByMonthWindH mon=5>";
$JunWindH = "<#ByMonthWindH mon=6>";
$JulWindH = "<#ByMonthWindH mon=7>";
$AugWindH = "<#ByMonthWindH mon=8>";
$SepWindH = "<#ByMonthWindH mon=9>";
$OctWindH = "<#ByMonthWindH mon=10>";
$NovWindH = "<#ByMonthWindH mon=11>";
$DecWindH = "<#ByMonthWindH mon=12>";

$JanWindHT = "<#ByMonthWindHT mon=1>";
$FebWindHT = "<#ByMonthWindHT mon=2>";
$MarWindHT = "<#ByMonthWindHT mon=3>";
$AprWindHT = "<#ByMonthWindHT mon=4>";
$MayWindHT = "<#ByMonthWindHT mon=5>";
$JunWindHT = "<#ByMonthWindHT mon=6>";
$JulWindHT = "<#ByMonthWindHT mon=7>";
$AugWindHT = "<#ByMonthWindHT mon=8>";
$SepWindHT = "<#ByMonthWindHT mon=9>";
$OctWindHT = "<#ByMonthWindHT mon=10>";
$NovWindHT = "<#ByMonthWindHT mon=11>";
$DecWindHT = "<#ByMonthWindHT mon=12>";

$JanWindRunH = "<#ByMonthWindRunH mon=1>";
$FebWindRunH = "<#ByMonthWindRunH mon=2>";
$MarWindRunH = "<#ByMonthWindRunH mon=3>";
$AprWindRunH = "<#ByMonthWindRunH mon=4>";
$MayWindRunH = "<#ByMonthWindRunH mon=5>";
$JunWindRunH = "<#ByMonthWindRunH mon=6>";
$JulWindRunH = "<#ByMonthWindRunH mon=7>";
$AugWindRunH = "<#ByMonthWindRunH mon=8>";
$SepWindRunH = "<#ByMonthWindRunH mon=9>";
$OctWindRunH = "<#ByMonthWindRunH mon=10>";
$NovWindRunH = "<#ByMonthWindRunH mon=11>";
$DecWindRunH = "<#ByMonthWindRunH mon=12>";

$JanWindRunHT = "<#ByMonthWindRunHT mon=1>";
$FebWindRunHT = "<#ByMonthWindRunHT mon=2>";
$MarWindRunHT = "<#ByMonthWindRunHT mon=3>";
$AprWindRunHT = "<#ByMonthWindRunHT mon=4>";
$MayWindRunHT = "<#ByMonthWindRunHT mon=5>";
$JunWindRunHT = "<#ByMonthWindRunHT mon=6>";
$JulWindRunHT = "<#ByMonthWindRunHT mon=7>";
$AugWindRunHT = "<#ByMonthWindRunHT mon=8>";
$SepWindRunHT = "<#ByMonthWindRunHT mon=9>";
$OctWindRunHT = "<#ByMonthWindRunHT mon=10>";
$NovWindRunHT = "<#ByMonthWindRunHT mon=11>";
$DecWindRunHT = "<#ByMonthWindRunHT mon=12>";

$JanPressH = "<#ByMonthPressH mon=1>";
$FebPressH = "<#ByMonthPressH mon=2>";
$MarPressH = "<#ByMonthPressH mon=3>";
$AprPressH = "<#ByMonthPressH mon=4>";
$MayPressH = "<#ByMonthPressH mon=5>";
$JunPressH = "<#ByMonthPressH mon=6>";
$JulPressH = "<#ByMonthPressH mon=7>";
$AugPressH = "<#ByMonthPressH mon=8>";
$SepPressH = "<#ByMonthPressH mon=9>";
$OctPressH = "<#ByMonthPressH mon=10>";
$NovPressH = "<#ByMonthPressH mon=11>";
$DecPressH = "<#ByMonthPressH mon=12>";

$JanPressHT = "<#ByMonthPressHT mon=1>";
$FebPressHT = "<#ByMonthPressHT mon=2>";
$MarPressHT = "<#ByMonthPressHT mon=3>";
$AprPressHT = "<#ByMonthPressHT mon=4>";
$MayPressHT = "<#ByMonthPressHT mon=5>";
$JunPressHT = "<#ByMonthPressHT mon=6>";
$JulPressHT = "<#ByMonthPressHT mon=7>";
$AugPressHT = "<#ByMonthPressHT mon=8>";
$SepPressHT = "<#ByMonthPressHT mon=9>";
$OctPressHT = "<#ByMonthPressHT mon=10>";
$NovPressHT = "<#ByMonthPressHT mon=11>";
$DecPressHT = "<#ByMonthPressHT mon=12>";

$JanPressL = "<#ByMonthPressL mon=1>";
$FebPressL = "<#ByMonthPressL mon=2>";
$MarPressL = "<#ByMonthPressL mon=3>";
$AprPressL = "<#ByMonthPressL mon=4>";
$MayPressL = "<#ByMonthPressL mon=5>";
$JunPressL = "<#ByMonthPressL mon=6>";
$JulPressL = "<#ByMonthPressL mon=7>";
$AugPressL = "<#ByMonthPressL mon=8>";
$SepPressL = "<#ByMonthPressL mon=9>";
$OctPressL = "<#ByMonthPressL mon=10>";
$NovPressL = "<#ByMonthPressL mon=11>";
$DecPressL = "<#ByMonthPressL mon=12>";

$JanPressLT = "<#ByMonthPressLT mon=1>";
$FebPressLT = "<#ByMonthPressLT mon=2>";
$MarPressLT = "<#ByMonthPressLT mon=3>";
$AprPressLT = "<#ByMonthPressLT mon=4>";
$MayPressLT = "<#ByMonthPressLT mon=5>";
$JunPressLT = "<#ByMonthPressLT mon=6>";
$JulPressLT = "<#ByMonthPressLT mon=7>";
$AugPressLT = "<#ByMonthPressLT mon=8>";
$SepPressLT = "<#ByMonthPressLT mon=9>";
$OctPressLT = "<#ByMonthPressLT mon=10>";
$NovPressLT = "<#ByMonthPressLT mon=11>";
$DecPressLT = "<#ByMonthPressLT mon=12>";

// End of File
?>
Thank you very much, it's just what I needed. I'm going to get everything up and running.

Edit: Here are the results: http://www.meteosangonera.es/records-mensuales/
Last edited by meteosangonera on Sat 25 Apr 2020 12:56 pm, edited 1 time in total.

water01
Posts: 1943
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulsMX PHP Webtags

Post by water01 »

I gave that as an example, the same sort of array can be defined for every 'by month' web tag. I can't understand why you would want to add one only.
You are right of course, so I have removed it. Was not thinking logically and simply wanted to help meteosangonera
Finally, you might want to explain how people use your $Recentxxxxx variables, I am sure many will struggle with the concept of how to use a string containing 3 values separated by "|". I don't know if you left it like that because that is how you found it in the template you have selected to edit, or you have it like that to match how you use it.
Ok I was making an assumption that anyone who was using PHP would know how to use the string in explode() or str_split() (all PHP versions) or split()
(pre 7.0 versions) and indeed it was in the original template.
Can I also add, for pure PHP files, it is not good practice to add a "?>" to the end of such a file, that is only intended to be included to mark the end of PHP when embedded in a HTML file.
I won't bore you with full technical details, but problems may occur if someone has embedded spaces after where they include your file, or accidentally adds space after that terminator in your file.
OK not sure what you mean by this but every tutorial on PHP and good Web Building programs that use PHP templates always have the closing pair. For instance https://www.w3schools.com/php/php_syntax.asp
and my Webuilder program gives a base template of

Code: Select all

<?php

echo "Hello World!";

?>
(I added the Hello World) and that is how I have been taught, so although you may disagree with me, I will stick with my interpretation as understand it and not follow yours.
David
Image

sfws
Posts: 929
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: CumulsMX PHP Webtags

Post by sfws »

water01 wrote:
Sat 25 Apr 2020 11:26 am
You are right of course
Good to hear I am.
water01 wrote:
Sat 25 Apr 2020 11:26 am
PHP templates always have the closing pair. For instance https://www.w3schools.com/php/php_syntax.asp
Your link is to a tutorial embedding PHP in HTML, proving my point that the "?>" is needed in that context. I assume your hello world example would also be embedded in HTML for you to use it. Please read again what I actually said. I was not talking about
water01 wrote:
Sat 25 Apr 2020 11:26 am
Web Building
context, but a stand alone pure PHP script. There should be a difference, between what you use for your web page where PHP is embedded in HTML, and what you use when you are writing a script, not directly part of a web page (or indeed other non-PHP document, PHP can be embedded in various documents). Your script is not supposed to be ending PHP, it is to be inserted in the middle of other PHP by a "require" or "include" statement. The ending of PHP will come later in that web page that has that statement. That is the major point I am asking you to understand.
water01 wrote:
Sat 25 Apr 2020 11:26 am
I will stick with my interpretation as I understand it and not follow yours
It is indeed your choice, and I don't expect (to adapt your recent words) the horse to drink when I lead it to water.

I prefer to follow this technical guidance https://www.php.net/manual/en/language. ... hptags.php for my use of such tags, and was just trying to simplify that for the benefit of those less skilled than you in using PHP.

That was also why I mentioned the "|", people need to be as skilled as you to use "explode()" or other options, yet you are sharing the script presumably for benefit of people who don't have skill to write the script for themselves, such as meteosangonera.

water01
Posts: 1943
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulsMX PHP Webtags

Post by water01 »

Have upgraded the cumuluswebtags.txt in the first post to include the two new tags in Build 3075.

Code: Select all

<#BatteryLowAlarm>
<#feelslike>
Have not done but will look into it

Code: Select all

Plus all decimal tags now accept "rc=y"
David
Image

Post Reply