Other OGC Testbed-19 participants are now actively testing the xcube OGC Data Cube API implementation, which comprises the STAC and OGC API - Coverages server plug-ins. Various minor bugs and compatibility issues are being reported. This issue, and its associated PR, are collecting a batch of fixes and improvements which are too minor to deserve individual PRs:
Expand the STAC catalogue coverage links to provide links for multiple formats.
For TIFF and PNG OGC coverages, apply the squeeze method to remove any singleton dimensions.
Add support for the scale-factor parameter to the main coverage endpoint.
Improve handling of bbox parameters: they are now applied to the axes in the order that they appear in the dataset, as required in the specification. Inverted y-axes are also handled.
Handle half-open datetime intervals.
More parameter checking: various invalid parameters will now result in a 400 response rather than a server-side error.
Produce a 501 response for parameters which are not yet implemented.
Add media types to coverage links.
Return a 400 Bad Request response for attempts at subsetting on non-existent axes.
Handle quotation marks in coverages subset parameter, if present.
Use crs_wkt when determining CRS, if present and needed.
Give a 400 Bad Request response on requests for non-existent properties (i.e. variables).
Change default subsetting and bbox CRS from EPSG:4326 to OGC:CRS84.
Implement reprojection for bbox.
Run datetime parameter values through ensure_time_index_compatible function to fix timezone-aware / -naive incompatibilities
If writing an image from a Dataset with a single variable, write the relevant DataArray rather than the whole Dataset (avoids errors due to additional "bnds" dimensions).
Return the appropriate HTTP responses for requests which result in no data or too much data.
Add crs and crs_storage properties to STAC data.
Reimplement subsetting to conform more closely to the standard and to separate request parsing more cleanly from data operations.
Set the Content-Bbox and Content-Crs headers when returning a coverage.
Other OGC Testbed-19 participants are now actively testing the xcube OGC Data Cube API implementation, which comprises the STAC and OGC API - Coverages server plug-ins. Various minor bugs and compatibility issues are being reported. This issue, and its associated PR, are collecting a batch of fixes and improvements which are too minor to deserve individual PRs:
ensure_time_index_compatible
function to fix timezone-aware / -naive incompatibilitiescrs
andcrs_storage
properties to STAC data.