[ncl-talk] problem to plot raster mode

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Wed Jul 17 10:02:20 MDT 2019


Using this resource I get the same result if I do not use the RasterFill, that is, I do not have full shapefile area filling.

Thank you anyway
________________________________
De: Rick Brownrigg <brownrig at ucar.edu>
Enviado: quarta-feira, 17 de julho de 2019 12:39
Para: Vanúcia Schumacher
Cc: ncl-talk at ucar.edu
Assunto: Re: [ncl-talk] problem to plot raster mode

HI,

With that coarse of resolution of the data, its going to be tough to get a really good looking result. You might try using RasterFill and setting the resource cnRasterSmoothingOn = True:

    http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnRasterSmoothingOn

Rick

On Wed, Jul 17, 2019 at 8:50 AM Vanúcia Schumacher via ncl-talk <ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>> wrote:
Hi users,

I'm trying to plot a spatial graph from raster data (mask) using shapefile.
The problem is that I was able to only plot 34 pixels inside the shapefile area, using cnFillMode = "RasterFill".
However, I would like to not use this command (raster fill) and get a spatial graph better defined inside the shapefile, or increase the number of pixels within the area shapefile, with a better contour. But I am not getting a good result (see figure off_raster).

Attached follows the data and script.
Thanks any help

_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto: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/20190717/b29c011a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delta_kilometers_off-raster.png
Type: image/png
Size: 68772 bytes
Desc: delta_kilometers_off-raster.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/b29c011a/attachment.png>


More information about the ncl-talk mailing list