Closed stefanoborini closed 7 years ago
how about if we change type to char for string? the other option is to review cuba.yml schema to include shape and length?
@ahashibon Do we have a schema description?
I would suggest to use the same shape definition as we use in simphony_metadata.yml
, i.e. shape: (3, 3)
. Moreover, I think sooner or later we would need to merge cuba.yml into simphony_metadata.yml and designate primary keys from CUDS structure in a better way.
shape is used inconsistently in the metadata.
When used with a numerical type, it indicates the number of entries, in this case, a linearized 3x3 matrix.
In the case of string, it seems to represent the length of this string
Which is ambiguous and inconsistent with the precedent case. I would expect an array of 32 strings in this case.