<div dir="ltr">Hi Martin,<div>Thanks for your reply. Your suggestion did cure the problem of all the delX values being read in as '0'. Thanks.</div><div>But now running the code (using ./mitgcmuv > output.txt ) gives me the error</div><div><br></div><div>SOLUTION IS HEADING OUT OF BOUNDS: tMin,tMax= -7.361E+22 5.849E+22<br> exceeds allowed range (monSolutionMaxRange= 1.000E+03)<br>MON_SOLUTION: STOPPING CALCULATION at Iter= 10<br>S/R ALL_PROC_DIE: ending the run<br>STOP ABNORMAL END: S/R MON_SOLUTION, stops due to EXTREME Pot.Temp<br></div><div><br></div><div>I have attached the python script used to generate the data again.</div><div><br></div><div>Best</div><div>Jeremy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 6 Apr 2021 at 14:13, Martin Losch <<a href="mailto:Martin.Losch@awi.de">Martin.Losch@awi.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jeremy,<br>
<br>
I believe that this experiment expects double precision input (in data: readBinaryPrec=64,), but in your script you write everything as “>f4”. Probably changing to “>f8” will fix the problem.<br>
(alternatively you could set readBinaryPrec=32,)<br>
<br>
Martin<br>
<br>
> On 6. Apr 2021, at 09:06, Jeremy Miller <<a href="mailto:jeremysharonmiller@gmail.com" target="_blank">jeremysharonmiller@gmail.com</a>> wrote:<br>
> <br>
> Dear MITgcm support forum,<br>
> <br>
> I am attempting to run the internal wave verification. Being a python user I transcribed gendata.m to python. The script I am using is attached here in the file gendata_IWs.py .<br>
> After running genedata_IWs.py and subsequently running ./mitgcmuv > output.txt, I receive the following message in the terminal window:<br>
> <br>
> S/R LOAD_GRID_SPACING: delX(i= 31)= 0.00000000E+00 : MUST BE >0<br>
> S/R LOAD_GRID_SPACING: delX(i= 32)= 0.00000000E+00 : MUST BE >0<br>
> .<br>
> .<br>
> .<br>
> <br>
> S/R LOAD_GRID_SPACING: delX(i= 60)= 0.00000000E+00 : MUST BE >0<br>
> S/R LOAD_GRID_SPACING: found 30 invalid delX values<br>
> <br>
> I have read back in the delXVar file that I output and checked that the values do match the values in the original array dx.<br>
> Best<br>
> Jeremy Miller<br>
> <br>
> <br>
> <gendata_IWs.py>_______________________________________________<br>
> MITgcm-support mailing list<br>
> <a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
> <a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
</blockquote></div>