...
Note |
---|
This import is available in DELFT-FEWS versions after 28-10-2009 (FEWS version 2009.02) |
Imports grid data from NetCDF files which comply to the CF standard.
More information about the cf standards can be found at: http://cf-pcmdi.llnl.gov/conformance/requirements-and-recommendations/1.4
There are three See also the following two other types of NetCDF-CF imports which can be definedthat are available:
- Time series (NETCDF-CF_TIMESERIES)
- Profiles (NETCDF-CF_PROFILE)
- Grids (NETCDF-CF_GRID)
The Grids import will be defined here.
Configuring the import
Import Configuration
An example of the NETCDF-CF_GRID import will be given here.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun 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/timeSeriesImportRun.xsd"> <import> <general> <importType>NETCDF-CF_GRID</importType> <folder>$IMPORT_FOLDER$/NETCDF</folder> <failedFolder>$IMPORT_FAILED_FOLDER$</failedFolder> <backupFolder>$IMPORT_BACKUP_FOLDER$</backupFolder> <idMapId>IdImportNetCDF</idMapId> <unitConversionsId>ImportUnitConversions</unitConversionsId> </general> <timeSeriesSet> <moduleInstanceId>ImportNetcdf_Grid</moduleInstanceId> <valueType>grid</valueType> <parameterId>Snelheid.u.F0</parameterId> <locationId>hmcn_zeedelta</locationId> <timeSeriesType>external forecasting</timeSeriesType> <timeStep unit="minute" multiplier="30"/> <readWriteMode>add originals</readWriteMode> <synchLevel>6</synchLevel> </timeSeriesSet> </import> </timeSeriesImportRun> |
Id Map Configuration
An example of the IdMapping used for the NETCDF-CF_GRID import is shown below.
Code Block | ||||
---|---|---|---|---|
| ||||
<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"> <map internalParameter="Snelheid.u.F0" internalLocation="hmcn_zeedelta" externalParameter="velocity" externalLocation="hmcn_zeedelta"/> </idMap> |
Grids Configuration
When importing grids in the FEWS database it may be required to configure the grid characteristics in the grids.XML file. The grid characteristics must be similar to the grid imported from the NetCDF file.
...