-
Notifications
You must be signed in to change notification settings - Fork 297
update for GDAL version 3.9+ #1371
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
Conversation
+ `.circleci/config.yml`: unpin `gdal<=3.8` constraint as the issue seems to have been fixed by the latest version 3.11 (it occurred on gdal-3.9.0, I have not tested on other gdal-3.9.x versions) + GDAL-3.9 did a huge split. As a result, the `netCDF` driver (packaged as `libgdal-netcdf`), as required by GMTSAR, needs to be explicitly specified in the environment. This PR address this dependency change and update the related documentation. + minor updated related to IONEX plotting via ionex.plot_ionex(): show coastline in the animation - add `cl.set_visible(True)` - set `FuncAnimation(blit=False)` - use `mpl_toolkits.axes_grid1.make_axes_locatable()` for a more compact whitespace around the axes + utils.map.draw_lalo_label(): add `direction` option to change the tick direction
Reviewer's GuideThis PR adapts the project to GDAL 3.9+ by removing the pin on GDAL ≤3.8, explicitly adding the netCDF driver, updating installation docs and CI configs accordingly, and enhances plotting and map utilities to support new visualization options. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @yunjunz - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
+ utils.map.draw_lalo_label(): set all arguments since direction as keyword only arguments.
Description of proposed changes
.circleci/config.yml: unpingdal<=3.8constraint (tests: pin gdal"<=3.8" for circle ci #1235) as the issue seems to have been fixed by the latest version 3.11 (it occurred on gdal-3.9.0, I have not tested on other gdal-3.9.x versions)GDAL-3.9 did a huge split. As a result, the
netCDFdriver (packaged aslibgdal-netcdf), as required by GMTSAR, needs to be explicitly specified in the environment. This PR address this dependency change and update the related documentation.minor updated related to IONEX plotting via
ionex.plot_ionex(): show coastline in the animationcl.set_visible(True)FuncAnimation(blit=False)mpl_toolkits.axes_grid1.make_axes_locatable()for a more compact whitespace around the axesutils.map.draw_lalo_label(): adddirectionoption to change the tick directionReminders
Summary by Sourcery
Support GDAL 3.9+ by unpinning the GDAL version constraint and explicitly requiring libgdal-netcdf across docs, CI, and tests. Add configurable tick direction to map utilities and refine IONEX plotting to show coastlines, improve colorbar placement, and disable blitting for animations.
Enhancements:
directionparameter todraw_lalo_labelfor configurable tick orientation.plot_ionexto display coastline, optimize colorbar layout, adjust figure size, and disable blitting for animations.CI:
libgdal-netcdf.Documentation:
libgdal-netcdffor GMTSAR dependencies.Tests:
libgdal-netcdf.