<div dir="ltr"><div>The question lacks the detail needed to answer in an meaningful way.</div><div>What do you mean by "<b>regular grid</b>" ? <font size="4"><br></font></div><div><font size="2">A "regular" curvilinear grid or a "regular" rectilinear grid?</font></div><div>----</div><div>Did you look at any of the regrid examples/functions?</div><div><br></div><div><b>rectilinear grid to a rectilinear grid</b><br></div><div><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml"><b>http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml</b></a></div><div><br></div><div><b>curvilinear grid to rectilinear grid</b><br></div><div><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml"><b>http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml</b></a></div><div><br></div><div><b>curvilinear to rectilinear or curvilinear</b><br></div><div><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml"><b>http://www.ncl.ucar.edu/Applications/ESMF.shtml</b></a></div><div><b>Examples 5, 16, 20, 22</b><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 19, 2019 at 8:25 AM Xueyan Zhang via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@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 dir="ltr"><font size="4">Hello,</font><div><font size="4"><br></font></div><div><font size="4">I have a netcdf file including variables with regular grids. It has lat/lon dimension, but the spacing is not uniform with a resolution of 4km. The range of lat is [24.0833......49.9167], and the range of lon is [-125.....-66.5]. I want to regrid it into a resolution of 0.125 degrees with a new lat [25.0625...52.9375] and lon [-124.938...-100.062] ranges.</font></div><div><font size="4"><br></font></div><div><font size="4">Thank you very much!</font></div><div><font size="4"><br></font></div><div><font size="4">Xueyan</font></div><div><br></div></div>
_______________________________________________<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></blockquote></div>