...
Code Block | ||
---|---|---|
| ||
<timeSeriesExportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesExportRun.xsd"> <export> <general> <exportType>grid2shp</exportType> <folder>$EXPORT_FOLDER$</folder> <exportFileName> <name>PQPF_GRIB2</name> <prefix> <currentTimeFormattingString>yyyyMMddHHmmss</currentTimeFormattingString> </prefix> </exportFileName> <exportMissingValue>-999</exportMissingValue> <geoDatum>WGS 1984</geoDatum> </general> <timeSeriesSet> <moduleInstanceId>ImportGrids_PQPF</moduleInstanceId> <valueType>grid</valueType> <parameterId>QPF</parameterId> <qualifierId>PQPF50</qualifierId> <locationId>PQPF_GRIB2</locationId> <timeSeriesType>external forecasting</timeSeriesType> <timeStep multiplier="6" unit="hour"/> <relativeViewPeriod end="6" start="6" unit="hour"/> <readWriteMode>read only</readWriteMode> </timeSeriesSet> </export> </timeSeriesExportRun> |
Attributes/dbf columns
You can add meta data to the exported shape file. The custom strings attributes of the export meta data are exported as text columns to the dbf file. Every row has the same attribute values.
Notes:
1) The 'grid2shp' serializer can only output one time step so in case the grid is part of a timeseries the relativeViewperiod needs to be set to select a range of which only the first timestep will be used.
...
3) The exportMissingValue can be used to replace the given missing values by NaN (Not A Number) values to indicate that there is no valid data, ArcGIS will display such records as '0' instead of -999 in this example.