Excerpt | ||
---|---|---|
| ||
Exports timeseries data to file in NETCDF-CF format for Matroos |
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.
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://cf-pcmdi.llnl.gov/conformance/requirements-and-recommendations/1.4cfconventions.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
An example of the NETCDF-CF_TIMESERIES_MATROOS export will be given here.can be found at NETCDF-CF_TIMESERIES. The only difference is that the exportType must be changed to NETCDF-CF_TIMESERIES_MATROOS.
The structure of the netCDF file which is created is shown below.
Code Block | ||||
---|---|---|---|---|
| ||||
netcdf 200601010000_example {
dimensions:
time = UNLIMITED ; // (1152 currently)
stations = 20 ;
char_leng_id = 10 ;
char_leng_name = 30 ;
variables:
float time(time) ;
time:standard_name = "time" ;
time:long_name = "time" ;
time:units = "minutes since 1970-01-01 00:00:00.0 +0000" ;
time:axis = "T" ;
float lat(stations) ;
lat:long_name = "Station coordinates, latitude" ;
lat:units = "degrees_north" ;
lat:axis = "y" ;
float lon(stations) ;
lon:long_name = "Station coordinates, longitude" ;
lon:units = "degrees_east" ;
lon:axis = "x" ;
float y(stations) ;
y:standard_name = "projection_y_coordinate" ;
y:long_name = "y coordinate in local grid" ;
y:axis = "Y" ;
y:_FillValue = 9.96921e+036f ;
float x(stations) ;
x:standard_name = "projection_x_coordinate" ;
x:long_name = "x coordinate in local grid" ;
x:axis = "X" ;
x:_FillValue = 9.96921e+036f ;
char node_id(stations, char_leng_id) ;
node_id:long_name = "station identification code" ;
char nodenames(stations, char_leng_name) ;
nodenames:long_name = "station name" ;
float waterstandendm_knopen(time, stations) ;
waterstandendm_knopen:long_name = "WaterstandenDM_Knopen" ;
waterstandendm_knopen:units = "m" ;
waterstandendm_knopen:_FillValue = -999.f ;
// global attributes:
:title = "Netcdf data" ;
:institution = "Deltares" ;
:source = "export NETCDF-CF_TIMESERIES_MATROOS from FEWS" ;
:history = "Created at Wed Oct 14 11:57:24 GMT 2009" ;
:references = "http://www.deltares.nl" ;
:Conventions = "CF-1.4" ;
:coordinate_system = "RD" ;
|