Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleValue/Direction with arrowsTrue Color Imagery example 1
<gridPlot id="RGB">
	<dataLayer>
		<redTimeSeriesSet>
			<moduleInstanceId>InterpolateSentinel2</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>Intensity_B4</parameterId>
			<locationId>A21</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<relativeViewPeriod unit="week" end="52" start="-52"/>
			<readWriteMode>read only</readWriteMode>
			<multiplier>1000</multiplier> <!--red contrast-->
			<incrementer>20</incrementer> <!--red brightness-->
		</redTimeSeriesSet>
		<greenTimeSeriesSet>
			<moduleInstanceId>InterpolateSentinel2</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>Intensity_B3</parameterId>
			<locationId>A21</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<relativeViewPeriod unit="week" end="52" start="-52"/>
			<readWriteMode>read only</readWriteMode>
			<multiplier>1000</multiplier> <!--green contrast-->
			<incrementer>20</incrementer> <!--green brightness-->
		</greenTimeSeriesSet>
		<blueTimeSeriesSet>
			<moduleInstanceId>InterpolateSentinel2</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>Intensity_B2</parameterId>
			<locationId>A21</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<relativeViewPeriod unit="week" end="52" start="-52"/>
			<readWriteMode>read only</readWriteMode>
			<multiplier>1000</multiplier> <!--blue contrast-->
			<incrementer>20</incrementer><!--blue brightness-->
		</blueTimeSeriesSet>
	</dataLayer>
</gridPlot>


The below XML config example shows how you can make a plot where you first show the clouds and on top of that the precipitation, combined with isolines of the air pressure. The cloud coverage is a parameter ranging from 0-100%. In the example, we do only want to show clouds when there is more than 50% of cloud coverage. To prevent that the clouds become too much black or gray, we scale the range of coverage between RGB 226 to 255. To scale this to relevant RGB, the values are increased with 127.5 and multiplied by 1.275. Finally, by using the redGreenBlueVisibilityThreshold only RGB values of more than 226 are plotted.

Image Added

Code Block
languagexml
titleTrue Color Imagery example 2: rain on top of clouds, combined with isolines
<gridPlot id="Harmonie_full">
                <dataFeedId>WIWB (Knmi.Harmonie)</dataFeedId>
                <dataLayer>
                    <redGreenBlueOpaquenessPercentage>60</redGreenBlueOpaquenessPercentage>
                    <redGreenBlueVisibilityThreshold>226</redGreenBlueVisibilityThreshold>
                    <redTimeSeriesSet>
                        <moduleInstanceId>ImportWIWB</moduleInstanceId>
                        <valueType>grid</valueType>
                        <parameterId>TCC.voorsp</parameterId>
                        <locationId>KNMI-HARMONIE</locationId>
                        <timeSeriesType>external forecasting</timeSeriesType>
                        <timeStep unit="hour"/>
                        <relativeViewPeriod unit="day" start="-10" end="5"/>
                        <readWriteMode>read only</readWriteMode>
                        <multiplier>1.275</multiplier>
                        <incrementer>127.5</incrementer>
                    </redTimeSeriesSet>
                    <greenTimeSeriesSet>
                        <moduleInstanceId>ImportWIWB</moduleInstanceId>
                        <valueType>grid</valueType>
                        <parameterId>TCC.voorsp</parameterId>
                        <locationId>KNMI-HARMONIE</locationId>
                        <timeSeriesType>external forecasting</timeSeriesType>
                        <timeStep unit="hour"/>
                        <relativeViewPeriod unit="day" start="-10" end="5"/>
                        <readWriteMode>read only</readWriteMode>
                        <multiplier>1.275</multiplier>
                        <incrementer>127.5</incrementer>
                    </greenTimeSeriesSet>
                    <blueTimeSeriesSet>
                        <moduleInstanceId>ImportWIWB</moduleInstanceId>
                        <valueType>grid</valueType>
                        <parameterId>TCC.voorsp</parameterId>
                        <locationId>KNMI-HARMONIE</locationId>
                        <timeSeriesType>external forecasting</timeSeriesType>
                        <timeStep unit="hour"/>
                        <relativeViewPeriod unit="day" start="-10" end="5"/>
                        <readWriteMode>read only</readWriteMode>
                        <multiplier>1.275</multiplier>
                        <incrementer>127.5</incrementer>
                    </blueTimeSeriesSet>
                </dataLayer>
                <dataLayer>
                    <timeSeriesSet>
                        <moduleInstanceId>ImportWIWB</moduleInstanceId>
                        <valueType>grid</valueType>
                        <parameterId>P.voorsp</parameterId>
                        <locationId>KNMI-HARMONIE</locationId>
                        <timeSeriesType>external forecasting</timeSeriesType>
                        <timeStep unit="hour"/>
                        <relativeViewPeriod unit="day" start="-10" end="5"/>
                        <readWriteMode>read only</readWriteMode>
                    </timeSeriesSet>
                </dataLayer>
                <dataLayer>
                    <contourValues>
                        <value>910</value>
                        <value>915</value>
                        <value>920</value>
                        <value>925</value>
                        <value>930</value>
                        <value>935</value>
                        <value>940</value>
                        <value>945</value>
                        <value>950</value>
                        <value>955</value>
                        <value>960</value>
                        <value>965</value>
                        <value>970</value>
                        <value>975</value>
                        <value>980</value>
                        <value>985</value>
                        <value>990</value>
                        <value>995</value>
                        <value>1000</value>
                        <value>1005</value>
                        <value>1010</value>
                        <value>1015</value>
                        <value>1020</value>
                        <value>1025</value>
                        <value>1030</value>
                        <value>1035</value>
                        <value>1040</value>
                        <value>1045</value>
                        <value>1050</value>
                        <value>1055</value>
                        <value>1060</value>
                        <value>1065</value>
                        <value>1070</value>
                        <value>1075</value>
                        <value>1080</value>
                    </contourValues>
                    <timeSeriesSet>
                        <moduleInstanceId>ImportWIWB</moduleInstanceId>
                        <valueType>grid</valueType>
                        <parameterId>PPPP.voorsp</parameterId>
                        <locationId>KNMI-HARMONIE</locationId>
                        <timeSeriesType>external forecasting</timeSeriesType>
                        <timeStep unit="hour"/>
                        <relativeViewPeriod unit="day" start="-10" end="5"/>
                        <readWriteMode>read only</readWriteMode>
                    </timeSeriesSet>
                </dataLayer>
                <showThumbnailsPanel>false</showThumbnailsPanel>
                <accumulationTimeSpan multiplier="6" unit="hour"/>
                <accumulationTimeSpan multiplier="12" unit="hour"/>
                <accumulationTimeSpan multiplier="24" unit="hour"/>
                <accumulationTimeSpan multiplier="48" unit="hour"/>
                <accumulationTimeSpan multiplier="120" unit="hour"/>
                <contourLinesColor>black</contourLinesColor>
            </gridPlot>
Accumulation / Moving Average slider or Last Value Checkbox

...