-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/get geometries extent antimeridian (#524)
* Ensure get_country_geometries deals correctly with extent crossing the anti-meridian * get_land_gemoetry to rely on get_country_geometries to avoid redundancies * Ensure coord_on_land properly deals with extent of land_geom and lon * Adding a simple unit test for coord_on_land with points beyond the anti-meridian * Fix in case land_geom is empty (no land within extent) * provide keyword arg in unit test test_get_land_geometry_country_pass * u_coord: some refactoring and linting * u_coord: fix tests for get_land_geometry * coordinates: shapely.geometry.Polygon still referenced in `points_to_raster` * test_coordinates: complementary testcases for get_country_geometries Co-authored-by: Thomas Vogt <[email protected]> Co-authored-by: emanuel-schmid <[email protected]>
- Loading branch information
1 parent
8a7e369
commit eed7058
Showing
3 changed files
with
114 additions
and
51 deletions.
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
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
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