[ncl-talk] using shapefile to mask out values

dream916 dream916 at gmail.com
Fri Oct 24 15:33:35 MDT 2014


Dear All,

I tried to use a China shapefile to mask out values outside of China for a
crop dataset. I found that some values inside were also masked out. I
attached the screenshot of the shapefile, a pdf file showing the output
(top) and the original data (bottom), and my ncl code.  After masking, some
pixels inside China were assigned missing value. Any suggestions? Thank you,

Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141024/1ce21a0b/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10-24-2014 5-22-05 PM.jpg
Type: image/jpeg
Size: 21136 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141024/1ce21a0b/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glcrop_example3.pdf
Type: application/pdf
Size: 740415 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141024/1ce21a0b/attachment-0001.pdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_Cropland.ncl
Type: application/octet-stream
Size: 4277 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141024/1ce21a0b/attachment-0001.obj 


More information about the ncl-talk mailing list