<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Jiali:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The function ESMF_RegridWeightGen executable is part of the ESMF library and is not a ncl function: that is the reason why you did not find it in the ncl source code itself. It is the ncl function ESMF_regrid_with_weights that calls the ESMF_RegridWeightGen (that ncl function is in the large ncl script ESMF_regridding.ncl.) So your ncl script should call ESMF_regrid_with_weights, not ESMF_RegridWeightGen.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Hope this helps,</div><div class="gmail_default" style="font-size:small">Laura</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 18, 2021 at 6:17 AM Wang, Jiali via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</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">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I have been trying on different suercomputers, and all of them look fine (ncl and the excutable are at the same place), but it still says can’t find
</span><span>ESMF_RegridWeightGen executable. I am doing exactly the same thing as this.</span><span style="font-size:11pt">
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><a href="https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_36.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_36.ncl</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Can anyone advise please?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Jiali <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">Jiali Wang <<a href="mailto:jialiwang@anl.gov" target="_blank">jialiwang@anl.gov</a>><br>
<b>Date: </b>Wednesday, March 17, 2021 at 11:39 AM<br>
<b>To: </b>"<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>" <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>>, ncl-talk <<a href="mailto:ncl-talk-bounces@mailman.ucar.edu" target="_blank">ncl-talk-bounces@mailman.ucar.edu</a>>, "<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>" <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br>
<b>Subject: </b>could not find ESMF_RegridWeightGen executable<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<p><span>Hi NCL users!</span><u></u><u></u></p>
<p><span> </span><u></u><u></u></p>
<p><span>I am having a problem running a regrid script. </span>
<u></u><u></u></p>
<p><span>It says “could not find ESMF_RegridWeightGen executable” after generating the source_grid_file and destination_grid_file and before generating the weights.
</span><u></u><u></u></p>
<p> <u></u><u></u></p>
<p>Here is what I got (by following up this link <a href="https://mailman.ucar.edu/pipermail/ncl-talk/2018-April/011949.html" target="_blank">
https://mailman.ucar.edu/pipermail/ncl-talk/2018-April/011949.html</a>), it seems everything is at the same place but it just can’t find it.<u></u><u></u></p>
<p><span> </span><u></u><u></u></p>
<p><span>(ncl_stable) [jialiwang@beboplogin4 regrid_test]$ which ncl</span><u></u><u></u></p>
<p><span>/soft/anaconda3/5.2.0/envs/ncl_stable/bin/ncl</span><u></u><u></u></p>
<p><span>(ncl_stable) [jialiwang@beboplogin4 regrid_test]$ ncl -V</span><u></u><u></u></p>
<p><span>6.6.2</span><u></u><u></u></p>
<p><span>(ncl_stable) [jialiwang@beboplogin4 regrid_test]$ env | grep NCARG</span><u></u><u></u></p>
<p><span><b>NCARG</b></span><span>_ROOT=/soft/anaconda3/5.2.0/envs/ncl_stable</span><u></u><u></u></p>
<p><span>(ncl_stable) [jialiwang@beboplogin4 regrid_test]$ which ESMF_RegridWeightGen</span><u></u><u></u></p>
<p><span>/soft/anaconda3/5.2.0/envs/ncl_stable/bin/ESMF_RegridWeightGen</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt">Any suggestions would be appreciated!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt">Jiali </span><u></u><u></u></p>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Laura D. Fowler </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Mesoscale and Microscale Meteorology Division (MMM) </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">National Center for Atmospheric Research<br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">P.O. Box 3000, Boulder CO 80307-3000</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">e-mail: <a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">phone: 303-497-1628</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><br></div></div></div>