-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'darincomeau/ocn/gm-horizontal-resolution-function' into…
… next (PR #4864) Add horizontal tapering function to mesoscale eddy parameterizations This PR adds a new 'RossbyRadius' option to the horizontal tapering of GM and Redi, which is based on Hallberg (2013) - https://doi.org/10.1016/j.ocemod.2013.08.007, which turns the parameterization on if the Rossby Radius is resolved by at least two cells. These flags are: * config_Redi_horizontal_taper = 'ramp' (def), 'none', 'RossbyRadius' * config_GM_horizontal_taper = 'ramp' (def), 'none', 'RossbyRadius' This PR replaces the variable `gmResolutionTaper`, which was used for both GM and Redi, to the separate variables `RediHorizontalTaper` and `gmHorizontalTaper` so that Redi and GM tapering can be chosen separately, and it is clear in the code. Logic was added to the GM and Redi schemes so that the there is a base value in the arrays for Redi Kappa and GM Kappa. The base value is then multiplied by the taper array, which has a value between 0 and 1. Arrays that are static in time are computed on init. Under the following conditions, the arrays are recomputed at every time step: * config_Redi_horizontal_taper = 'RossbyRadius' (recompute RediHorizontalTaper and RediKappa) * config_GM_horizontal_taper = 'RossbyRadius' (recompute gmHorizontalTaper) [NML] adds MPAS-Ocean namelist options [BFB]
- Loading branch information
Showing
9 changed files
with
354 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.