<div dir="ltr"><div>Forgot:<br><br>[1] the last graphics should be &#39;png&#39;<br><br></div>[2] the script also (optionally) writes a netCDF of the regridded data<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 12, 2016 at 7:18 AM, Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</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 &quot;x11&quot; to &quot;ps&quot;, &quot;pdf&quot; or &quot;pdf&quot; as you see fit<br><br></div>Good luck<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 11, 2016 at 12:56 AM, Guido Cioni <span dir="ltr">&lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt;</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 &lt;<a href="mailto:ciaokailiang@gmail.com" target="_blank">ciaokailiang@gmail.com</a>&gt; wrote:</div><br></div></div><div><div><div><div dir="ltr">Hi, <div>I&#39;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 &quot;cremapbin&quot;:</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>&lt;input_144X91.nc&gt;</span><span>&lt;output_360X720.nc&gt;</span><span>&lt;regrid.ncl&gt;</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>