[ncl-talk] problem to plot raster mode
Vanúcia Schumacher
vanucia-schumacher at hotmail.com
Wed Jul 17 08:49:41 MDT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefile_mask_data_mod.ncl
Type: application/octet-stream
Size: 10422 bytes
Desc: shapefile_mask_data_mod.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot.ncl
Type: application/octet-stream
Size: 3205 bytes
Desc: plot.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: off-raster.png
Type: image/png
Size: 47616 bytes
Desc: off-raster.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Universidad-polygon.shx
Type: application/octet-stream
Size: 108 bytes
Desc: Universidad-polygon.shx
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Universidad-polygon.shp
Type: application/octet-stream
Size: 3404 bytes
Desc: Universidad-polygon.shp
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Universidad-polygon.prj
Type: application/octet-stream
Size: 143 bytes
Desc: Universidad-polygon.prj
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Universidad-polygon.dbf
Type: application/x-dbf
Size: 300 bytes
Desc: Universidad-polygon.dbf
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Universidad-polygon.cpg
Type: application/octet-stream
Size: 5 bytes
Desc: Universidad-polygon.cpg
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0012.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tsurf_2013_09_26_03_step_1209.asc
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefile_utils.ncl
Type: application/octet-stream
Size: 19859 bytes
Desc: shapefile_utils.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixels_cuenca.png
Type: image/png
Size: 66909 bytes
Desc: pixels_cuenca.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/0dd37b7c/attachment-0003.png>
More information about the ncl-talk
mailing list