Error message: ndiagp is too small to read in STASHmaster

Hi,

I am getting the following error at atmos_main running suite u-dz121:

It is a nudged suite running with the DEST chemistry scheme with a new branch to include iodine chemistry.

Would somebody be able to explain how to fix this?

Thank you,

Molly

Hi Molly,

ndiagp is defined in src/control/top_level/version_mod.F90. From the error message this seems to refer to the total number of fields/ diagnostics defined in STASHmaster. You can try bumping the value roughly by the number of new stash items added by your scheme, or randomly by a couple of hundreds first.

Mohit