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.
To indicate that data values are missing , NetCDF-CF exports use float value 9.96921e+036 by default. It is possible to change it by entering a different missing value (NaN or other) in the configuration files. Use option <exportMissingValue> in TimeSeriesExport module, and <missVal> in GeneralAdapter
More information about the cf standards can be found at: http://cfconventions.org/
There are six types of NetCDF-CF exports which can be defined:
- Time series (NETCDF-CF_TIMESERIES)
- Profiles (NETCDF-CF_PROFILE)
- Grids (NETCDF-CF_GRID)
- Time series (NETCDF-CF_TIMESERIES_MATROOS)
- Profiles (NETCDF-CF_PROFILE_MATROOS)
- Grids (NETCDF-CF_GRID_MATROOS)
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.
In FEWS, it is possible to couple time series with pre-configured properties. From 2021.02 the properties can be exported to the NETCDF file as NETCDF attributes. See a config example bellow. Using the example, the name of the NETCDF attribute will be systemid, the value will be the value of timeSeriesProperty with the name rivieren2, that belongs to the exported time series.
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
Some additional properties can be configured concernings the netcdf export format. Like for writing compressed netcdf Exportmodule-properties.
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.