[gradsusr] Is there a way to restore the color to a constant field when plotting using gxout grfill?

Bob Kuligowski - NOAA Federal bob.kuligowski at noaa.gov
Wed Apr 30 11:11:28 EDT 2014


Davide--Your suggestion worked; thanks!

Jennifer--I couldn't get your suggestions to work in a script. However, 
I could get it to work in command line mode, but the selected color 
would display only if datawarn was set to *on*; if it was off then it 
plotted the background color field like before.  I'm not sure why that 
is, but thanks for your help also!

Cheers,
Bob

Davide--
> To control the color of the constant field, use 'set ccolor'. To 
> disable drawing of the constant color entirely, use 'set datawarn off'.
> --Jennifer
>
>
>
> On Apr 30, 2014, at 9:52 AM, Davide Sacchetti wrote:
>
>> the only trick I know is:
>> - understand if the field is constant or not (by set gxout stat: compare
>> min and max)
>> - if constant add a little varying field, eg.: if mslp is constant
>> display something like mslp +lon/10000
>>
>> its' not clean but it's what I'm doing ...
>> Davide
>>
>> On Wed, 2014-04-30 at 08:50 -0400, Bob Kuligowski - NOAA Federal wrote:
>>> All,
>>>
>>>     When GrADS plots a constant field usinggxout grfill it plots a
>>> blank (white) field instead of using the appropriate color. Is there a
>>> way to override this?  Thanks!
>>>
>>> Cheers,
>>>
>>
>> -- 
>> Davide Sacchetti
>> Centro Funzionale Meteo Idrologico di Protezione Civile della Regione 
>> Liguria
>> ARPAL Unità Tecnica Complessa di livello Regionale
>> V.le Brigare Partigiane 2 16121 Genova (I)
>> tel: +39 010 6437535                    fax: +39 010 6437520
>> mail: davide.sacchetti at arpal.gov.it 
>> <mailto:davide.sacchetti at arpal.gov.it>     web: www.meteoliguria.it 
>> <http://www.meteoliguria.it>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>> http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Jennifer M. Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> 111 Research Hall, Mail Stop 2B3
> George Mason University
> 4400 University Drive
> Fairfax, VA 22030
>
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr


-- 
Bob Kuligowski, Ph.D.
Meteorologist
NOAA/NESDIS/Center for Satellite Applications and Research (STAR)

Mailing Address:
National Oceanic and Atmospheric Administration
NESDIS STAR/SMCD
Bob Kuligowski
NCWCP E/RA2
5830 University Research Court
2nd Floor, Office #2828
College Park, MD 20740-3818

Phone:  (301) 683-3593
Fax  :  (301) 683-3616

http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php
http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140430/58e27533/attachment-0001.html 


More information about the gradsusr mailing list