E3SM
E3SM copied to clipboard
Potentially wrong grid size in `shr_dmodel_readgrid` for multi-column scm
I am not familiar with this code at all, but this line looks suspect to me and it caused overflows in some of my DP-SCREAM runs:
https://github.com/E3SM-Project/E3SM/blob/f50d2639c68c1607a521407b420af040080c1380/share/streams/shr_dmodel_mod.F90#L386
Shouldn't it be scm_nx * scm_ny * nzgo
?