[gradsusr] [Bug report] gxout shape in -poly mode does not honor clevs or cint

Stefan Gofferje stefan at saakeskus.fi
Fri Jun 28 10:46:40 EDT 2019


I mixed things again in the email. Of course the first should be

'set gxout shp'
'set shp -poly /tmp/grads-tmp'
'set clevs 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 
1500 1750 2000 2250 2500 2750 3000 3250 3500'
'd capesfc'

Copied the wrong test script to the mail.


-- 
Suomen Sääkeskus - Hyvä sää on makuasia

http://www.saakeskus.fi/
stefan at saakeskus.fi
On 6/28/19 2:09 PM, Stefan Gofferje wrote:
> Hi Jennifer,
> 
> you are right, I confused them in the email. But not in the script. When 
> I open a poly shapefile drawn with
> 
> 'set gxout shp'
> 'set shp -line /tmp/grads-tmp'
> 'set clevs 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 
> 1500 1750 2000 2250 2500 2750 3000 3250 3500'
> 'd capesfc'
> 
> When opening the shapefile then in QGIS, QGIS gives me the following 
> description of the features:
> 
> Index MIN_VALUE MAX_VALUE
> 0     -100.0     200.0
> 1      200.0     400.0
> 2      400.0     600.0
> 3      600.0     700.0
> 4      700.0     900.0
> 5      900.0    1100.0
> 6     1100.0    1300.0
> 7     1300.0    1500.0
> 8     1500.0    2000.0
> 9     2000.0    2250.0
> 10    2250.0    2750.0
> 11    2750.0    3250.0
> 12    3250.0    4778.0
> 
> When opening a line shapefile, I get CNTR_VALUEs exactly according to 
> the clevs.
> 
> Shapefiles:
> Poly: https://www.saakeskus.fi/data/capesfc-100.zip
> Line: https://www.saakeskus.fi/data/capesfcline-100.zip
> 
> BR:Stefan
> 



More information about the gradsusr mailing list