Hi Emma<br><br>I'm not sure but I think that clevs has to be one-less than ccols.&nbsp; That is if you have 8 clevs you need 9 ccols ( put a 0 in the middle of your ccols list) might help.<br><br>Try it<br><br>Rod<br><br>----- Original Message -----<br>From: EMMA SCANLON &lt;EMMA.SCANLON.2012@nuim.ie&gt;<br>Date: Tuesday, June 19, 2012 1:05 pm<br>Subject: [gradsusr] Color bar<br>To: gradsusr@gradsusr.org<br><br><font face="'PrimaSans BT,Verdana,sans-serif'"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>I just have a question regarding a color bar showing contours for wind speed in GrADS. <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>I've been using the following commands<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&nbsp;"<span style="font-style: italic;">ga-&gt; set gxout contour</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set clevs 4 6 8 10 12 14 16 18</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Number of clevs = 8 </span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set ccols 9 14 11 13 10 12 2 6</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Number of ccols = 8</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set cstyle 2</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>cstyle = 2 </span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set cthick 4</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>cthick = 4 </span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; d wspd</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Contouring at clevs =&nbsp; 4 6 8 10 12 14 16 18</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; d contours</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Syntax Error:&nbsp; Invalid Operand" </span><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>However, it's not displaying the color bar. Am I doing something wrong with the "cstyle" or "cthick" <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Any advice would be greatly appreciated.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Emma. <br></font><br>&gt; <br>&gt; ----- Original Message -----<br>&gt; From: EMMA SCANLON &lt;EMMA.SCANLON.2012@nuim.ie&gt;<br>&gt; Date: Tue, 19 Jun 2012 11:04:23 +0100<br>&gt; Subject: Re: Opening netcdf<br>&gt; To: esrl.psd.data@noaa.gov<br>&gt; <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>I just have a question regarding a color bar showing contours for wind speed in GrADS. <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>I've been using the following commands<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&nbsp;"<span style="font-style: italic;">ga-&gt; set gxout contour</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set clevs 4 6 8 10 12 14 16 18</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Number of clevs = 8 </span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set ccols 9 14 11 13 10 12 2 6</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Number of ccols = 8</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set cstyle 2</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>cstyle = 2 </span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; set cthick 4</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>cthick = 4 </span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; d wspd</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Contouring at clevs =&nbsp; 4 6 8 10 12 14 16 18</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>ga-&gt; d contours</span><br style="font-style: italic;"><span style="font-style: italic;"><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Syntax Error:&nbsp; Invalid Operand" </span><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>However, it's not displaying the color bar. Am I doing something wrong with the "cstyle" or "cthick" <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Any advice would be greatly appreciated.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Emma. <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>----- Original Message -----<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>From: esrl.psd.data@noaa.gov<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Date: Wednesday, June 6, 2012 1:03 pm<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Subject: Re: Opening netcdf<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>To: EMMA.SCANLON.2012@nuim.ie<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>Cc: esrl.psd.data@noaa.gov<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font><br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; Emma Scanlon,<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; The GrADS command you need to be using on these files is "sdfopen",<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; not "open".<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; Good luck with your research.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; On 06/06/2012 05:39 AM, EMMA SCANLON wrote:<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; Hello,<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt;<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; I'm currently conducting a thesis showing the changes in SST <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; along the<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; west coast of Ireland. As part of my research I am using SST data<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; gathered from the ICOADS. As part of this I am using ubuntu <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; and GrADS to<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; interpret the data.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; I'm having some issues opening the SST .nc files within this.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; When in grads I am using the command "ga-&gt; open sst.mean.nc" <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; (bearing in<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; mind I am in the correct directory)<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt;<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; The following message is showing : canning description file: <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; sst.mean.nc&gt; Open Error: Unknown keyword in description file<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; --&gt; The invalid description file record is:<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; --&gt; CDF<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; The data file was not opened.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; I know this may be a little out of your way to assist me on <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; this topic<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; but any information/help would be greatly appreciated.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt;<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; Kind regards,<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt;<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; &gt; Emma Scanlon.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; -- <br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; Don Hooper, replying for esrl.psd.data@noaa.gov.<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; Please don't over-ride the Reply-To: address; I<br><font style="font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240); font-size: 14px;">&gt; </font>&gt; read esrl.psd.data@noaa.gov, too. &gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; gradsusr@gradsusr.org<br>&gt; http://gradsusr.org/mailman/listinfo/gradsusr