[gradsusr] About set shp -poly

yaqiang.wang at gmail.com yaqiang.wang at gmail.com
Fri Oct 21 02:22:25 EDT 2016


Hi Guilong,

Please look at the end of this webpage for caveat of GrADS on polygon shapes: http://cola.gmu.edu/grads/gadoc/gadocindex.html.

Regards
Yaqiang


*************************************************
Dr. Yaqiang Wang
Chinese Academy of Meteorological Sciences (CAMS)
46, Zhong-Guan-Cun South Avenue
Beijing, 100081
China
             
yaqiang.wang at gmail.com

http://www.meteothinker.com
https://www.researchgate.net/profile/Yaqiang_Wang5
**************************************************
 
From: Li, Guilong (EC)
Date: 2016-10-21 03:16
To: gradsusr at gradsusr.org
Subject: [gradsusr] About set shp -poly
Hi Everyone,
 
I want to use GrADS polygon with color filled (shaded format) to generate shapefile in order to put it in ArcGIS. For points and lines, shapefile works well. But polygon has some problems.
 
Here is the code, I use GrADS 2.1.a3
 
'reinit'
'sdfopen ensmedium_climatology.nc'
'set grads off'
'set grid off'
filename='cdd_2090s'
'set gxout shp'
'set shp -poly 'filename
'd (cd3-cd0)'
'draw shp 'filename
 
And generated figure
 
There are a lot of vertical lines in each polygon. When I want to fill each polygon as a color (use set shpopts colornumber), all polygons are filled in one color.
 
So my questions are 1) how to remove these vertical lines 2) how to fill in different colors for different polygons.
 
Thanks,
 
Guilong
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161021/9081dee0/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 119422 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20161021/9081dee0/attachment-0001.png 


More information about the gradsusr mailing list