PyGPlates 1.0.0 released

PyGPlates 1.0.0 released

PyGPlates enables access to GPlates functionality via the Python programming language.

Install PyGPlates 1.0.0:-

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.

What's new in PyGPlates 1.0.0:-

  • Can now install pyGPlates using conda:
  • Can now install pyGPlates using pip:
    • PyGPlates pip wheels can be installed with:
      pip install pygplates
  • Added a new Primer chapter in the pyGPlates documentation:
    • Currently documents how to use topologies and deformation.
      • Still a work in progress.
    • Purpose is to show users how to use pyGPlates.
      • Aim to comprehensively cover functionality in pyGPlates.
      • Complements the sample codes.
  • Added pickle support:
    • This means pyGPlates can now be used in multi-processing workflows,
      • where a multi-processing module will serialise pyGPlates objects into queues, and
      • de-serialise back into pyGPlates objects for processing on a different CPUs/nodes.
    • Most pyGPlates classes can be pickled.
      • This includes feature collections, features, and feature properties.
      • However, any classes containing reconstructed geometries cannot be pickled.
      • Each class will document whether it can be pickled or not.
  • Filenames in pyGPlates can be os.PathLike in addition to strings:
  • Added ReconstructModel and ReconstructSnapshot classes:
    • Similar to TopologicalModel and TopologicalSnapshot,
      • but for regular reconstruction instead of resolving topologies.
    • Better than using the reconstruct() function.
      • Just like TopologicalModel and TopologicalSnapshot are better than using the resolve_topologies() function.
  • Added net rotation:
  • Can generate statistics along plate boundaries (at uniformly spaced points):
  • Improved velocities and deformation:

Documentation:-

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.