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

✨ Introducing RioXarrayReaderIterDataPipe for reading GeoTIFFs #6

Merged
merged 3 commits into from
Jun 6, 2022

Conversation

weiji14
Copy link
Owner

@weiji14 weiji14 commented Jun 5, 2022

An iterable-style DataPipe for GeoTIFF data! Composition over inheritance~

I/O handled using rioxarray. IterDataPipe code based on https://github.com/pytorch/data/blob/v0.3.0/torchdata/datapipes/iter/load/online.py#L29-L59.

TODO:

References:

A library of common modular data loading primitives for easily constructing flexible and performant data pipelines!
Geospatial xarray extension powered by rasterio!

Pinning minimum version to 0.10.0 which had dropped Python 3.7 support as per NEP29.
An iterable-style DataPipe for GeoTIFF data! Composition over inheritance. Uses rioxarray for the I/O and the IterDataPipe code is based on https://github.com/pytorch/data/blob/v0.3.0/torchdata/datapipes/iter/load/online.py#L29-L59. Have added a unit test and doctest for good measure.
@weiji14 weiji14 added the feature New feature or request label Jun 5, 2022
@weiji14 weiji14 added this to the 0.1.0 milestone Jun 5, 2022
@weiji14 weiji14 self-assigned this Jun 5, 2022
@weiji14 weiji14 marked this pull request as ready for review June 6, 2022 03:55
@weiji14 weiji14 merged commit 9ee7363 into main Jun 6, 2022
@weiji14 weiji14 deleted the iterdatapipe branch June 6, 2022 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant