Versions Compared

Key

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

Exports timeseries data to file in NETCDF-CF format

Overview

Note

This export is available in DELFT-FEWS versions after 28-10-2009 (FEWS version 2009.02)

Exports data to NetCDF files which comply to the CF 1.4 standard.
More information about the cf standards can be found at: http://cf-pcmdi.llnl.gov/conformance/requirements-and-recommendations/1.4cfconventions.org/

There are six types of NetCDF-CF exports which can be defined:

...

Code Block
titleExportNetcdf_Timeseries 1.00 default.xml
borderStylesolid

<?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_TIMESERIES</exportType>
			<folder>%REGION_HOME%/Export/netcdf/0D</folder>
			<exportFileName>
				<name>.nc</name>
				<prefix>
					<timeZeroFormattingString>yyyyMMddHHmm</timeZeroFormattingString>
				</prefix>
			</exportFileName>
			<idMapId>IdExportNetCDF</idMapId>
			<exportMissingValueString>-999</exportMissingValueString>
			<exportTimeZone>
				<timeZoneName>GMT</timeZoneName>
			</exportTimeZone>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>ExportNetcdf_Timeseries</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>Q.udm</parameterId>
			<locationSetId>DMFlowPoints</locationSetId>
			<timeSeriesType>simulated historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<relativeViewPeriod unit="day" start="-365" end="365"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</export>
</timeSeriesExportRun>

...

Code Block
titleIdExportNetCDF 1.00 default.xml
borderStylesolid

<?xml version="1.0" encoding="UTF-8"?>
<idMap version="1.1" 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/idMap.xsd">
	<parameter internal="Q.udm" external="discharge" externalQualifier1="discharge (not standardname, just for test)"/>

	<location internal="DMTak_1001" external="1001"/>
	<location internal="DMTak_1002" external="1002"/>
	<location internal="DMTak_1003" external="1003"/>
	<location internal="DMTak_1004" external="1004"/>
	...
	<location internal="DMTak_6115" external="6115"/>
</idMap>