Parcels v2.0.0-beta2: a Lagrangian Ocean Analysis tool for the petascale age
Pre-release
Pre-release
This is the second beta version of Parcels v2.0.0. It builds upon v2.0.0beta, and compared to that version has a few important fixes and improvements:
- Support for
np.float64accuracy of particle locations. This can be set using thelonlatdepth_dtypeargument inParticleSetconstruction. Default isnp.float64for C-grids, andnp.float32for all other grids (#552 and #557) - Renaming of the
full_loadargument inFieldSet.from_netcdf()construction todeferred_load, wheredeferred_load = not full_load, for consistency with how we normally call this mode. Default for netcdf files with more than three snapshots isdeferred_load=True(#550) - Support for Netcdf files without a
timedimension, by using thetimestampsargument inFieldSetconstruction (#540) - New tutorials on how to work with 3-dimensional C-grid data such as NEMO (#531) and the
UnitConverterclasses (#516) - Check if the keys in the
dimensionsdictionary are onlylon,lat,depthandtime(#545) - Change in how variable name should be set in
Field.from_netcdf(). Now use tuplevariable=(Field_name, variable_name_in_NetCDF_file)(#545) - Numerous bugfixes
Note also that there is a problem with the latest release of the netCDF4 library, v1.4.2 (Issue #513). For the time being, we recommend downgrading to v1.4.1, using conda install netcdf4=1.4.1