[ncl-talk] Convert lambert to regular lat-lon
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Thu Dec 22 13:53:06 MST 2022
For changing the plot, do not transform or regrid the data. Continue to
pass data and coordinates to the plot functions, exactly as done in your
original version.
Just use resource mpProjection to switch to one of the many other supported
plot projections. Also you may need to change mpLimitMode and set some
related resources for the desired visible plot boundaries. Note that the
best type of mpLimitMode and related limits changes for different plot
projections.
For lat-lon, check out cylindrical equidistant vs. cylindrical equal area.
To start, look at "Map Only" example 2, which uses one of the cylindricals
by default.
On Thu, Dec 22, 2022 at 1:13 PM Debasish Hazra <debasish.hazra5 at gmail.com>
wrote:
> Thanks Dave. I will try to do the second one first, attached script puts
> together lambert and regular grid plot side by side and not able to put
> them in same size. Not sure how to control that.
>
> Debasish
>
> On Thu, Dec 22, 2022 at 2:43 PM Dave Allured - NOAA Affiliate <
> dave.allured at noaa.gov> wrote:
>
>> Do you mean regridding, i.e. transforming data grids; or do you want to
>> change the way a plot looks? If the first one, please see Regridding on
>> the Examples page.
>>
>>
>> On Thu, Dec 22, 2022 at 12:24 PM Debasish Hazra via ncl-talk <
>> ncl-talk at mailman.ucar.edu> wrote:
>>
>>> Hello All,
>>> Is there any way NCL can convert lambert conformal to regular lat-lon or
>>> vice-versa. Any function or example someone can point to, will be
>>> appreciated.
>>>
>>> Thanks
>>> Debasish
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20221222/ef48da7a/attachment.htm>
More information about the ncl-talk
mailing list