<div dir="ltr">Dear MITgcm forum,<div><br></div><div>Hope all are well. I have a couple of questions about the internal wave tutorial.</div><div><br></div><div><b>1.</b> I am trying to change Nr, the number of cells in the z-direction. When changing it from 20 (the default) foe example to 22, at run-time I get the error:</div><div><br></div><div>Fortran runtime error: Cannot match namelist object name -0.0440182<br><br>Error termination. Backtrace:<br>#0  0x7f0d178d1d3a<br>#1  0x7f0d178d2849<br><br></div><div>etc.</div><div><br></div><div>I changed Nr in input/data in the relevant lines:</div><div><br></div><div>Line 8: Tref =  0.0484200, ..... -0.0484200 (20 values),  -> Tref =  0.0486517,..., -0.0486517, (22 values)</div><div>Line 14: sRef= 20*35. ->  sRef= 22*35.,</div><div>Line 70: delZ=22*10., -> delZ=22*9.,<br></div><div><br></div><div>and I changed the relevant lines in code/SIZE.h and code/SIZE.h_mpi:</div><div><br></div><div>Line 55:      &           Nr  =  20) ->      &           Nr  =  22)</div><div><br></div><div><b>2. </b>Changing Nx (the number of slices in the x direction) from the default 60 to, say 100, in data and SIZE.h as above, the code runs, but when trying to read the temperature data back in from the file 'T.0000000100.002.001.meta', then resize the array in python with the snippet (with Nz=20, Nx=100)</div><div><br></div><div>T = mds.rdmds('T',Nt);<br>T_vals = T.reshape(Nz,Nx)<br></div><div><br></div><div>I get the error</div><div><br></div><div>ValueError: cannot reshape array of size 1200 into shape (20,100)<br></div><div><br></div><div>i.e. the results data has not been reshaped according to the new Nx=100. </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>