|
|
(3 intermediate revisions by the same user not shown) |
Line 172: |
Line 172: |
| [Compiler] | | [Compiler] |
| ChartContainerHeight=650 (Default) | | ChartContainerHeight=650 (Default) |
| #The Plot Variables Evapotranspiration, CoolingDegreeDays and Heating DegreeDays are not supplied by CMX in the JSONs. CumulusUtils provides those automatically when used in the definitions (on request) with the commandline parameter UserAskedData. See also [[ChartsCompiler#Operation|ChartsCompiler Operation]]. | | #The Plot Variables Evapotranspiration, CoolingDegreeDays and Heating DegreeDays are not supplied by CMX in the JSONs. CumulusUtils provides those automatically when used in the definitions (on request) with the commandline parameter [[UserAskedData]]. See also [[ChartsCompiler#Operation|ChartsCompiler Operation]]. |
| #You have to schedule this command if you wish to use the FTP frequency CMX uses for its JSON's. Note that these JSON files specific to CumulusUtils '''always reside in the website root''' of CumulusUtils, even if you have more websites and define the ''CumulusRealTimeLocation''. | | #You have to schedule this command if you wish to use the FTP frequency CMX uses for its JSON's. Note that these JSON files specific to CumulusUtils '''always reside in the website root''' of CumulusUtils, even if you have more websites and define the ''CumulusRealTimeLocation''. |
| #If the user uses different locales for CMX and CumulusUtils the monthly log filenames will be according to the locale of CMX. This creates an issue which is solved by the inifile parameter: | | #If the user uses different locales for CMX and CumulusUtils the monthly log filenames will be according to the locale of CMX. This creates an issue which is solved by the inifile parameter: |
Line 180: |
Line 180: |
|
| |
|
| == Example CutilsCharts.def == | | == Example CutilsCharts.def == |
| The Chart definitions below are operational on [https://meteo-wagenborgen.nl meteo-wagenborgen.nl], contains Dutch descriptions and should give you a good impression of the possibilities. As the Compiler will develop this code will change. | | The Chart definitions below is included in the distribution of CumulusUtils and serves as an example. |
| | |
| Chart Overzicht Title Overzicht van de huidige weerstatus ConnectsTo 2 4 15 20
| |
| PLOT Temperature Colour #058DC7 zindex 90
| |
| PLOT DewPoint Colour #50B432 zindex 80
| |
| PLOT pressure Colour red zindex 70
| |
| Plot Humidity Colour #64E572 zindex 60
| |
| Plot SolarRadiation As Area Opacity 0.2 Colour Orange zindex 20
| |
| Plot RainFall As Area colour #33B4FF opacity 0.2 zindex 10
| |
| EndChart
| |
| | |
| Chart Temperature Title Temperature and Derivatives ConnectsTo 1 13 14
| |
| Plot InsideTemp As Spline Colour #DDDF00 zIndex 100
| |
| PLOT Temperature As SPline Colour #058DC7 zindex 90
| |
| PLOT FeelsLike As SPline Colour #ED561B zindex 80
| |
| PLOT DewPoint As SPline Colour #50B432 zindex 70
| |
| EndCHART
| |
| | |
| Chart Wind Title Wind ConnectsTo 5 8
| |
| Plot WindGust
| |
| Plot WindSpeed
| |
| EndCHART
| |
| | |
| Chart Windrichting Title Windrichting ConnectsTo 6 7
| |
| Plot Bearing As Scatter
| |
| Plot AverageBearing As Scatter
| |
| EndCHART
| |
| | |
| Chart Regen Title Regen and Regensnelheid ConnectsTo 3 21 22
| |
| Plot RainFall As Area Colour green Opacity 0.2
| |
| Plot RainRate zIndex 100
| |
| EndChart
| |
| | |
| Chart Vochtigheid Title Relatieve vochtigheid binnen en buiten ConnectsTo 11 16
| |
| Plot Humidity
| |
| Plot InsideHumidity
| |
| EndChart
| |
| | |
| Chart Zon Title (Max)Straling en UV ConnectsTo 12 23 24
| |
| Plot UV zIndex 100
| |
| Plot SolarRadiation As Area Opacity 0.4 Colour Orange zIndex 50
| |
| Plot TheoreticalSolarMax As Area Colour Gold zIndex 10 Opacity 0.2
| |
| EndChart
| |
| | |
| CHART DagelijkseTemp TITLE Daily Average Temperature with Min/Max of last year
| |
| PLOT DAILY AverageTemp colour green
| |
| Plot DAILY MinTemp colour blue
| |
| Plot DAILY MaxTemp colour red
| |
| EndChart OUTPUT AllTempChart.txt
| |
| | |
| Chart DagelijkseRegen Title Daily rainfall of last year
| |
| Plot DAILY RainFall As Column colour lightblue
| |
| EndChart OUTPUT AllRainChart.txt
| |
| | |
| Chart DagelijkseZonuren Title Sunhours per day of last year
| |
| Plot ALL SunHours As Column colour gold
| |
| EndChart OUTPUT AllSolarChart.txt
| |
| | |
| Chart TempEVT Title Temperature and EVT historical ConnectsTo 12 23 24
| |
| | |
| PLOT ALL AverageTemp As SPline Colour #058DC7 zindex 90 LineWidth 10
| |
| PLOT ALL Evapotranspiration As Column Colour #cc0000
| |
| EndCHART OUTPUT RarityCharts.txt
| |
| | |
| Chart TempEVTRecent Title Temperature and EVT Recently
| |
| PLOT Temperature As SPline Colour #058DC7 zindex 90 LineWidth 10
| |
| PLOT Evapotranspiration As Area Colour #cc0000
| |
| EndCHART
| |
| | |
| Chart CoolingDays Title Residual variables
| |
| Plot ALL CoolingDegreeDays
| |
| Plot ALL HeatingDegreeDays
| |
| Plot All Evapotranspiration
| |
| EndChart
| |
| | |
| CHART DagelijkseTemp TITLE DAILY Temp with ColumnRange
| |
| PLOT DAILY AverageTemp colour green As ColumnRange
| |
| PLOT DAILY AverageTemp colour black As spline
| |
| EndChart OUTPUT ColumnRange.txt
| |
| | |
| CHART DagelijkseBaro TITLE All Barometer with ColumnRange
| |
| PLOT All MinBarometer colour Crimson As ColumnRange
| |
| EndChart
| |
| | |
| CHART DailyRain TITLE Rain with statistics
| |
| PLOT ALL RainFall colour CornflowerBlue as column
| |
| PLOT ALL RainFall EVAL [ SUM( RainFall ) ] COLOUR crimson AXIS Free
| |
| STATS RainFall SMA colour green
| |
| EndChart OUTPUT Statistics.txt
| |
| | |
| CHART DailyTemp TITLE Temp with statistics offset 5
| |
| PLOT ALL AverageTemp colour pink
| |
| PLOT ALL AverageTemp EVAL [ Sum(AverageTemp-5) ] COLOUR green AXIS DegreeDays
| |
| STATS AverageTemp SMA COLOUR crimson
| |
| EndChart
| |
| | |
|
| |
|
| | (To be included) |
|
| |
|
| [[Category:CumulusUtils]] | | [[Category:CumulusUtils]] |