Skip to content
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

Continent contour buffers on individual continent polygons #272

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

jcannon-gplates
Copy link
Contributor

Each continent polygon can now have its own buffer expansion (in ocean-ward direction).

This functionality addresses the problem of shrinking of continent contours for recent geological times: A typical use case had buffering for pre-pangea times (to account for larger continents before collisions reduced them) and gradually reduced buffering to zero for post-pangea times. However the shrinking was quite obvious. To make it less obvious, manually-drawn COBs (for the large continents) were then used (which don't need buffering). But don't have these for small terranes. With the new functionality, the small terranes can be identified by their plate ID and given a non-zero buffer.

  • Each reconstructed continent polygon gets its own buffer distance (eg, can be based on its plate ID).
  • Can only specify buffers for continent contours or buffers for continent polygons, not both.
  • If specifying buffers for continent contours (instead of polygons) then can now also access the reconstructed continent polygons contained within each contour (though not as useful as buffering each polygon individually).
  • Individual polygon buffering enables continent contours to be nice and stable, and not change when smaller contours join into larger contours over time (as was the case with specifying buffers for continent contours).

The 'continent_contouring_buffer_and_gap_distance_radians' argument can
itself be a function with 3 arguments, the 3rd being a list of
pygplates.ReconstructedFeatureGeometry of continent polygons within the
contour (from which plate IDs can be obtained and compared).
Enables each individual continent polygon to have its own buffer.
The 'continent_polygon_buffer_and_gap_distance_radians' argument can
itself be a function with 2 arguments, the 2nd being a
pygplates.ReconstructedFeatureGeometry of the continent polygon
(from which plate IDs can be obtained and compared).
@jcannon-gplates jcannon-gplates merged commit e1e1b0b into master Sep 19, 2024
13 checks passed
@jcannon-gplates jcannon-gplates deleted the continent_contour_buffer_using_plate_ids branch September 19, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant