Generic sanity check routines.
Sanity check *_DEPTH options for MOM6.
The following equation must be true for this routine to return True:
MAXIMUM_DEPTH >= MINIMUM_DEPTH >= MASKING_DEPTH
A land mask is applied if a depth is equal to or shallower than the
MASKING_DEPTHis undefined or deeper than
MINIMUM_DEPTH, the land mask will use the
MINIMUM_DEPTHto apply the land mask.
True of depth options are sane, False otherwise.
- Return type
As the model is initialized, if this parameter is undefined, it is set to the maximum as seen from the supplied topography grid.