Skip to content

Releases: MET-OM/dnora

Release v1.4.1

30 Jan 12:34
Compare
Choose a tag to compare

Fix bug in ERA5(BoundaryReader)

Release v1.4.0

12 Jan 12:59
Compare
Choose a tag to compare

Added Ocean Current object
Added Water Level object (provided by Øystein Lande, @oystelan)

For SWAN:
Added possibility to run in parallel mode:
Uses point picker to get nearest original point with no duplicates, which is compatible with using the block to define the boundary.

Added BoundaryReader for MET Norway operation WW3 (4km)

Release v1.3.2

29 Aug 14:52
Compare
Choose a tag to compare

Fixed SWAN boundary writer with the new Area PointPicker that is now default.

Fixed runnign SWAN without wind forcing.

Removed a breakpoint from ERA5 reader

Release v1.3.1

17 Jun 15:25
Compare
Choose a tag to compare

Some changes that should have been in v1.3.0 didn't get pushed

Added preliminary support for ERA5 wind and boundary spectra

Added caching option for forcing and boundary data.

Release v1.3.0

08 Jun 23:45
ee67574
Compare
Choose a tag to compare

Added functionality include:

  • Interactive plotting of forcing data
  • WAM4km boundary reader can now deal with missing files
  • ModelRun now also include a spectral object (1D spectra). Especially, boundary spectra can be integrated to 1D spectra. However, this part i still not finalized.
  • Defaults have been updated to a yaml-file
  • Plotting methods now return a dictionary of the objects, meaning that the default dnora plot can be modified outside of dnora.

Bug-fixes:

  • Fixed grid definition issues in the SWAN input file reader
  • Fixed bug in SWAN wind forcing writer. It looped the days incorrectly.

Release v1.2.0

31 Mar 06:16
e4ef17a
Compare
Choose a tag to compare

Most important changes are:

  • Added TopoReaders for: Kartverket50m (multi-tile reader), EMODNET2020 (multi-tile reader) and GEBCO2021 (global coverage)
  • Added plot_topo-method to ModelRun object to vew the raw topography of a Grid-object. plot_grid plots the meshed topography.
  • The TopoReaders can now return either structured gridded data or a bunch of points to the Grid-object
  • The trg-module can now read triangulation data and topography data from .msh-.files
  • Added preliminary support for the HOS-ocean model.
  • Option to output selected spectra points (spec_points) in SWAN(InputFileWriter) has added.
  • Times when initializing ModelRun-objects are now optional. Convenient when only working with grids or when we want to import all data from a file.

Release v1.1.3

18 Feb 10:21
Compare
Choose a tag to compare

Bug fix in spectral processor

There was a bug in the flip_spec function that made it work incorrectly for some specific transformations (specific orientiation of the directional vector and directional resolution). This bug has been fixed and unit tests have been expanded.

The boundary reader for reading WW3 netcdf-files was corrected for a bug in reading the directions from the xarray dataset and some function handles were harmonized with the rest of the code.

Release v1.1.2

26 Jan 16:16
Compare
Choose a tag to compare

Increased the number of decimals used when writing the SWAN input file. This makes sure that the grid is ok even for very high resolutions.

Release v1.1.1

26 Jan 15:48
Compare
Choose a tag to compare

Two bug-fixes related to the unstructured meshes:

  1. The writer was missing a _im_silent method that controlled output to the user, and this made the export method crash.
  2. The wind readers didn't function properly with an unstructured grid, since they defined the area incorrectly.

Release v1.1.0

13 Jan 11:42
2a35989
Compare
Choose a tag to compare

This release includes bug-fixes to the SWAN boundary module, and preliminary support for triangular grids.

The spectral conventions have also been strengthened: the conventions are set in the reader and writer, and dnora takes care of the conversions automatically. Available conventions have been expanded to include two different type of mathematical conventions (using different directional vectors).

Dnora has no support for generating triangular meshes, but can import topographical data to existing meshes, and export them in .msh-format. These triangular grids can also be used to import boundary spectra and wind forcing data.

Unit tests have been expanded.