-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve plate boundary statistics #316
Merged
Merged
Conversation
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
If so, defaults to that of RotationModel (or zero if rotation features).
Instead use default anchor plate of RotationModel. See discussion in #290.
No need to resolve topologies if they're already available.
By adding 'output_obliquity_and_normal_and_left_right_plates' argument to spreading_rates().
Not all models have them. So raise error if so.
Also: - Default spreading feature type is mid-ocean ridge. - Default anchor plate is None (to use default anchor plate of rotation model, or zero if rotation files specified). - Used numpydoc for docstring.
- Specify transform segment deviation (defaults to 70 degrees). Can specify None to include transform segments. - Specify spreading feature types (defaults to mid-ocean ridge). - Can output obliqity, normal azimuth and left/right plate IDs.
It is used when 'use_ptt' is False, as an alternative using ptt.spreading_rates(). It also supports an optional orthogonal divergence threshold (that PTT doesn't support).
Incorrectly used 'orthogonal' velocity recently in f0a3f86.
It is used when 'use_ptt' is False, as an alternative to using ptt.subduction_convergence. It also supports an optional orthogonal convergence threshold (that PTT doesn't support).
ptt.ridge_spreading_rate will still only consider spreading feature types.
Matches behaviour of 'ptt.ridge_spreading_rate.spreading_rates()' which rejects zero spreading stage rotations.
Since they are not *plate* boundaries. Also ignore for spreading types.
They should be fairly similar.
The same keyword args supported by ptt.subduction_convergence. Also fixed table in docstrings describing keyword args (converted from reST to pdoc).
One subplot per output scalar.
Using pygplates.TopologicalSnapshot.calculate_plate_boundary_statistics().
...at divergent/convergent points along plate boundaries. Also renamed 'plate_boundary_convergence_divergence()' to 'divergent_convergent_plate_boundaries()'.
Also explicitly numpydoc the output parameters.
This was referenced Feb 2, 2025
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.
PlateReconstruction.crustal_production_destruction_rate()
:PlateReconstruction.divergent_convergent_plate_boundaries()
:PlateReconstruction.crustal_production_destruction_rate()
.PlateReconstruction.tessellate_mid_ocean_ridges()
:ptt.ridge_spreading_rate
).ptt
).PlateReconstruction.tessellate_subduction_zones()
:ptt.subduction_convergence
).ptt
).PlateReconstruction.topological_snapshot()
:anchor_plate_id=None
(instead ofanchor_plate_id=0
):RotationModel
).PlateReconstruction.tessellate_mid_ocean_ridges()
andPlateReconstruction.tessellate_subduction_zones()
.unittest/test_tessellate.py
).