Skip to content

Parcels v2.0.0-beta2: a Lagrangian Ocean Analysis tool for the petascale age

Pre-release
Pre-release

Choose a tag to compare

@erikvansebille erikvansebille released this 05 Mar 12:30
9ee52ff

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.float64 accuracy of particle locations. This can be set using the lonlatdepth_dtype argument in ParticleSet construction. Default is np.float64 for C-grids, and np.float32 for all other grids (#552 and #557)
  • Renaming of the full_load argument in FieldSet.from_netcdf() construction to deferred_load, where deferred_load = not full_load, for consistency with how we normally call this mode. Default for netcdf files with more than three snapshots is deferred_load=True (#550)
  • Support for Netcdf files without a time dimension, by using the timestamps argument in FieldSet construction (#540)
  • New tutorials on how to work with 3-dimensional C-grid data such as NEMO (#531) and the UnitConverter classes (#516)
  • Check if the keys in the dimensions dictionary are only lon, lat, depth and time (#545)
  • Change in how variable name should be set in Field.from_netcdf(). Now use tuple variable=(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