<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Xinyue,</div><div class="gmail_default" style="font-size:small"><br></div>The "ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen executable."<div class="gmail_default" style="font-size:small;display:inline"> error indicates that for some reason, it is not seeing the "ESMF_RegridWeightGen" executable in $NCARG_ROOT/bin.</div><div><br></div><div><div class="gmail_default" style="font-size:small">There could be a few reasons for this; here are two:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">1. $NCARG_ROOT/bin is not part of your PATH environment variable</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">2. $NCARG_ROOT/bin/<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ESMF_RegridWeightGen doesn't have execute permissions</span></div><br><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline">You mentioned that the regridding script worked with other data files. When you ran the script that doesn't work, are you by any chance running it on a different system or under a different environment somehow? </div></div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline">Before you run the "bad" script, can you type the following to see if it gives you any insight to the problem:</div></div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline"><font face="monospace, monospace">which ncl</font></div></div><div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">ncl -V</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">env | grep NCARG</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">which ESMF_RegridWeightGen</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">ls -l $NCARG_ROOT/bin/<span style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ESMF_RegridWeightGen</span></font></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small">You can email the input from the above command back to ncl-talk and I'll have a look.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><br></div><div><div class="gmail_default" style="font-size:small;display:inline"></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 1, 2018 at 8:56 AM, Wang Xinyue <span dir="ltr"><<a href="mailto:wang.xinyue.q6@dc.tohoku.ac.jp" target="_blank">wang.xinyue.q6@dc.tohoku.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span style="font-size:14px">Hi there,</span><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">I would like to regrid the original PATMOS-x data (1800,3600), which has 0.1*0.1 resolution, to lower resolution 1*1. </span></div><div><span style="font-size:14px">However, after trying several example scripts in Regridding and ESMF Regridding, I still cannot get the result I want, although these command lines seem to work well on other climate datasets like CERES (180,360).</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">When using </span><span style="font-size:14px">ESMF_regrid<i> </i>function (</span><span style="font-size:14px;background-color:rgb(255,255,255)">The script is in the attachment</span><span style="font-size:14px">), I got the error message like this:</span></div><div><span style="font-size:14px"><i><br></i></span></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span class="m_-6328447379174476276Apple-tab-span" style="white-space:pre-wrap"> </span>ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen executable.</span></div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px">Then I checked with: ls $NCARG_ROOT/bin/ESMF_<wbr>RegridWeightGen, and found it correctly installed. So what could be causing that error?</span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px"><br></span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px"><br></span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px">When I try the example script <a href="https://www.ncl.ucar.edu/Applications/Scripts/regrid_1.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);background-color:rgb(255,231,198)" target="_blank">regrid_1.ncl</a> with <span style="background-color:rgb(255,231,198)"> </span><strong style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);background-color:rgb(255,231,198)"><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/linint2.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);background-color:rgb(255,231,198)" target="_blank">lini<wbr>nt2</a></strong> function in <a href="https://www.ncl.ucar.edu/Applications/regrid.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/regrid.shtml</a>, there is no error message, but the output data is weird and cannot be plotted.</span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px"><br></span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px">The version of NCL is 6.4.0, running in Mac OS.</span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px"><br></span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px">Any one met with the same problem when regridding PATMOS-x data? And how did you solve it? </span><span style="font-size:14px">Any help would be appreciated.</span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><br></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px"><br></span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px">Thanks,</span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px">Xinyue</span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"></div></div><br><div style="word-wrap:break-word"><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"></div></div><br><div style="word-wrap:break-word"><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:14px"> </span></div><div style="margin:0px;line-height:normal;background-color:rgb(255,255,255)"><span style="font-size:medium;font-family:-webkit-standard"><br></span></div></div><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>