[gradsusr] Color bar

Rodney.Teck at nuim.ie Rodney.Teck at nuim.ie
Tue Jun 19 09:20:53 EDT 2012


Hi Emma

I'm not sure but I think that clevs has to be one-less than ccols.  That is if you have 8 clevs you need 9 ccols ( put a 0 in the middle of your ccols list) might help.

Try it

Rod

----- Original Message -----
From: EMMA SCANLON <EMMA.SCANLON.2012 at nuim.ie>
Date: Tuesday, June 19, 2012 1:05 pm
Subject: [gradsusr] Color bar
To: gradsusr at gradsusr.org

> I just have a question regarding a color bar showing contours for wind speed in GrADS. 
> I've been using the following commands
>  "ga-> set gxout contour> ga-> set clevs 4 6 8 10 12 14 16 18> Number of clevs = 8 > ga-> set ccols 9 14 11 13 10 12 2 6> Number of ccols = 8> ga-> set cstyle 2> cstyle = 2 > ga-> set cthick 4> cthick = 4 > ga-> d wspd> Contouring at clevs =  4 6 8 10 12 14 16 18> ga-> d contours> Syntax Error:  Invalid Operand" 
> 
> However, it's not displaying the color bar. Am I doing something wrong with the "cstyle" or "cthick" 
> 
> Any advice would be greatly appreciated.
> 
> Emma. 

> 
> ----- Original Message -----
> From: EMMA SCANLON <EMMA.SCANLON.2012 at nuim.ie>
> Date: Tue, 19 Jun 2012 11:04:23 +0100
> Subject: Re: Opening netcdf
> To: esrl.psd.data at noaa.gov
> 
> I just have a question regarding a color bar showing contours for wind speed in GrADS. 
> I've been using the following commands
>  "ga-> set gxout contour> ga-> set clevs 4 6 8 10 12 14 16 18> Number of clevs = 8 > ga-> set ccols 9 14 11 13 10 12 2 6> Number of ccols = 8> ga-> set cstyle 2> cstyle = 2 > ga-> set cthick 4> cthick = 4 > ga-> d wspd> Contouring at clevs =  4 6 8 10 12 14 16 18> ga-> d contours> Syntax Error:  Invalid Operand" 
> 
> However, it's not displaying the color bar. Am I doing something wrong with the "cstyle" or "cthick" 
> 
> Any advice would be greatly appreciated.
> 
> Emma. 
> 
> 
> 
> 
> ----- Original Message -----
> From: esrl.psd.data at noaa.gov
> Date: Wednesday, June 6, 2012 1:03 pm
> Subject: Re: Opening netcdf
> To: EMMA.SCANLON.2012 at nuim.ie
> Cc: esrl.psd.data at noaa.gov
> 
> > Emma Scanlon,
> > 
> > The GrADS command you need to be using on these files is "sdfopen",
> > not "open".
> > 
> > Good luck with your research.
> > 
> > On 06/06/2012 05:39 AM, EMMA SCANLON wrote:
> > > Hello,
> > >
> > > I'm currently conducting a thesis showing the changes in SST 
> > along the
> > > west coast of Ireland. As part of my research I am using SST data
> > > gathered from the ICOADS. As part of this I am using ubuntu 
> > and GrADS to
> > > interpret the data.
> > > I'm having some issues opening the SST .nc files within this.
> > > When in grads I am using the command "ga-> open sst.mean.nc" 
> > (bearing in
> > > mind I am in the correct directory)
> > >
> > > The following message is showing : canning description file: 
> > sst.mean.nc> Open Error: Unknown keyword in description file
> > > --> The invalid description file record is:
> > > --> CDF
> > > The data file was not opened.
> > > I know this may be a little out of your way to assist me on 
> > this topic
> > > but any information/help would be greatly appreciated.
> > >
> > > Kind regards,
> > >
> > > Emma Scanlon.
> > 
> > -- 
> > Don Hooper, replying for esrl.psd.data at noaa.gov.
> > Please don't over-ride the Reply-To: address; I
> > read esrl.psd.data at noaa.gov, too. > _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120619/9f1e741f/attachment-0003.html 


More information about the gradsusr mailing list