[ncl-talk] regird a netcdf file from regular grids to fixed grids

Dennis Shea shea at ucar.edu
Mon Aug 19 09:32:43 MDT 2019


The question lacks the detail needed to answer in an meaningful way.
What do you mean by "*regular grid*" ?
A "regular" curvilinear grid or a "regular" rectilinear grid?
----
Did you look at any of the regrid examples/functions?

*rectilinear grid to a rectilinear grid*
*http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml*
<http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml>

*curvilinear grid to rectilinear grid*
*http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml*
<http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml>

*curvilinear to rectilinear or curvilinear*
*http://www.ncl.ucar.edu/Applications/ESMF.shtml*
<http://www.ncl.ucar.edu/Applications/ESMF.shtml>
*Examples 5, 16, 20, 22*


On Mon, Aug 19, 2019 at 8:25 AM Xueyan Zhang via ncl-talk <ncl-talk at ucar.edu>
wrote:

> Hello,
>
> 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.
>
> Thank you very much!
>
> Xueyan
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190819/90837b49/attachment.html>


More information about the ncl-talk mailing list