xcube server to deliver data #97
Labels
DCFS
enhancement
New feature or request
important
This is very important for the project
urgent
High external pressure to address this ASAP
xcube serve
This is related to server component, CLI "xcube serve"
Is your feature request related to a problem? Please describe.
xcube serve
does not yet allow for data access.Describe the solution you'd like
The xcube web API should provide data access functions, e.g. the forms
/datasets/{dataset}/data
/datasets/{dataset}/data?<query-params>
/datasets/{dataset}/data.zarr
In the first two forms a cube subset is reformatted and then made available for download. Hence, the response returns a binary stream. The
<query-params>
and the POST body provides the following parameters:bbox=<xmin>,<ymin>,<xmax>,<ymax>
- optional bounding box for the outputtimeRange=<start>,<end>
- optional time range for the outputvariables=<name1>,<name2>,...,<nameN>
- optional output variablesformat=<format>
- optional output format, where<format>
is one ofnetcdf4
,geotiff
,zarr.zip
,zarr
. The latter creates an object storage view on the output using ZARR format.name=<name>
- optional output nameThe last form creates an object storage view on a dataset using ZARR format, so users can directly open entire data cubes, e.g.
Describe alternatives you've considered
We may also implement an OGC CSW interface.
The text was updated successfully, but these errors were encountered: