Skip to content

No error or warning for CV string values exceeding 1023 character limit #982

Description

@mauzey1

Related to WCRP-CMIP/cmip7-cmor-tables#112.

CMOR crashes if a CV string value exceeds the 1023 character limit. No error or warning message is produced that could indicate which value is over the limit.

A warning or error should be thrown when strings go over the limit. An error can simply show the user which attribute in the file is over the limit. A warning could also be used to indicate that a string is over the limit and will be truncated to fit within the character limit.

I'm more in favor with the error approach since CMOR should keep dataset attributes true to the CV.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions