Charts Definition Language (CDL): Difference between revisions

Line 104: Line 104:
The Chart definitions below are a test version operational on meteo-wagenborgen.nl, contains Dutch descriptions and should give you a good impression of the possibilities. As the Ccompiler will develop this code will change.
The Chart definitions below are a test version operational on meteo-wagenborgen.nl, contains Dutch descriptions and should give you a good impression of the possibilities. As the Ccompiler will develop this code will change.


Chart Overzicht Title Overzicht van de huidige weerstatus ConnectsTo 2 4 15 20
  Chart Overzicht Title Overzicht van de huidige weerstatus ConnectsTo 2 4 15 20
  PLOT Temperature Colour #058DC7 zindex 90
    PLOT Temperature Colour #058DC7 zindex 90
  PLOT DewPoint Colour #50B432 zindex 80
    PLOT DewPoint Colour #50B432 zindex 80
  PLOT pressure Colour red zindex 70
    PLOT pressure Colour red zindex 70
  Plot Humidity Colour #64E572 zindex 60
    Plot Humidity Colour #64E572 zindex 60
  Plot SolarRadiation As Area Opacity 0.2 Colour Orange zindex 20
    Plot SolarRadiation As Area Opacity 0.2 Colour Orange zindex 20
  Plot RainFall As Area colour #33B4FF opacity 0.2 zindex 10
    Plot RainFall As Area colour #33B4FF opacity 0.2 zindex 10
EndChart
  EndChart


Chart Temperature Title Temperature and Derivatives ConnectsTo 1 13 14
  Chart Temperature Title Temperature and Derivatives ConnectsTo 1 13 14
  Plot InsideTemp As Spline Colour #DDDF00 zIndex 100
    Plot InsideTemp As Spline Colour #DDDF00 zIndex 100
  PLOT Temperature As SPline Colour #058DC7 zindex 90
    PLOT Temperature As SPline Colour #058DC7 zindex 90
  PLOT FeelsLike As SPline Colour #ED561B zindex 80
    PLOT FeelsLike As SPline Colour #ED561B zindex 80
  PLOT DewPoint As SPline Colour #50B432 zindex 70
    PLOT DewPoint As SPline Colour #50B432 zindex 70
EndCHART
  EndCHART


Chart TempEVT Title Temperature and EVT historical
  Chart Wind Title Wind ConnectsTo 5 8
  PLOT ALL AverageTemp As SPline Colour #058DC7 zindex 90 LineWidth 10
    Plot WindGust
   PLOT ALL Evapotranspiration As Column Colour #cc0000
    Plot WindSpeed
EndCHART
   EndCHART


Chart TempEVTRecent Title Temperature and EVT Recently
  Chart Windrichting Title Windrichting ConnectsTo 6 7
  PLOT Temperature As SPline Colour #058DC7 zindex 90 LineWidth 10
    Plot Bearing As Scatter
  PLOT Evapotranspiration As Area Colour #cc0000
    Plot AverageBearing As Scatter
EndCHART
  EndCHART


Chart Wind Title Wind ConnectsTo 5 8
  Chart Regen Title Regen and Regensnelheid ConnectsTo 3 21 22
  Plot WindGust
    Plot RainFall As Area Colour green Opacity 0.2
  Plot WindSpeed
    Plot RainRate zIndex 100
EndCHART
  EndChart


Chart Windrichting Title Windrichting ConnectsTo 6 7
  Chart Vochtigheid Title Relatieve vochtigheid binnen en buiten ConnectsTo 11 16
  Plot Bearing As Scatter
    Plot Humidity
  Plot AverageBearing As Scatter
    Plot InsideHumidity
EndCHART
  EndChart


Chart Regen Title Regen and Regensnelheid ConnectsTo 3 21 22
  Chart Zon Title (Max)Straling en UV ConnectsTo 12 23 24
  Plot RainFall As Area Colour green Opacity 0.2
    Plot UV zIndex 100
   Plot RainRate zIndex 100
    Plot SolarRadiation As Area Opacity 0.4 Colour Orange zIndex 50
EndChart
    Plot TheoreticalSolarMax As Area Colour Gold zIndex 10 Opacity 0.2
   EndChart


Chart Vochtigheid Title Relatieve vochtigheid binnen en buiten ConnectsTo 11 16
  CHART DagelijkseTemp TITLE Daily Average Temperature with Min/Max of last year
  Plot Humidity
    PLOT DAILY AverageTemp colour green
  Plot InsideHumidity
    Plot DAILY MinTemp colour blue
EndChart
    Plot DAILY MaxTemp colour red
  EndChart OUTPUT AllTempChart.txt


Chart Zon Title (Max)Straling en UV ConnectsTo 12 23 24
  Chart DagelijkseRegen Title Daily rainfall of last year
  Plot UV zIndex 100
    Plot DAILY RainFall As Column colour lightblue
  Plot SolarRadiation As Area Opacity 0.4 Colour Orange zIndex 50
   EndChart OUTPUT AllRainChart.txt
   Plot TheoreticalSolarMax As Area Colour Gold zIndex 10 Opacity 0.2
EndChart


CHART DagelijkseTemp TITLE Daily Average Temperature with Min/Max of last year
  Chart DagelijkseZonuren Title Sunhours per day of last year
  PLOT DAILY AverageTemp colour green
    Plot ALL SunHours As Column colour gold
  Plot DAILY MinTemp colour blue
   EndChart OUTPUT AllSolarChart.txt
   Plot DAILY MaxTemp colour red
EndChart


Chart DagelijkseRegen Title Daily rainfall of last year
  Chart TempEVT Title Temperature and EVT historical ConnectsTo 12 23 24
  Plot DAILY RainFall As Column colour lightblue
EndChart


Chart DagelijkseZonuren Title Sunhours per day of last year
    PLOT ALL AverageTemp As SPline Colour #058DC7 zindex 90 LineWidth 10
  Plot ALL SunHours As Column colour gold
    PLOT ALL Evapotranspiration As Column Colour #cc0000
EndChart
  EndCHART OUTPUT RarityCharts.txt


Chart CoolingDays Title Residual variables
  Chart TempEVTRecent Title Temperature and EVT Recently
  Plot ALL CoolingDegreeDays
    PLOT Temperature As SPline Colour #058DC7 zindex 90 LineWidth 10
  Plot ALL HeatingDegreeDays
    PLOT Evapotranspiration As Area Colour #cc0000
  Plot All Evapotranspiration
  EndCHART
EndChart
 
  Chart CoolingDays Title Residual variables
    Plot ALL CoolingDegreeDays
    Plot ALL HeatingDegreeDays
    Plot All Evapotranspiration
  EndChart


[[Category:CumulusUtils]]
[[Category:CumulusUtils]]