Shading Undefined Values

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Fri Feb 9 03:13:45 EST 2007


grads can't display undef values by definition of "undefined value" ...

if you wish to display undefined values a chance is:
suppose you know that your data are all positive or undefined (ex
temperature in K),
'set clevs -5'
'set ccols 2 0'
'display const(yourdata,-10,-u)

it should work
bye bye
Davide

On Fri, 2007-02-09 at 08:05 +0100, Gregory Clarke wrote:
> Good Day All,
>
> I would like to know if it is possible to shade the areas of gridded data
> that are undefined.
>
> I have the the following line in my control file...
>
> undef -99999
>
> If I try to set the contour values in the script to work with this value,
> GrADS does not shade the area; e.g.
>
> 'set cmin -100000'
> 'set cmax -99990'
> 'set cint 1'
> 'd myvar'
>
> I have gone through the GrADS manual and archive, and at the moment the
> only possible way is to "define" the undefined area with some loop testing
> the value at each grid point, and then plotting the redefined variable.
>
> Any suggestions will be greatly appreciated.
>
> Kind regards
> Greg Clarke
> Support: OMAA
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list