Skip to content
Lorenzo Mentaschi edited this page Nov 26, 2019 · 13 revisions

The input of alphaBetaLab consists of high-resolution bathymetric data, a spectral grid, a model mesh and an optional set of algorithm parameters.

  • Bathymetry: in the current version the ETOPO1 bathymetry is supported. GEBCO is also supported, but it should be used with care in large applications (GEBCO 2019 takes 16 times more memory and more time to estimate than ETOPO1).
  • Spectral grid: given as a list of frequencies and a list of directions.
  • Model mesh. alphaBetaLab requires information on the model mesh in order to reconstruct the cell polygons, and to determine what cells should be elaborated by the alphaBetaLab algorithm. Therefore, the input depends on the type of mesh examined. Furthermore, alphaBetaLab needs the mesh name, which is used to establish the names of the output files.
    • Regular grids: the input is a structure (defined by class regularGridSpecWW3), which provides the specification of the grid (minimum longitude and latitude, grid steps, and the path of the WW3 grid mask file, which is used by alphaBetaLab to remove the masked cells from the computation).
    • Triangular meshes: the mesh file (for example a msh file defining a WW3 triangular mesh, or a gr3 file defining a SCHISM triangular mesh) contains all the information needed by alphaBetaLab to reconstruct the cell polygons.
    • SMC meshes: to be defined as this type of mesh will be supported.
  • Algorithm parameters: can be passed to alphaBetaLab through an abOptions object with keyword parameters corresponding to the desired settings (see here for a couple of examples). A list of available parameters can be found here.
Clone this wiki locally