Skip to content

Parcels v4.0.0: an Xarray-aligned, flexible Lagrangian simulation framework for geoscience

Latest

Choose a tag to compare

@erikvansebille erikvansebille released this 09 Sep 07:37
· 7 commits to main since this release
1578164

Parcels v4.0.0 is a complete redesign of the Parcels code and is designed to be more flexible and extensible than previous versions.

With this release - Parcels is a pure Python package that leverages the full power of the Pangeo ecosystem of geoscience python tools such as Xarray, Dask and Zarr. Particle advection and interpolation are now vectorised operations.

Key improvements include:

  1. Support for unstructured grids.
  2. More flexibility in writing Kernels (including using python functions in Kernels and support for writing output in a Kernel)
  3. Support for user-defined interpolators.
  4. More robust and flexible support for nested grids.

We have also changed the output format to Parquet, which is a tabular format more suited for writing and reading trajectory data.

See the full migration guide from Parcels v3 to v4 here.

Note that Parcels v4.0 is an early release to gather user feedback and should not be considered stable. We welcome feedback from the community, and encourage users to try out the new version and report any issues or suggestions or connect with us on our Zulip CLAM community.

Also note that the performance of Parcels v4 is currently slower than Parcels v3 for large (> ~100,000) numbers of particles. We are working on improving performance and will release updates as we make progress.

Once we've incorporated this feedback, improved performance, and implemented a few outstanding features, we aim to release a stable version of Parcels.

New Contributors

Full Changelog: v3.1.2...v4.0.0