Implement open_data
and support tiff, netcdf and zarr for s3 and https protocol
#17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #3
I suggest to start with the notebooks in the folder examples as an introduction.
Here, I encountered a problem with the levels file in the server demo in xcube. When I try to open the levels file, I get a mldataset instance back. Wen I then try to open one level, an error occurs in xcube_server_stac_s3.ipynb cell 12. I suspect that when starting the server, the
.levels
file with Identifierlocal
is used to calculatelocal_1w
in resample_in_time.py, which adds<dim>_bnds
data variables to thexr.Dataset
, which in turn brings problems in levels. Any idea to mitigate that problem without changing the xcube server demo example?Further I changes the github action workflow so that the the current xcube repo is checked out. Furthermore, I run the xcube server to get a higher test coverage. The unit tests work with decorators and are only run if the server is running. So for the later development, the server can be easily turned of, if needed.
Filtering the asset is not implemented yet. It is documented in Issue #18. I see this as a nice add-on for later. Also the stac-spec of an asset requires only href.