Converting a felt model output from felt to NetCDF
get an overview of times, layers and grid used in the felt-file
group the parameters so that all parameters within an group use the same grid, times and the same layers (its possible to have a file with both sigma and pressure layers, but then all sigma-variables should have the same number of sigma layers and all pressure-variables should have the same number of pressure layers. Surface only variable, usually sigma=1000 felt variables, are layer-group of their own)
create a felt2nc_variables.xml file for each variable group. Copy parameters from existing examples, or lookup variable and parameter names in the CF standard name documentation. If you have to generate several groups, it might be useful to split the file into axes, global attributes and variables, see i.e. damocles_felt2nc_variables.xml If you have two paramters which map to the same standard_name, i.e. make sure to give them different variable names if they are in the same group. Adjust the datatype according to your data. float will always work fine, use short if you know, that the variable even fits as 4-dimensional data into shorts. Use eventually a cdmWriterConfig.xml to process data as float and write the data as short.
validate the felt2nc_variables.xml file, i.e. with