Open jkrasting opened 1 year ago
Slicing issue was corrected by forcibly casting the jmin
index as an integer in the MIDAS displaced_pole
function. See https://github.com/mjharriso/MIDAS/issues/20. jmin
in this specific case was 20.0
and I simply cast it as int(jmin)
The code runs, although the resulting grids do not match their reference checksum values.
md5sum -c md5sums.txt
antarctic_spherical_supergrid.nc: FAILED
mercator_supergrid.nc: FAILED
ncap_supergrid.nc: FAILED
scap_supergrid.nc: FAILED
supergrid.nc: FAILED
ocean_hgrid.nc: FAILED
md5sum: WARNING: 1 line is improperly formatted
md5sum: WARNING: 6 computed checksums did NOT match
Thoughts, @adcroft?
The 0.25º grid generation
create_grids.py
is failing in a slicing operation. Slice index appears to be of the wrong data type based on the error message: