When writing a new configuration for a new set of felt-files, usually from a new model, it is wise to group the configuration by
Grouping can be done in two ways, the first one being faster in operation, the second is easier to configure/change consistently:
By default, all data is read as type="short" data with a scaling factor. While felt allows for one scaling factor for each timestep, height and parameter, the CDM allows only for one scaling factor per parameter. When the scaling factor changes withing height or timestep, fimex will fail to read the data as short. It is therefore useful to read data as type="float", which will automatically expand the scaling factor. If the resulting file is to big, it is possible to convert to short with one scaling factor and offset using the netcdfWriter Configuration.
Before running fimex with a new felt configuration, make sure the file is valid, e.g. with
xmllint --valid --noout felt2nc_config.xml
Unfortuneatly, xinclude and validation don't play well together, since usual validation happens before the inclusion of external parts. xmllint uses special options to fix those problem:
xmllint --xinclude --postvalid --noout felt2nc_config.xml
Below follows a complete felt-configuration.