Layers is the variable that must be specified in the input of Scalar Field Converter, specifying the transitions between layers.
Comments:
There are only 3 requirements.
- Firstly, the format for the variable must be as a row vector.
- Secondly, the vector must be padded with a final value which is much deeper than the bottom of the ROMS bathymetry. Since the Atlantis model has an open base/bottom, and ROMS has actual bathymetry, the way the ROMS depths/cells are collected into the bottom layer is if the 'open base/bottom', is simulated by a 'pseudo-layer' which is much deeper than the bottom of the ROMS bathymetry.
- Depths must be NEGATIVE! I.e. the depth must be meters ABOVE the mean sea level.
For example, say the Atlantis model requires the following layers 0-20m, 20-50m, 50-200m, 200-1000m, 1000-bottom. This would be entered as:
- layers = [-20,-50,-200,-1000,-10000];
Here, the values -20m, -50m, -200m, -1000 are the transitions between the layers, and -10000m is there in order to catch all ROMS depths from the very bottom up to the next layer transition.