[gradsusr] Strange issues with GRADS displaying a value of 100% across small grid

Howard Staines rossby at rossby.co.nz
Thu Sep 19 14:28:22 EDT 2019


Hi Davide

The area you are displaying is a 220km x 110km roughly ... it could be very cloudy?

-----Original Message-----
From: gradsusr <gradsusr-bounces at gradsusr.org> On Behalf Of Davide Sacchetti
Sent: Friday, September 20, 2019 4:04 AM
To: gradsusr at gradsusr.org
Subject: Re: [gradsusr] Strange issues with GRADS displaying a value of 100% across small grid

it's simple
don't get lost in your script, just open the file and display the field. You'll get:

ga-> display TCDCclm
Cannot contour grid - all undefined values 
ga-> 

so data are not defined
bye
Davide


On Thu, 2019-09-19 at 17:07 +1000, Mike Manning wrote:
> Hi guys,
>  
> I have a very strange issue with Grads (all versions).  I have the 
> following grads script which you can test below:
>  
> 'sdfopen
> https://nomads.ncep.noaa.gov:9090/dods/gfs_0p25_1hr/gfs20190919/gfs_0p25_1hr_00z'
> 'set t 47'
> 'set lon 151 153'
> 'set lat -29 -28'
>  
> 'set rgb 45 254 254 254'
> 'set rgb 46 0 70 255'
> 'set rgb 48 40 100 255'
> 'set rgb 50 80 130 255'
> 'set rgb 52 120 160 255'
> 'set rgb 54 160 190 255'
> 'set rgb 56 200 220 255'
> 'set rgb 58 240 250 255'
> 'set rgb 60 255 205 95'
> 'set rgb 62 255 155 45'
> 'set rgb 63 255 130 20'
> 'set rgb 64 255 105 0'
> 'set rgb 65 255 80 0'
> 'set rgb 66 255 55 0'
> 'set rgb 67 255 30 0'
> 'set rgb 68 255 5 0'
> 'set rgb 69 230 0 0'
> 'set rgb 70 205 0 0'
> 'set rgb 71 185 0 0'
> 'set rgb 72 160 0 0'
> 'set rgb 73 135 0 0'
>  
> 'set clevs 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 
> 100'
> 'set ccols 45 46 48 50 52 54 56 58 60 62 63 64 65 66 67 68 69 70 71
> 72 73'
>  
> 'set gxout shaded'
> 'set csmooth on'
> 'set cmin 5'
> 'set cmax 100'
> 'display TCDCclm'
>  
> 'printim cloudtotal.png white'
> 'quit'
>  
> This doesn’t seem to display anything at all except a white image..
> if you change the lon from ‘set lon 151 153’ to ‘set lon 151 154’
> then it works fine as it has more than 1 value.. it’s like Grads 
> doesn’t like a value of 100? I’m sure I’ve set my ccols and clevs 
> correctly.
>  
> Cheers, Mike
> _______________________________________________
> 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