Conversation
| range: string | ||
| latitude_in_deg: | ||
| implements: | ||
| - linkml:axis |
There was a problem hiding this comment.
Is this necessary anymore given the above array_data_mapping?
| range: LatitudeSeries | ||
| required: true | ||
| annotations: | ||
| axis_index: 0 |
There was a problem hiding this comment.
Is this necessary anymore given the above array_data_mapping?
| axis_index: 2 | ||
| temperatures_in_K: | ||
| implements: | ||
| - linkml:array |
There was a problem hiding this comment.
Should we rename this in the metamodel? Is this scoped to linkml:DataArray or unique across LinkML?
|
cc @sneakers-the-rat @cmungall I'm looking at how to 1) add attributes to arrays and 2) support labeling arrays with other arrays. For 1), I think we need to keep supporting classes that implement For 2) if we allow a |
|
ah yes, is it time for the second leg, the indexed array spec? Can we get a few examples of the desired datasets we want to support with this? I think it might be helpful to have a few concrete test cases here so we can get a handle on the constraints we'll need to handle. are the ones in |
This PR adds an alternate approach to specifying the
TemperatureDatasetdefined intests/input/examples/schema_definition-native-array-1.yaml. This approach uses classes that implementlinkml:NDArrayand have an attribute that implementslinkml:elementsas defined pre-1.7.0 release. This representation is necessary for adding additional attributes, e.g., user-specified units of measurement, conversion factor, precision/error, reference/zero point, or source, on the various arrays that make up aTemperatureDataset. Seeking feedback on this approach.It also changes
y->"y"becausey= True in YAML 1.1.