OceanParcels/parcels: Parcels v2.0.0-beta: a Lagrangian Ocean Analysis tool for the petascale age
Creators
- 1. Utrecht University
- 2. European Centre for Medium-Range Weather Forecasts (ECMWF)
- 3. Esri
- 4. Imperial College London
Description
This is the beta-release of Parcels v2. Compared to the last v1.1.1 release, there are three important changes
1) 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 the field.data
numpy array (#503 and #276).
2) The dt
argument has been dropped from Kernel definitions, so that the only arguments allowed in a Kernel are def kernelfunc(fieldset, particle, time)
(#503)
3) 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:
- New
FieldSet.from_xarray_dataset()
method to directly readxarray.DataSet
objects (#476) - An optional argument in
Field.show()
to control which depth level to plot (#478) ParticleSet.from_field()
now also implemented for Curvilinear Fields (#496)- And numerous small bug fixes
Files
OceanParcels/parcels-v2.0.0beta.zip
Files
(1.6 MB)
Name | Size | Download all |
---|---|---|
md5:1c609dbddead38378ba5d9a6bfcbb461
|
1.6 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/OceanParcels/parcels/tree/v2.0.0beta (URL)