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
Add capability to use multiple diagnostics downsampling levels in MOM6
- This commit presents an enhancement of diag downsampling workflow for MOM6
- It allows an arbitrary number of downsampling factors in the same run (if they are commensurate with grid processor layout)
- The number of downsampling levels should be specified in MOM override parameters
E.g., #override NUM_DIAG_DOWNSAMP_LEV = 3
- The downampling factors should be specified
E.g., #override DIAG_DOWNSAMP_LEVS = 2,4,5
- The required downsampled domains and axes are then generated at the initialization by MOM_diag_mediator
No need for other modules to know anything about the downsampling scheme.
- No need for a #define MAX_DSAMP_LEVEL, everything is allocated at runtime
- Since everything is allocated at runtime users need to be congnisent of the number of levels they request.
- Any downsampling diagnostics can be put in diag_table , only the levels that requested in parameters are handled
- The overall dependence of downsampling levels on the grid shape and pe layout remains
Only levels should be requested where NIGLOBAL/x_layout and NJGLOBAL/y_layout are divisible by downsampling factor
0 commit comments