Parcels v4.0.0: an Xarray-aligned, flexible Lagrangian simulation framework for geoscience
LatestParcels 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:
- Support for unstructured grids.
- More flexibility in writing Kernels (including using python functions in Kernels and support for writing output in a Kernel)
- Support for user-defined interpolators.
- 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
- @fluidnumericsJoe made their first contribution in #1873
- @nilodna made their first contribution in #2268
- @douglatornell made their first contribution in #2291
- @joseCarlosAndrade made their first contribution in #2329
- @tibisabau made their first contribution in #2497
- @PeterWolfram made their first contribution in #2663
- @hoadjei made their first contribution in #2670
- @steps-re made their first contribution in #2734
- @wyatt-fluidnumerics made their first contribution in #2760
- @maureenjcohen made their first contribution in #2739
- @j-atkins made their first contribution in #2886
Full Changelog: v3.1.2...v4.0.0