Skip to content

UDF dispatch layers think they have model.format == NC_FORMAT_NETCDF, but should be NC_FORMAT_NETCDF4 #3410

Description

@captainkirk99

There is an internal flag, model.format, which indicates some information about how the dispatch layer is set up. The word "format" is misleading here, but anyway, it's what we have.

For User Defined Formats, such as used in the NetCDF Expansion Pack, this should be set to NC_FORMAT_NETCDF4, but it is currently being set to NC_FORMAT_NETCDF.

(It should be NC_FORMAT_NETCDF4 because we are using the netcdf-4 internal data structures. As usual we have overloaded words like "format" and "netcdf4" so that they can be confusing terminology).

This is a one-line fix. I will put up a PR shortly.

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