Skip to content

String/Char labels (section 6) mismatch between Conformance and CF Document #111

@DocOtak

Description

@DocOtak

Hi CF Folks,

I have a situation where we label each data point using a string, currently using the char data type. The data being labeled are 2 dimensional and incomplete (DSG as defined in H.3.2). What we are doing is recording a sample id and these sometimes have non numeric chars in them due to historic reasons. These labels may or may not be unique for each data point. This leads me to the following apparent contradiction in the Conformance doc when related to the CF 1.8 document itself:

In the conformance doc section 6.1 is the following:

If the variable is of type char it must have one or two dimensions, where the trailing (CDL order) or sole dimension is for the maximum string length.

However the CF 1.8 document itself has the following in section 6.1:

If the variable has a type of char, the inner dimension (last dimension in CDL terms) is the maximum length of each string, and the other dimensions are axis dimensions.

Which seems to allow any number of dimensions as long as the CDL last dimension is the string length.

For some additional context, I'm using these labels as auxiliary coordinates. I do not have any Coordinate Variables in the file.

Thanks for any help/clarification you can provide.

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