[ncl-talk] Require ncl to consider data outside plot domain

Adam Phillips asphilli at ucar.edu
Mon Sep 18 15:57:13 MDT 2017


Hi Zachary,
NCL will only color a grid box (when cnFillMode = "AreaFill"; the default)
if a fair number of surrounding points have valid values. This allows NCL
to draw the filled fields with slightly smoothed contours, taking into
account the values of the surrounding grid boxes. If instead, you want NCL
to color each grid box individually, and not taking into account the
neighboring grid boxes, you should set cnFIllMode = "RasterFill".

If this is not what you are looking for let the ncl-talk email list know.
Adam

On Sun, Sep 17, 2017 at 1:15 AM, FUNG Yik Him, Zachary <yik_him at yahoo.com.hk
> wrote:

> Hello all,
>
> I wish to make a color-filled contour plot with ncl and the given data-set
> spreads on an area much larger my plot domain (but they are quite
> scattered).
>
> I tried to set "mpLimitMode" to "Corners" to limit the plot area. However,
> seems that ncl is not considering points outside my plot domain when I am
> using gsn_csm_contour_map so there is a large area near boundary considers
> as no data.
>
> May I know if there is any way to force ncl to consider also data lying
> outside my plot domain (but cut the unwanted part at the last stage)?
>
> Thanks,
> Zachary
>
> .
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>



-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170918/b51c75d4/attachment.html>


More information about the ncl-talk mailing list