You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to register a whole slew of diagnostics provided by MARBL, where we want MARBL tell us which ones are vertically extensive. 3D fields that are registered with v_extensive=.false. have cell_methods: xh:mean yh:mean area:mean rather than the expected cell_methods: xh:mean yh:mean zl:mean area:mean. @klindsay28 and I think the problematic block of code is in MOM_diag_mediator:attach_cell_methods:
Note that if v_extensive = .false. then it is present so we go down the elseif (present(v_extensive)) then but there is no else clause to if (v_extensive) then so nothing is done. On the other hand, if v_extensive is not present then we execute the final else clause:
I'm trying to register a whole slew of diagnostics provided by MARBL, where we want MARBL tell us which ones are vertically extensive. 3D fields that are registered with
v_extensive=.false.
havecell_methods: xh:mean yh:mean area:mean
rather than the expectedcell_methods: xh:mean yh:mean zl:mean area:mean
. @klindsay28 and I think the problematic block of code is inMOM_diag_mediator:attach_cell_methods
:Note that if
v_extensive = .false.
then it is present so we go down theelseif (present(v_extensive)) then
but there is no else clause toif (v_extensive) then
so nothing is done. On the other hand, ifv_extensive
is not present then we execute the finalelse
clause:I think we want the above code to execute when
v_extensive = .false.
is explicitly stated.The text was updated successfully, but these errors were encountered: