Skip to content

Commit 011fb7e

Browse files
committed
Generalize support for downsample diagnostics
- Generalize _d2 diagnostics to arbitrary _dl - The maximum level MAX_DSAMP_LEV needs to be specified.
1 parent 1cf9562 commit 011fb7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/framework/MOM_diag_mediator.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ subroutine post_data_3d_low(diag, field, diag_cs, is_static, mask)
19141914
endif
19151915
endif
19161916

1917-
if (diag%fms_xyave_diag_id>0) then
1917+
if (diag%fms_xyave_diag_id>0 .and. dl<2) then
19181918
call post_xy_average(diag_cs, diag, locfield)
19191919
endif
19201920

0 commit comments

Comments
 (0)