[ncl-talk] 2-d lat lon

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Mon Aug 17 11:35:13 MDT 2026


NCL can directly plot data with 2-D coordinates, with best-quality
results.  Do not try to convert coordinates to 1-D before plotting, because
that code is more complicated and results in a lower-quality plot.  Please
see several "curvilinear grid" examples on this page:

     https://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml

Also avoid "native grid" plots in the examples, unless you fully understand
how they work.  Also avoid all forms of regridding.


On Mon, Aug 17, 2026 at 6:10 AM Debasish Hazra via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hi,
> I am trying to read a file which has latitude and longitude in 2
> dimensions. I am using lat2d and lon2d to read it, but getting an error
> while trying to assign the coordinates to  the variable of interest and
> plot.Attached is ncl script and output in text,  Any help on this is
> appreciated.
> Thanks
> Debasish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20260817/5f7a63c0/attachment.htm>


More information about the ncl-talk mailing list