Parcels v2.0.0: a Lagrangian Ocean Analysis tool for the petascale age
Parcels v2.0.0 builds on previous versions v2.0.0.beta and v2.0.0.beta2. It's the release which is fully described in the paper The Parcels v2.0 Lagrangian framework: new field interpolation schemes, by Delandmeter and van Sebille, 2019, GMD.
The major changes of v2.0.0 compared to v1.1.1 are
-
The order of arguments for
Fieldinterpolation has changed. This is nowfield[time, depth, lat, lon], which is consistent with the dimension order in which data is stored in thefield.datanumpy array (#503 and #276). -
The
dtargument has been dropped from Kernel definitions, so that the only arguments allowed in a Kernel aredef kernelfunc(fieldset, particle, time)(#503) -
Interpolation for C-grids is now done in a fluxes framework, instead of a velocity framework (#499 and #494).
-
Interpolation for B-grids (#573)
-
Support for
np.float64accuracy of particle locations. This can be set using thelonlatdepth_dtypeargument in ParticleSet construction. Default isnp.float64for C-grids, andnp.float32for all other grids (#552 and #557)
Note also a number of other minor development:
- See v2.0.0.beta
- See v2.0.0.beta2
- Unpinning netcdf4 1.4.1 (#597)
- Numerous bug fixes