-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec for "bands" cube:dimension? #208
Comments
Indeed, the type reduce / filter:
filter_bands:
load_collection (which unfortunately contradicts to filter_bands above):
Regarding names: I'm not sure whether back-ends would follow it. We could make a recommendation though. |
I don't know openapi well enough, but I guess you can not enforce that indeed. I was just wondering that this might cause portability issues when switching between backends |
…property (#208), more clarifications and simplifications.
PR #229 includes a quite simple dimension with type |
* First draft to update `GET /collections` and `GET /collections/{collectionId}` to STAC version 0.8.1 #185, #204. Removes optional STAC extensions from the API specification #176. * Added a Data Cube Dimension of type `bands` to the `cube:dimensions` property (#208), more clarifications and simplifications. * Added a recommendation for dimension names. #208
thanks, that's indeed better,
Indeed, I'm not sure whether it is necessary to introduce a distinction between "multi-spectral" and "non-multi-spectral" on that level of the API |
@soxofaan I'm still thinking why we liked spectral so much when we discussed it last year... Maybe it was: spatial, temporal, spectral was consistent |
For collection metadata the spec defines the cube dimensions under
properties/cube:dimensions
. For spatial and temporal dimensions thetype
is well defined (spatial
andtemporal
), but for "additional dimension" (typically for spectral bands I guess) it a is free form "custom type".Example from the example in the spec:
Example from earth engine (https://earthengine.openeo.org/v0.4/collections/COPERNICUS/S2_SR):
Note how both use the type "bands" , but use a different key ("bands" versus "spectral").
At the moment this "bands" type is just the generic "custom type" and not specified in the spec as far I know. But wouldn't it be better to do so as it is a very common dimension?
Also: shouldn't there be a recommendation/spec about the key names in of the
cube:dimensions
map/dict? See the above example with "bands" versus "spectral". For example: recommend to give the common dimension names "x", "y", "temporal" and "bands"?The text was updated successfully, but these errors were encountered: