Skip to content

Command-line option to write filetype netcdf4 (not netcdf4classic) files #48

@heikoklein

Description

@heikoklein

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions