Versions Compared

Key

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

...

Since 2021.02 it is also possible to import NETCDF attributes into FEWS and save them as timeSeriesProperty. You can see a config example for that here: NetCDF formats that can be imported in Delft-FEWS

Since 2023.02 it is possible to change the name of the Z variable, which defaults to "height above mean sea level" to a (long) name of your choice using the custom property "Z_LONG_NAME"  as demonstrated in the example below.


Code Block
borderStylesolid
titleExportNetcdf_Grid 1.00 default.xml
<?xml version="1.0" encoding="UTF-8"?>
<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>NETCDF-CF_GRID</exportType>
			<folder>%REGION_HOME%/Export/netcdf/2D</folder>
			<exportFileName>
				<name>.nc</name>
				<prefix>
					<timeZeroFormattingString>yyyyMMddHHmm</timeZeroFormattingString>
				</prefix>
			</exportFileName>
			<idMapId>IdExportNetCDF</idMapId>
			<exportMissingValueString>-9999.0</exportMissingValueString>
		</general>
		<properties>			
			<string key="timeseriesproperty:rivieren2" value='netcdfattribute:systemid '/>
			<string key="Z_LONG_NAME" value="elevation"/>
        </properties>   <timeSeriesSet>
			<moduleInstanceId>ExportNetcdf_Grid</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>G.umf</parameterId>
			<locationId>NHI_H_L001</locationId>
			<timeSeriesType>simulated historical</timeSeriesType>
			<timeStep unit="day" multiplier="1"/>
			<relativeViewPeriod unit="day" start="-7" end="3"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</export>
</timeSeriesExportRun>

...