[gradsusr] how to create quantile scale

Huddleston, John Huddleston at cira.colostate.edu
Tue Sep 13 09:49:39 EDT 2011


Ondrej

Bernd is on track, here is an example where the lower (CLEVS) values from 0-1.0 are linear then there is a rapid change to get higher values that rarely appear.

'set rgb 16 0 0 165'
'set rgb 17 0 0 255'
'set rgb 18 0 65 255'
'set rgb 19 0 125 255'
'set rgb 20 0 190 255'
'set rgb 21 0 255 255'
'set rgb 22 66 255 189'
'set rgb 23 132 255 123'
'set rgb 24 205 255 50'
'set rgb 25 255 239 0'
'set rgb 26 255 175 0'
'set rgb 27 255 110 0'
'set rgb 28 255 46 0'
'set rgb 29 239 0 0'
'set rgb 30 165 0 0'
'set strsiz 0.12 0.12'
'set display color white'
'set gxout shaded'
'set parea 0.5 9.5 0.1 8.5'
'set csmooth on'
'set clevs 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.5 2.0 3.0 4.0'
'set ccols 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30'

You can see over 250,00 example images created with GrADS at  http://views.cira.colostate.edu/nasa/ using this color scheme.

John Huddleston

-----Original Message-----
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Becker, Bernd
Sent: Tuesday, September 13, 2011 6:46 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] how to create quantile scale

 
use
set clevs 10 20 30 40 etc
to choose your contour levels.
Hth.
Bernd

--
Bernd Becker   Climate Impacts Product Development
Met Office Hadley Centre    FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050 E-mail:bernd.becker at metoffice.gov.uk - http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decadal/bernd-becker
http://www.metoffice.gov.uk/news/releases/archive/2011/weather-game

-----Original Message-----
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Ondrej Vlcek
Sent: 13 September 2011 13:30
To: gradsusr at gradsusr.org
Subject: [gradsusr] how to create quantile scale

Dear GrADS users,
 I would like to create a quantile color legend in which all the colors would represent an equal area in the map. Up to now I have been using cbarn.gs which works fine, but there is a problem if the dataset has some large peak - then most of the map is plotted in the same color and that's something I would like to change...
Does anyone know about some already existing tool?

Regards,
Ondrej

-- 

! --- Prosím, chraňte životní prostředí - zvažte, jestli opravdu potřebujete
       vytisknout tento e-mail.
! --- Please consider the environment before deciding to print this email. 

--------------------------------------------------------------------------------------------------
Ondřej Vlček

Phone: +420 - 244 03 2488
E-mail: vlcek at chmi.cz

business address:
------------------------
CZECH HYDROMETEOROLOGICAL INSTITUTE
Air Quality Protection Division
Modelling and Expertize Pool Department
Na Sabatce 17
143 06 Praha 4 - Komorany
Czech Republic

pracovní adresa:
----------------------
ČESKÝ HYDROMETEOROLOGICKÝ ÚSTAV
Úsek ochrany čistoty ovzduší
Oddělení modelování a expertíz
Na Šabatce 17
143 06 Praha 4 - Komořany


_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list