A bug found in MCIP v5.1

I found a bug in the MCIP v5.1 source code

In Line 535 of metvars2ctm.f90, the code is

xclay_px(:,: ) = clay_px (sc:er,sr:er)

which should be

xclay_px(:,: ) = clay_px (sc:ec,sr:er)

It won’t crash MCIP, but can lead to some warning. Please correct it in the release version.

Hao

@haohe.umcp

Thank you for bringing this to our attention. You are correct that this is a bug. It will be corrected (as you indicated) in a forthcoming release.

–Tanya