PyGPlates enables access to GPlates functionality via the Python programming language.
PyGPlates can now be installed using conda or pip.
Please see the installation instructions in the pyGPlates documentation.
Note: The old method of installing a pre-compiled binary package is no longer available. This involved extracting a zip file (or installing a Debian package) and then manually adding the installed location to the
PYTHONPATH
environment variable.
Note: This version (
1.0.0rc1
) is a pre-release of version1.0.0
(therc
means it's a release candidate). The final version1.0.0
will have the same functionality (when it is released in January 2025). This release is mainly to ensure there are no issues caused by the introduction ofpip
support (and to a lesser extentconda
support) when the final version1.0.0
is released.
conda install -c conda-forge pygplates
Note: For this pre-release (
1.0.0rc1
) it's actually:
conda install -c conda-forge/label/pygplates_rc -c conda-forge pygplates
pip install pygplates
TopologicalModel
and TopologicalSnapshot
,
TopologicalModel
and TopologicalSnapshot
are better than using the resolve_topologies()
function.TopologicalSnapshot.
calculate_plate_boundary_statistics() returns a PlateBoundaryStatistic at each point that contains:
Feature.create_topological_network_feature()
:
TopologicalSnapshot
at static points to:
ReconstructSnapshot
at static points to:
TopologicalModel.reconstruct_geometry()
but at a finer granularity:
ReconstructedFeatureGeometry
, ReconstructedMotionPath
, ReconstructedFlowline
.ReconstructedFeatureGeometry.
get_reconstructed_geometry_point_velocities().ResolvedTopologicalLine
, ResolvedTopologicalBoundary
, ResolvedTopologicalNetwork
ResolvedTopologicalLine.
get_resolved_geometry_point_velocities().ResolvedTopologicalSharedSubSegment
, ResolvedTopologicalSubSegment
.ResolvedTopologicalSharedSubSegment.
get_resolved_geometry_point_velocities().Documentation and tutorials are available on the User Documentation page.
The pyGPlates Documentation includes:
Note: The
Primer
chapter is new and is a work in progress.
The pyGPlates Tutorials are Jupyter Notebooks that analyse and visualise real-world data using pyGPlates. These tutorials complement the sample code in the pyGPlates documentation by providing a more research-oriented focus.