Merged
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
Contributor
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
|
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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.