You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Overview

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.6 standard.
More information about the cf standards can be found at: http://cf-pcmdi.llnl.gov/conformance/requirements-and-recommendations/1.6

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

Configuring the export

For curvilinear grids to be exported correctly from Delft-FEWS, any dry cells in the grid should also be stored in FEWS. This means that the dry cells and the number of rows and columns should be included in the grid definition. This should already be included in the grid definition at the time when the data is imported into Delft-FEWS.

An example of the NETCDF-CF_GRID export will be given here.

ExportNetcdf_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>
		<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>

An example fo the IdMapping used for the NETCDF-CF_GRID export is shown below.
If the parameter has an entry in the standard name CF table, you can enter it in the externalQualifier1 attribute of the parameter. The value of this qualifier will be added as the standard_name attribute for this variable in the netcdf exported file.

IdExportNetCDF 1.00 default.xml
<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="G.umf" external="groundwater" externalQualifier1="groundwater (not a standard name, just as example)"/>
    <location internal="NHI_H_L001" external="NHI_H_L001"/>
</idMap>
  • No labels