-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
✨ A read_geotiff function for reading GeoTIFF into ndarray #3
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d3881eb
:heavy_plus_sign: Add tiff
weiji14 e6b37b1
:heavy_plus_sign: Add ndarray
weiji14 6e53a0e
:heavy_plus_sign: Add numpy
weiji14 d77db44
:sparkles: A read_geotiff function for reading GeoTIFF into ndarray
weiji14 7e74ee7
:triangular_flag_on_post: Add pyo3 extension-module feature
weiji14 89ca974
:heavy_plus_sign: Add tempfile
weiji14 7f01407
:recycle: Refactor to allow read_geotiff Rust fn to read from buffer
weiji14 de7bd60
:white_check_mark: Add unit test for reading a BigTIFF file
weiji14 2cf92eb
:white_check_mark: Add unit test for reading a single-band GeoTIFF file
weiji14 7cad40d
:heavy_plus_sign: Add numpy as a python dependency
weiji14 b54ab26
:green_heart: Install NumPy build requirements
weiji14 41259a1
:green_heart: Install compilers and build libraries needed for NumPy
weiji14 9dfa03a
:green_heart: Install ninja-build
weiji14 a30ec8f
:memo: Add more crate and module level docs
weiji14 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Original error on
s390x
build at https://github.com/weiji14/cog3pio/actions/runs/8071580043/job/22051501437#step:7:410 before this line was added:So at b54ab26, I added this
apt build-dep numpy
line following https://numpy.org/devdocs/building/#system-level-dependencies, but gotE: You must put some 'deb-src' URIs in your sources.list
at https://github.com/weiji14/cog3pio/actions/runs/8071955898/job/22052723659?pr=3#step:7:330.Maybe best to just install the compilers individually instead of messing with
/etc/apt/sources.list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, added the NumPy build deps manually at 41259a1, and also needed to
apt install ninja-build
to get NumPy to compile on armv7/s390x/ppc64le (9dfa03a). The CI on those three platforms take ~24min to run though, compared to <5min for linux/aarch64 🙃