Skip to content
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

Implement open_data and support tiff, netcdf and zarr for s3 and https protocol #17

Closed
wants to merge 14 commits into from

Conversation

konstntokas
Copy link
Collaborator

@konstntokas konstntokas commented Jun 18, 2024

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 Identifier local is used to calculate local_1w in resample_in_time.py, which adds <dim>_bnds data variables to the xr.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.

@konstntokas konstntokas marked this pull request as ready for review July 3, 2024 06:40
@konstntokas konstntokas requested a review from forman July 3, 2024 06:40
@konstntokas konstntokas marked this pull request as draft July 3, 2024 14:57
@konstntokas konstntokas marked this pull request as draft July 3, 2024 14:57
start pr draft for documentation
work in progress

notebooks work again

backup

unittest adjusted

error in dependencies

test re-recorded cassettes for test_open_data_abfs

test adjusted

xcube server STAC example to open geotiff and levels

mldataset now supported

data_type implemented

simplified data opener
@konstntokas konstntokas force-pushed the konstntokas-003-implement_open_data branch from cbe7e87 to 14fc51b Compare July 11, 2024 06:17
@konstntokas konstntokas marked this pull request as ready for review July 11, 2024 14:20
@konstntokas
Copy link
Collaborator Author

This PR will be closed and shifted to PR #19

@konstntokas konstntokas deleted the konstntokas-003-implement_open_data branch August 1, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement StacDataStore.open_data()
1 participant