Skip to content

Allow users of CMOR to override long_name from tables #891

@matthew-mizielinski

Description

@matthew-mizielinski

There has been some discussion on the WIP about overriding the the use of long names when writing data for CMIP7. At present this does not appear to be possible with CMOR as the variable() routine does not allow this field to be specified via a keyword argument and set_variable_attribute() is not allowed to override it.

Would it be acceptable to allow the user to override long_name variable attributes when writing data?

If I'm reading the code correctly then this would simply require the removal of the following line from the set_variable_attribute routine;

(strcmp(attribute_name, VARIABLE_ATT_LONGNAME) == 0) ||

@taylor13 @durack1 @JamesAnstey thoughts welcome

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