-
Notifications
You must be signed in to change notification settings - Fork 8
Fix crs of buidrain data #598
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
Changes from 10 commits
3b0a3fe
3a53deb
859e3b0
365b862
5309ed5
c206062
3b4f26d
9317494
e9af82d
fc7f8a3
e6b0d7f
5bfa931
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure what is happening with these changes but I assume it is some fix for RWS bathymetry download?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, the FeatureServer is not avialable anymore, but the MapServer is. Then in Python 3.12, the stuff with the env-variable GDAL_DISABLE_READDIR_ON_OPEN was needed, otherwise it would look for non-existing files and fail. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,6 @@ classifiers = [ | |
| "Intended Audience :: Other Audience", | ||
| "License :: OSI Approved :: MIT License", | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
|
|
@@ -84,6 +83,8 @@ rtd = [ | |
| "sphinx_rtd_theme", | ||
| "nbconvert", | ||
| "openpyxl", | ||
| "numpy<2.5.0", # until there is a new version of netCDF4 (now 1.7.4) this solves "Setting the shape on a NumPy array has been deprecated" | ||
| "affine<3.0.1", # until there are newer versions of rasterio (now 1.5.1) and rioxarray (now 0.23.0), this solves "Use @ matmul instead of * mul operator for matrix multiplication" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But you did fix the matmul right? Is this <3.0.1 still necessary?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I fixed it in our own code. But it still needs to be fixed in methods within rasterio and rioxarray, that we use. |
||
| ] | ||
| lgn = ["xarray-spatial", "exactextract"] | ||
|
|
||
|
|
||
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.
maybe add a reference to this PR. The image in the PR speaks a thousand bookparts.
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.
good idea, will add a link to the docstring