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.
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:
However the CF 1.8 document itself has the following in section 6.1:
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.