<div dir="ltr"><div><div>Hi Michele,<br><br></div>I just ran the example on my MAC with no problems using 6.5.0 and had <b>no problem</b>.<br><br></div><div>THX for including the output from your mchine (appended at the end of this email.)<br></div><div>Perhaps there is a setup issue. Unfortunately, I am not knowledgeable enough about <br>these types of thing. Hopefully, someone will chime in.<br></div><div><br></div>%> ncl ESMF_regrid_1.ncl<br><div><br>-rw-r--r--  1 shea  2200     6840 Jul 25 20:56 <a href="http://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl">ESMF_regrid_1.ncl</a> <br>-rw-r--r--  1 shea  2200    50104 Jul 25 20:58 <b><a href="http://sst.nc">sst.nc</a></b><br>-rw-r--r--  1 shea  2200   973768 Jul 25 21:00 <a href="http://source_grid_file.nc">source_grid_file.nc</a><br>-rw-r--r--  1 shea  2200   151908 Jul 25 21:00 <a href="http://destination_grid_file.nc">destination_grid_file.nc</a><br>-rw-r--r--  1 shea  2200      231 Jul 25 21:00 PET0.RegridWeightGen.Log<br>-rw-r--r--  1 shea  2200  1644652 Jul 25 21:00 NCEP_2_Rect.nc<br>-rw-r--r--  1 shea  2200     9424 Jul 25 21:00 <b><a href="http://sst_regrid.nc">sst_regrid.nc</a></b><br>-rw-r--r--  1 shea  2200   215451 Jul 25 21:00 <b>ESMF_regrid.png<br><br></b></div><div><b>I am attaching to output from<br><br></b></div><div>%><b> </b>ncdump -h <a href="http://sst.nc">sst.nc</a><b>  </b>>! out.ncdump_sst.txt<b><br><br></b></div><div>and the<b> </b><b><b>ESMF_regrid.</b>.png   </b>file<b><br><br></b></div><div>Your MAC:<br><br></div><div><div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">laptop-petrini:Downloads michele$ uname -a</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">Darwin 
Micheles-MacBook-Pro.local 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar 
 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_<wbr>X86_64 x86_64</span></div>


<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>
</div>

<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">Configured with: --prefix=/Library/Developer/<wbr>CommandLineTools/usr --with-gxx-include-dir=/usr/<wbr>include/c++/4.2.1</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">Apple LLVM version 10.0.0 (clang-1000.10.25.5)</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">Target: x86_64-apple-darwin17.5.0</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">Thread model: posix</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">InstalledDir: /Library/Developer/<wbr>CommandLineTools/usr/bin</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"> <br></div><div class="gmail_quote">My MAC:<br><br>%> uname -a<br>Darwin sherkin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64<br></div><div class="gmail_quote"><br>%> gcc --version<br>gcc (GCC) 6.2.0<br><br><br><br><br>On Wed, Jul 25, 2018 at 7:45 AM, Michele Petrini - CITG <span dir="ltr"><<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
<div>Dear ncl helpdesk,</div>
<div><br>
</div>
<div>I am trying to remap ocean data from a global rectlinear grid to the CISM Greenland grid using ncl.</div>
<div><br>
</div>
<div>As a fist step, I am trying to run <a href="https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;font-variant-ligatures:normal" target="_blank">ESMF_regrid_1.ncl</a> from <a href="https://www.ncl.ucar.edu/Applications/ESMF.shtml" target="_blank">htt<wbr>ps://www.ncl.ucar.edu/<wbr>Applications/ESMF.shtml</a>. </div>
<div><br>
</div>
<div>I get the following error</div>
<div><br>
</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">sh: line 1: 33907 Abort trap: 6           ESMF_RegridWeightGen --help > /dev/null 2>&1</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)">
<span style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-m_3687136147828251995Apple-tab-span" style="white-space:pre-wrap">
</span>ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen executable.</span></div>
</div>
<div><br>
</div>
<div>and I don’t understand why. </div>
<div><br>
</div>
<div>I am trying to run the script using ncl version 6.5.0 (installed gcc-8) - but I had same problem with older ncl version (for which I had to load di ESFM_regrid module). </div>
<div><br>
</div>
<div>What I am doing wrong?</div>
<div><br>
</div>
<div>thanks,</div>
<div>M</div>
<div><br>
</div>
<div>
<div dir="auto" style="overflow-wrap: break-word;">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
******************************<wbr>******************************<wbr>******<br>
Michele Petrini, PhD </div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>
Department of Geoscience and Remote Sensing, TUDelft<br>
Delft, The Netherlands<br>
<br>
<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a> <br>
+39 3398367372<br>
michele.petrins (Skype alias)<br>
<br>
<br>
</div>
</div>
</div>
<br>
</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></div>