Hi Emma,<br><br><span id="result_box" class="" lang="en"><span class="hps">Usually when</span> <span class="hps">we use the</span> <span class="hps">color bar to</span> <span class="hps atn">the command "</span><span>set gxout</span> <span class="hps">shaded</span><span>", then</span> <span class="hps">"set</span> <span class="hps">gxout contour</span><span>" to</span> <span class="hps">put values</span> <span class="hps">on the boundary</span><span class="">.</span></span><br>
<br><span id="result_box" class="" lang="en"><span class="hps atn">usually "</span><span class="">ccols</span><span>"</span> <span class="hps">is greater than the</span> <span class="hps atn">"</span><span>clevs</span><span>", example:<br>
</span></span><font face="'PrimaSans BT,Verdana,sans-serif'"><span style="font-style:italic">set clevs 4 6 8 10 12 14 16 18 (8)<br></span></font><font face="'PrimaSans BT,Verdana,sans-serif'"><span style="font-style:italic">set ccols 9 14 11 13 10 12 2 6 4 (9)</span></font><br>
<span id="result_box" class="" lang="en"><span></span> <span class="hps">to enter the</span> <span class="hps atn">"</span><span>CBAR</span><span>"</span> <span class="hps">is</span> <span class="hps">necessary to put the</span> <span class="hps atn">"</span><span>RUN"</span><br>
<span class="hps">example:</span> <span class="hps">'run</span> <span class="hps"><a href="http://cbarn.gs">cbarn.gs</a></span> <span class="hps">0.8</span> <span class="hps">0.0</span><span class="">'</span></span><br>
<br><br><span id="result_box" class="short_text" lang="en"><span class="hps">general example</span><span class="">:<br>'define temp=tsh-273.16'<br>'set cint 1'<br>'set gxout shaded'<br>'set csmooth on'<br>
'set clevs -5 -3 -1 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36'<br>'set ccols 0 9 14 49 48 47 46 45 44 43 42 41 40 20 21 22 23 24 25 26 27 28 29'<br>'d temp'<br>'set ccolor 1'<br>
'set gxout contour'<br>'set clevs -5 -3 -1 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36'<br>'d temp'<br>'run /home/meteop/rafael/reanalysis/<a href="http://cbarn_new.gs">cbarn_new.gs</a> 0.8 0.0'<br>
</span></span><br>Cheers!<br><br>-- <br>Rafael Censi Borges<br>Meteorologia - Epagri/Ciram<br>+55 (48)3239-8064/8066<br><a href="http://ciram.epagri.sc.gov.br" target="_blank">http://ciram.epagri.sc.gov.br</a><br><br><br>
<br><br><div class="gmail_quote">2012/6/19 EMMA SCANLON <span dir="ltr"><<a href="mailto:EMMA.SCANLON.2012@nuim.ie" target="_blank">EMMA.SCANLON.2012@nuim.ie</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="'PrimaSans BT,Verdana,sans-serif'">I just have a question regarding a color bar showing contours for wind speed in GrADS. <br>I've been using the following commands<br> "<span style="font-style:italic">ga-> set gxout contour</span><br style="font-style:italic">
<span style="font-style:italic">ga-> set clevs 4 6 8 10 12 14 16 18</span><br style="font-style:italic"><span style="font-style:italic">Number of clevs = 8 </span><br style="font-style:italic"><span style="font-style:italic">ga-> set ccols 9 14 11 13 10 12 2 6</span><br style="font-style:italic">
<span style="font-style:italic">Number of ccols = 8</span><br style="font-style:italic"><span style="font-style:italic">ga-> set cstyle 2</span><br style="font-style:italic"><span style="font-style:italic">cstyle = 2 </span><br style="font-style:italic">
<span style="font-style:italic">ga-> set cthick 4</span><br style="font-style:italic"><span style="font-style:italic">cthick = 4 </span><br style="font-style:italic"><span style="font-style:italic">ga-> d wspd</span><br style="font-style:italic">
<span style="font-style:italic">Contouring at clevs = 4 6 8 10 12 14 16 18</span><br style="font-style:italic"><span style="font-style:italic">ga-> d contours</span><br style="font-style:italic"><span style="font-style:italic">Syntax Error: Invalid Operand" </span><br>
<br>However, it's not displaying the color bar. Am I doing something wrong with the "cstyle" or "cthick" <br><br>Any advice would be greatly appreciated.<span class="HOEnZb"><font color="#888888"><br>
<br>Emma. <br></font></span></font><br><br>---------- Mensagem encaminhada ----------<br>From: EMMA SCANLON <<a href="mailto:EMMA.SCANLON.2012@nuim.ie">EMMA.SCANLON.2012@nuim.ie</a>><br>To: <a href="mailto:esrl.psd.data@noaa.gov">esrl.psd.data@noaa.gov</a><br>
Cc: <br>Date: Tue, 19 Jun 2012 11:04:23 +0100<br>Subject: Re: Opening netcdf<br>I just have a question regarding a color bar showing contours for wind speed in GrADS. <br>I've been using the following commands<br> "<span style="font-style:italic">ga-> set gxout contour</span><br style="font-style:italic">
<span style="font-style:italic">ga-> set clevs 4 6 8 10 12 14 16 18</span><br style="font-style:italic"><span style="font-style:italic">Number of clevs = 8 </span><br style="font-style:italic"><span style="font-style:italic">ga-> set ccols 9 14 11 13 10 12 2 6</span><br style="font-style:italic">
<span style="font-style:italic">Number of ccols = 8</span><br style="font-style:italic"><span style="font-style:italic">ga-> set cstyle 2</span><br style="font-style:italic"><span style="font-style:italic">cstyle = 2 </span><br style="font-style:italic">
<span style="font-style:italic">ga-> set cthick 4</span><br style="font-style:italic"><span style="font-style:italic">cthick = 4 </span><br style="font-style:italic"><span style="font-style:italic">ga-> d wspd</span><br style="font-style:italic">
<span style="font-style:italic">Contouring at clevs = 4 6 8 10 12 14 16 18</span><br style="font-style:italic"><span style="font-style:italic">ga-> d contours</span><br style="font-style:italic"><span style="font-style:italic">Syntax Error: Invalid Operand" </span><br>
<br>However, it's not displaying the color bar. Am I doing something wrong with the "cstyle" or "cthick" <br><br>Any advice would be greatly appreciated.<br><br>Emma. <br><br><br><br><br>----- Original Message -----<br>
From: <a href="mailto:esrl.psd.data@noaa.gov" target="_blank">esrl.psd.data@noaa.gov</a><br>Date: Wednesday, June 6, 2012 1:03 pm<br>Subject: Re: Opening netcdf<br>To: <a href="mailto:EMMA.SCANLON.2012@nuim.ie" target="_blank">EMMA.SCANLON.2012@nuim.ie</a><br>
Cc: <a href="mailto:esrl.psd.data@noaa.gov" target="_blank">esrl.psd.data@noaa.gov</a><br><br>> Emma Scanlon,<br>> <br>> The GrADS command you need to be using on these files is "sdfopen",<br>> not "open".<br>
> <br>> Good luck with your research.<br>> <br>> On 06/06/2012 05:39 AM, EMMA SCANLON wrote:<br>> > Hello,<br>> ><br>> > I'm currently conducting a thesis showing the changes in SST <br>> along the<br>
> > west coast of Ireland. As part of my research I am using SST data<br>> > gathered from the ICOADS. As part of this I am using ubuntu <br>> and GrADS to<br>> > interpret the data.<br>> > I'm having some issues opening the SST .nc files within this.<br>
> > When in grads I am using the command "ga-> open <a href="http://sst.mean.nc" target="_blank">sst.mean.nc</a>" <br>> (bearing in<br>> > mind I am in the correct directory)<br>> ><br>> > The following message is showing : canning description file: <br>
> <a href="http://sst.mean.nc" target="_blank">sst.mean.nc</a>> Open Error: Unknown keyword in description file<br>> > --> The invalid description file record is:<br>> > --> CDF <br>> > The data file was not opened.<br>
> > I know this may be a little out of your way to assist me on <br>> this topic<br>> > but any information/help would be greatly appreciated.<br>> ><br>> > Kind regards,<br>> ><br>> > Emma Scanlon.<br>
> <br>> -- <br>> Don Hooper, replying for <a href="mailto:esrl.psd.data@noaa.gov" target="_blank">esrl.psd.data@noaa.gov</a>.<br>> Please don't over-ride the Reply-To: address; I<br>> read <a href="mailto:esrl.psd.data@noaa.gov" target="_blank">esrl.psd.data@noaa.gov</a>, too.
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br><br>