Parcels v2.0.0-beta: a Lagrangian Ocean Analysis tool for the petascale age
Pre-releaseThis is the beta-release of Parcels v2. Compared to the last v1.1.1 release, there are three important changes
-
The order of arguments for Field interpolation has changed. This is now
field[time, depth, lat, lon]
, which is consistent with the dimension order in which data is stored in thefield.data
numpy array (#503 and #276). -
The
dt
argument 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. The details of this will be presented in a manuscript, to be submitted soon (#499 and #494)
Note that 1) and 2) above mean that Kernels written for Parcels v1 will break in this Parcels v2. If you're updating to this v2.0.0beta, therefore please update your custom Kernels.
Other updates since v1.1.1 are: