Since 2017.01 Replace values with NaN where water level is not higher that Z value of the grid.

Has optional element <minimumLocalWaterLevel>0.01</minimumLocalWaterLevelto define the minimum water level in meters at a cell to not be considered dry. When the value at a cell is lower than the elevation (Z) + the minimum water level, it will be set to NaN in the output.

 

Example configuration for removeDryCells transformation
<?xml version="1.0" encoding="UTF-8"?>
<transformationModule version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/transformationModule.xsd">
   <variable>
      <variableId>input</variableId>
      <timeSeriesSet>
         <moduleInstanceId>SampleToNonEquidistantMultipleForecastsTest</moduleInstanceId>
         <valueType>grid</valueType>
         <parameterId>H.merged</parameterId>
         <locationId>XYZgrid</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <relativeViewPeriod unit="week" start="-5" end="0"/>
         <readWriteMode>read complete forecast</readWriteMode>
      </timeSeriesSet>
   </variable>
   <variable>
      <variableId>output</variableId>
      <timeSeriesSet>
         <moduleInstanceId>SampleToNonEquidistantMultipleForecastsTest</moduleInstanceId>
         <valueType>grid</valueType>
         <parameterId>H.updated</parameterId>
         <locationId>XYZgrid</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <relativeViewPeriod unit="week" start="-5" end="0"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
   </variable>
   <transformation id="NegativeZToNanTest">
      <altitude>
         <removeDryCells>
            <inputVariable>
               <variableId>input</variableId>
            </inputVariable>
            <minimumLocalWaterLevel>0.01</minimumLocalWaterLevel>
            <outputVariable>
               <variableId>output</variableId>
            </outputVariable>
         </removeDryCells>
      </altitude>
   </transformation>
</transformationModule>
  • No labels