New Release 2.0.a7
climate karsaz
climate.karsaz at GMAIL.COM
Mon Aug 10 10:49:23 EDT 2009
hello
oh my god
very very thanks.
fine thanks.
heOn Mon, Aug 10, 2009 at 5:23 PM, Jennifer Adams <jma at cola.iges.org> wrote:
>
> On Aug 10, 2009, at 3:55 AM, Jennifer Faber wrote:
>
> Hi Jennifer
>
> I was wondering if you and your team are considering adding a feature fto
> GrADS to colour station value according to their value.
> Until so far there was been no good solution to my problem.
>
>
> Here is a script fragment I composed, followed by the image output. I think
> this is what you are trying to do...
>
> 'set lat 22 55'
> 'set lon -130 -60'
> var = 'ts'
> levs = '-15 -10 -5 0 5 10 15'
> cols = '9 4 5 3 7 8 2 6'
> ncols=8
> c=1
> while (c<=ncols)
> col=subwrd(cols,c)
> maxlev=subwrd(levs,c)
> if (c>1)
> minlev=subwrd(levs,c-1)
> endif
> 'set ccolor 'col
> 'set gxout value'
> 'set stat on'
> if (c=1)
> belowmax='(maskout('var',('maxlev'-0.0001)-'var'))'
> 'd 'belowmax
> else
> minandabove='(maskout('var','var'-('minlev')))'
> if (c=ncols)
> 'd 'minandabove
> else
> belowmax='maskout('minandabove',('maxlev'-0.0001)-'minandabove')'
> 'd 'belowmax
> endif
> endif
> c=c+1
> endwhile
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090810/0e2a9e03/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 20490 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090810/0e2a9e03/attachment.png
More information about the gradsusr
mailing list