<div dir="ltr">Linux <a href="http://killdevil-login2.kd.unc.edu">killdevil-login2.kd.unc.edu</a> 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux<div><br><div><div>gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)</div><div>Copyright (C) 2006 Free Software Foundation, Inc.</div><div>This is free software; see the source for copying conditions. There is NO</div><div>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-18 22:58 GMT+08:00 Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What do the following return?<br><br><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
uname -a</div><div class="gmail_default" style="font-size:small">gcc --version</div><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 18, 2016 at 8:19 AM, Ciao Kai Liang <span dir="ltr"><<a href="mailto:ciaokailiang@gmail.com" target="_blank">ciaokailiang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Dennis <div><br></div><div>Thank you so much for providing this script for me. However, I encounter the following message. Do you know what it means? It seems I can't load libgfortran.so.3. </div><div> </div><div><div>ESMF_RegridWeightGen: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory</div><div>fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function</div><div>fatal:["Execute.c":8128]:Execute: Error occurred at or near line 2291 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div><div><br></div><div>fatal:["Execute.c":8128]:Execute: Error occurred at or near line 3166 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-12 21:22 GMT+08:00 Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Forgot:<br><br>[1] the last graphics should be 'png'<br><br></div>[2] the script also (optionally) writes a netCDF of the regridded data<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 12, 2016 at 7:18 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Certainly the CDO are an option.<br><br>==<br></div>There seems to be a bug: area_conserve_remap_Wrap<br>===<br></div>See attached. It uses ESMF conservative regridding<br><br></div>This produces graphics and a weight file that could be used for other similar regridding<br></div>Change "x11" to "ps", "pdf" or "pdf" as you see fit<br><br></div>Good luck<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 11, 2016 at 12:56 AM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</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">Hey Ciao, <div>I never used NCL to remap. I would suggest you to try cdo, which has many option for mapping different grids, if you still have problems with NCL. See here : <a href="https://www.rsmas.miami.edu/users/rajib/cdo.pdf" target="_blank">https://www.rsmas.miami.edu/users/rajib/cdo.pdf</a> (section remapnn or remapdis)</div><div>Cheers<br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>Guido Cioni</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista.org" target="_blank">http://guidocioni.altervista.org</a> </div>
</div>
<br><div><blockquote type="cite"><div><div><div>On 10 Jun 2016, at 15:39, Ciao Kai Liang <<a href="mailto:ciaokailiang@gmail.com" target="_blank">ciaokailiang@gmail.com</a>> wrote:</div><br></div></div><div><div><div><div dir="ltr">Hi, <div>I'm in attempt to regrid <span style="font-family:Calibri,sans-serif;font-size:16px">144x91 to 360x720 (0.5x0.5) by using</span> <span style="font-size:12pt;font-family:Calibri,sans-serif" lang="EN-US">NCL’sarea_conserve_remap
function. I get the error message and have no idea how to solve it. </span></div><div><span style="font-size:12pt;font-family:Calibri,sans-serif" lang="EN-US"><p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">Error in "cremapbin":</span></p><p class="MsoNormal"><span lang="EN-US">Could not map global lat array into grid
array</span></p></span></div><div><div><br></div><div>I check my input file which contains lon:valid_range = -180., 177.5 (144) and lat
: valid_range = -89.5, 89.5 (91). It should be global-based grid file.</div><div><br></div><div>I attached my script and associated file for reference. </div><div><span lang="EN-US"></span><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>---------------------------------------------------------------------------------------------------------</div>CiaoKai Liang<div><a href="tel:919-808-8069" value="+19198088069" target="_blank">919-808-8069</a></div><div><a href="mailto:ckliang@live.unc.edu" target="_blank">ckliang@live.unc.edu</a></div><div>University of North Carolina, Gillings School of Global Public Health<br>170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC 27599-7400</div><div>------------------------------------------------------------------------------------------------------------</div><div><br></div></div></div>
</div></div>
</div></div><span><input_144X91.nc></span><span><output_360X720.nc></span><span><regrid.ncl></span>_______________________________________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div></blockquote></div><br></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>---------------------------------------------------------------------------------------------------------</div>CiaoKai Liang<div><a href="tel:919-808-8069" value="+19198088069" target="_blank">919-808-8069</a></div><div><a href="mailto:ckliang@live.unc.edu" target="_blank">ckliang@live.unc.edu</a></div><div>University of North Carolina, Gillings School of Global Public Health<br>170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC 27599-7400</div><div>------------------------------------------------------------------------------------------------------------</div><div><br></div></div></div>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>---------------------------------------------------------------------------------------------------------</div>CiaoKai Liang<div>919-808-8069</div><div><a href="mailto:ckliang@live.unc.edu" target="_blank">ckliang@live.unc.edu</a></div><div>University of North Carolina, Gillings School of Global Public Health<br>170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC 27599-7400</div><div>------------------------------------------------------------------------------------------------------------</div><div><br></div></div></div>
</div>