<div dir="ltr">It did prompt a list of variables including u, v, w, and z. It still doesn&#39;t want to display them.<div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">ga-&gt; q file</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">File 1 : 6 Months Sample Model Output</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Descriptor: cont.ctl</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Binary: atmos_month.nc.0000</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Type = Gridded</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Xsize = 96  Ysize = 80  Zsize = 18  Tsize = 804  Esize = 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Number of Variables = 7</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     u  18  0  u</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     v  18  0  v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     w  18  0  v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     t  18  0  v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     sh  18  0  v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     rh  18  0  v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">     z  18  0  v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">ga-&gt; d v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Data Request Error:  Error for variable &#39;v&#39;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Error ocurred at column 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">DISPLAY error:  Invalid expression </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Expression = v</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">ga-&gt; d sh</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Error: Variable sh not in netcdf file</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Data Request Error:  Error for variable &#39;sh&#39;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Error ocurred at column 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">DISPLAY error:  Invalid expression </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">  Expression = sh</p></div><div><br></div><div>Thanks,</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 18, 2014 at 11:58 PM, James T. Potemra <span dir="ltr">&lt;<a href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    If you enter &quot;q file&quot; at the GrADS prompt it should list the
    variables.<div><div class="h5"><br>
    <br>
    <div>On 6/18/14 5:52 PM, David Stanfel
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">How do I know what variable name will work? I&#39;ve
        tried u, v, w, and z and still only get:
        <div><br>
        </div>
        <div>
          <p style="margin:0px;font-size:11px;font-family:Menlo">ga-&gt;
            d v</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">Error:
            Variable v not in netcdf file</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">Data
            Request Error:  Error for variable &#39;v&#39;</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">  Error
            ocurred at column 1</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">DISPLAY
            error:  Invalid expression </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo"> 
            Expression = v</p>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>David</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Jun 18, 2014 at 11:13 PM,
          Hosmay Lopez <span dir="ltr">&lt;<a href="mailto:hlopez@rsmas.miami.edu" target="_blank">hlopez@rsmas.miami.edu</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">David,<br>
                <br>
                You should let GrADS know that the file is a netCDF. You
                do that by adding the following text line in your
                control file:<br>
                <br>
                DTYPE netcdf<br>
                <br>
                Insert such after the UNDEF line.<br>
                <br>
                Good luck!<br>
                <div><br>
                  <div style="font-family:Tahoma;font-size:13px">
                    <div style="font-family:Tahoma;font-size:13px">
                      <div style="font-family:Tahoma;font-size:13px">
                        <div style="font-family:Tahoma;font-size:13px">Hosmay
                          Lopez<br>
                          <span style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">UM/CIMAS/RSMAS
                            NOAA/AOML/PHOD</span><br style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">
                          <span style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">4301
                            Rickenbacker Causeway,</span><br style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">
                          <span style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">Miami,
                            FL 33149, USA</span><br style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">
                          <span style="font-family:verdana,arial,sans-serif;background-color:rgb(255,255,255)">Phone:
                            <a href="tel:%28305%29%20361-4329" value="+13053614329" target="_blank">(305)
                              361-4329</a></span><br>
                          <br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div style="font-family:Times New Roman;color:#000000;font-size:16px">
                  <hr>
                  <div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>
                      [<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]
                      on behalf of David Stanfel [<a href="mailto:dstanfel@ualberta.ca" target="_blank">dstanfel@ualberta.ca</a>]<br>
                      <b>Sent:</b> Wednesday, June 18, 2014 10:58 PM<br>
                      <b>To:</b> GrADS Users Forum<br>
                      <b>Subject:</b> [gradsusr] Displaying a .nc file<br>
                    </font><br>
                  </div>
                  <div>
                    <div>
                      <div>
                        <div dir="ltr">So I figured out how to use a
                          descriptor file but I am still having troubles
                          opening the file. My descriptor file is as
                          follows: 
                          <div><br>
                          </div>
                          <div><span>DSET
                                ^atmos_month.nc.0000</span><br>
                            <span>UNDEF
                               1.e-10</span><br>
                            <span>TITLE
                              6 Months Sample Model Output</span><br>
                            <span>*</span><br>
                            <span>XDEF
                              96 LINEAR  0.0   3.75</span><br>
                            <span>*</span><br>
                            <span>YDEF
                              80 GAUSR30 1</span><br>
                            <span>*</span><br>
                            <span>ZDEF
                              18 LEVELS  1000 950 900 850 800 750 700
                              650 600 550 500 450 400 350 300</span><br>
                            <span>250
                              200 150 </span><br>
                            <span>*</span><br>
                            <span>TDEF
                              804  LINEAR JAN0 1MO</span><br>
                            <span>*</span><br>
                            <span>VARS
                              7</span><br>
                            <span>u  
                              18   0  u</span><br>
                            <span>v  
                              18   0  v</span><br>
                            <span>w  
                              18   0  v</span><br>
                            <span>t  
                              18   0  v</span><br>
                            <span>sh
                                18   0  v</span><br>
                            <span>rh
                                18   0  v</span><br>
                            <span>z  
                              18   0  v</span><br>
                            <span>ENDVARS</span><br>
                          </div>
                          <div><span><br>
                            </span></div>
                          <div><span style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">It
                                was able to open it without issue:</font></span></div>
                          <div><span style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"><br>
                              </font></span></div>
                          <div>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">ga-&gt;
                              open cont.ctl                           </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">Scanning
                              description file:  cont.ctl</p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">Data
                              file atmos_month.nc.0000 is open as file 1</p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">LON
                              set to 0 360 </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">LAT
                              set to -88.29 88.29 </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">LEV
                              set to 1000 1000 </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">Time
                              values set: 0:1:1:0 0:1:1:0 </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">E
                              set to 1 1 </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
                            </p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif">However, I am
                                having trouble displaying the data. I
                                tried to use the display command (d)
                                with this result:</font></p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif"><br>
                              </font></p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">ga-&gt;
                              d atmos_month.nc.0000</p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">Syntax
                              error: Bad file number for variable
                              atmos_month </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo"> 
                              Error ocurred at column 1</p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo">DISPLAY
                              error:  Invalid expression </p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo"> 
                              Expression = atmos_month.nc.0000</p>
                            <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
                            </p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif">Is my syntax off?</font></p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif"><br>
                              </font></p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif">Thanks,</font></p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif"><br>
                              </font></p>
                            <p style="margin:0px"><font face="arial,
                                helvetica, sans-serif">David</font></p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            gradsusr mailing list<br>
            <a href="mailto:gradsusr@gradsusr.org" target="_blank">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>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<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></div>