<div dir="ltr"><div class="gmail_default" style="font-size:small">Lin,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The script you attached only has 52 lines, whereas the error is coming from line 127. I'm assuming the error happens on the ESMF_regrid line.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, did you include all of the error messages? The reason I ask is that the line number that this error is pointing to to indicates that it happened when it tried to execute the ESMF_RegridWeightGen command. This is an application that should be in the same directory as the "ncl" command ($NCARG_ROOT/bin). If this file doesn't exist on your Mac in $NCARG_ROOT/bin, then you should have seen another error message before the error messages you emailed.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To get more debugging output, add this option:</div><div class="gmail_default" style="font-size:small">
<p class="gmail-p1"><span class="gmail-s1"> Opt@Debug = True</span></p><p class="gmail-p1"><span class="gmail-s1">This sometimes helps you better see the source of the problem.</span></p><p class="gmail-p1">Please run your script with this option set, and then email me all of the output and the <span style="font-size:12.8px">esmf_regrid_6_sic.ncl script.</span></p><p class="gmail-p1"><span style="font-size:12.8px">Thanks,</span></p><p class="gmail-p1"><span style="font-size:12.8px">--Mary</span></p><p class="gmail-p1"><span style="font-size:12.8px"><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 8:42 AM, 林祥 <span dir="ltr"><<a href="mailto:xianglin72@icloud.com" target="_blank">xianglin72@icloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, all<br>
<br>
I use the function of “ESMF_regrid” to regard some sea ice data of CMIP5 results. I find that the script run well in the windows (cygwin)<br>
<br>
while met some error in Mac OS 10.11.5 (El Captain). The error message were listed below :<br>
<br>
<br>
fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function<br>
<br>
fatal:["Execute.c":8575]:<wbr>Execute: Error occurred at or near line 2938 in file $NCARG_ROOT/lib/ncarg/<wbr>nclscripts/esmf/ESMF_<wbr>regridding.ncl<br>
<br>
<br>
fatal:["Execute.c":8575]:<wbr>Execute: Error occurred at or near line 4027 in file $NCARG_ROOT/lib/ncarg/<wbr>nclscripts/esmf/ESMF_<wbr>regridding.ncl<br>
<br>
<br>
fatal:["Execute.c":8575]:<wbr>Execute: Error occurred at or near line 127 in file /Users/linx/Data/CMIP5_SIC/<wbr>sic/esmf_regrid_6_sic.ncl<br>
<br>
<br>
My script was also attached for this mail, I use this scripts to regrid sea ice concentration dataset from multiple CMIP5 model output. I’ve talk about<br>
<br>
this problem with Hoffman and thank for his help. But my problem have not been resolved since I just use Mac pro for working and the PC (windows) is not belong<br>
<br>
to me (I can let someone test the script in Windows for me, But the major work should be done by me in Mac pro.)<br>
<br>
<br>
Thank<br>
<br>
<br>
LIN<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>