E3SM icon indicating copy to clipboard operation
E3SM copied to clipboard

Potentially wrong grid size in `shr_dmodel_readgrid` for multi-column scm

Open mwarusz opened this issue 5 months ago • 4 comments

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 ?

mwarusz avatar Aug 29 '24 17:08 mwarusz