Skip to content

Latest commit

 

History

History
143 lines (109 loc) · 8.65 KB

history.rst

File metadata and controls

143 lines (109 loc) · 8.65 KB

History

2021-01-26 / Release v1.5.5

  • New module LarvalFish, for fish eggs hatching into larvae with swimming behaviour
  • Sundby83 parameterisation of vertical diffusivity is now set to 0 below mixed layer depth (default 50m)
  • Deprecating seed argument oiltype in favor of oil_type in OpenOil. Warning is issued, but later this will become an error
  • Fixed problem with convolution of reader fields
  • Fixed newly introduced bug with Leeway ascii output file
  • Cleaned up some metadata output, and seeding arguments are written as list of GeoJSON strings to attribute seed_geojson

2021-01-18 / Release v1.5.4

  • seed_cone also accepts time as list with single element
  • Min/max values are checked/masked also for ensemble data
  • reader_netCDF_CF_generic now detects lon/lat arrays also if their variable name equals lon/lat or longitude/latitude

2021-01-15 / Release v1.5.3

  • Fixed bug related to derived_variables (e.g. calculating x_wind, y_wind from windspeed, winddirection)

2021-01-14 / Release v1.5.2

  • Fixed problem with double or missing logging output
  • ShipDrift model now gives warning and not error if input parameter are outside bounds, and parameters are clipped to boundary values
  • Fixed problem with multiprocessing/parallelization of lonlat2xy for unprojected readers

2021-01-05 / Release v1.5.1

  • OilLibrary updated to version 1.1.3. Slightly different weathering results, and * is removed from oil names starting with GENERIC

2021-01-04 / Release v1.5.0

  • Major restructuring of Basereader class. Readers now are sublasses of Structured, Unstructured or Continuous.
  • Built in GUI is improved with posibillity to adjust all config settings.
  • Some Leeway parameters are renamed from camelCase to camel_case, including: jibeProbability -> jibe_probability and objectType -> object_type
  • Renamed config setting drift:scheme -> drift:advection_scheme

2020-11-01 / Release v1.4.2

  • Fixed bug in v1.4.1 that OpenOil and SedimentDrift had fallback_value of 0 for land_binary_mask, this shall be None.

2020-10-31 / Release v1.4.1

  • Built in GUI is improved with docstrings and less hardcoding, based on new config mechanism, including a new bool setting seed:seafloor.
  • model.required_variables is now a dictionary, which also includes the earlier fallback_values, desired_variables and required_profiles. Instead of providing fallback values directly in a dictionary, these shall now be provided through the config mechanism: o.set_config('environment:fallback:<variable>', <value>). Correspondingly, config setting environment:constant:<variable> may be used to specify constant values for the same variables (overriding any other readers).
  • seed_elements is simplified, by factoring out a new method seed_cone

2020-10-27 / Release v1.4.0

  • New internal config mechanism, and configobj package is no longer needed. The user API (get_config(), set_config()) is unchanged, but model developers must use the new mechanism to add configuration settings.
  • Added new reader for static 2D fields (reader_constant_2d.py)
  • Xarray, Dask and Xhistogram are new requirements. New method opendrift.open_xarray to open an output netCDF file lazily, with possibility to e.g. calculate density arrays/plots from datasets to large to fit in memory.
  • New model chemicaldrift

2020-10-15 / Release v1.3.3

  • New seed method seed_repeated_segment()
  • New method animate_vertical_distribution()
  • Vertical mixing scheme is greatly simplified, and should be faster for large number of elements.
  • Vertical mixing is now disabled by default in OceanDrift, but enabled in all submodules (PelagicEggDrift, SedimentDrift, RadionuclideDrift, OpenOil)
  • Vertical diffusivity option zero is replaced with constant, which means using the fallback value.
  • New config setting drift:horizontal_diffusivity, providing time-step independent diffusion, in contrast to drift:current_uncertainty and drift:wind_uncertainty
  • Readers may be initialised from a JSON string, where reader is name of reader module, and other parameters are forwarded to reader constructor, e.g.: {"reader": "reader_cmems", "dataset": "global-analysis-forecast-phy-001-024-hourly-t-u-v-ssh"}
  • CMEMS reader now obtains username/password from .netrc instead of environment variables. CMEMS-motuclient is added to environment.yml
  • CMEMS reader now takes dataset name and not product name as input, and it is possible to provide variable mapping.
  • NOAA ADIOS is now default (and only) option for oil weathering, as the "built in" oil weathering module ("basic") is removed.
  • GUI is generalised, to be usable for any modules. This includes taking default seed options from config:seed: (e.g. m3_per_hour for OpenOil)

2020-08-21 / Release v1.3.2

  • Fixed vmax value for animations with density array
  • Fixed animation marker color for deactivated elements
  • Introduced mechanism to store environment variables from previous time step
  • New element property moving, giving possibility to temporarily freeze elements, e.g. used for sedimentation and resuspension in SedimentDrift module
  • Improved robustness using Xarray in netCDF-readers. Xarray is still optional dependency, but is now tested on Travis
  • nc-time-axis is new dependency, providing support for cftime axis in matplotlib

2020-07-03 / Release v1.3.1

  • NOAA oil weathering model is now default choice in OpenOil
  • Bugfix in reader_netCDF_CF_generic for particles with negative longitudes combined with global datasets with longitudes from 0-360
  • Added module SedimentDrift
  • Removed two options from OpenOil, with corresponding config parameters:
    • Tkalich(2002) entrainment rate
    • Exponential droplet size distribution
  • Renamed two config settings:
    • processes:turbulentmixing -> drift:vertical_mixing
    • processes:verticaladvection-> drift:vertical_advection

2020-06-24 / Release v1.3.0

  • OceanDrift3D and OpenDrift3D have been merged into OceanDrift, and OpenOil3D has been merged into OpenOil. Thus OpenOil and OceanDrift are now 3D modules, but can still be configured for 2D drift.

2020-06-12 / Release v1.2.3

  • Seed from shapefile: GDAL (ogr / osr) changed coordinate order, updates dependencies and call.

2020-06-08 / Release v1.2.2

  • Victor de Aguiar: :mod:`Oil drift in sea ice <opendrift.models.openoil>` following Nordam et al., 2019, doi:10.1016/j.marpolbul.2019.01.019 (Sponsored by the Fram Centre in Tromsø, through the MIKON/OSMICO project).
  • OpenBerg module available from the GUI.
  • A generic shape reader for landmasks (use polygons directly or convenience method using shp files).
  • Drop rasterio dependency and include some significant thread-safety fixes for landmask-data.

2020-05-14 / Release v1.2.1

  • Specifying a positive time step with a negative duration is now an error. Duration should always be specified positive.

2020-01-08 / Release v1.2.0

2019-11-27 / Release v1.1.1