[ncl-talk] 2-d lat lon

Debasish Hazra debasish.hazra5 at gmail.com
Sat Aug 22 09:17:08 MDT 2026


Thanks Dave, it worked.

On Mon, Aug 17, 2026 at 1:35 PM Dave Allured - NOAA Affiliate <
dave.allured at noaa.gov> wrote:

> 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/20260822/a257a7ed/attachment.htm>


More information about the ncl-talk mailing list