If a NetCDF4 file which is not a NETCDF4_CLASSIC file needs to be converted with fimex, the output filetype on the command-line can only be set to nc (=netcdf3) or nc4 (=netcdf4classic). Setting it to netcdf4 will silently convert to nc3 and then fail on the new features (most often new filetypes like ubyte or int64).
Currently one has to write a cdmWriterConfig.xml for setting the output to netcdf4 -nonclassic files.
It would be great if the output-types from the cdmWriterConfig/netcdf-plugin:
|
else if (filetype == "netcdf4") { |
could be used on the command-line, i.e.
netcdf4 netcdf4classic and for completeness:
netcdf3_64bit