Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 28842e744495811080ce537d0b6dab00 > files > 25

grads-2.0.a9-0.2.fc15.i686.rpm

<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--><title>Basic Concept of Operation</title><style type="text/css">
<!--
body {
	background-color: #e0f0ff;
}
-->
</style>

<table width="700" border="0">
  <tr>
    <td><h1>Basic Concept of Operation</h1>
      When you have successfully installed and started GrADS, you'll be
confronted with two windows -- a terminal window with a
prompt (ga-&gt;), and a resizable
window (black background by default) where graphics are
displayed.
<p> GrADS commands are entered in the terminal window and the
  response from GrADS is either graphics in the graphics window or
  text in the terminal window.  The three fundamental GrADS
  commands: </p>
<ol>
  <li><code>open</code>&nbsp;&nbsp;&nbsp;    open or make available to GrADS a data file
    with
    either gridded or station data </li>
  <li><code>d</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  display a GrADS
    &quot;expression&quot; (e.g., a slice of data) </li>
  <li><code>set</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  manipulate the &quot;what&quot; &quot;where&quot; and
    &quot;how&quot; of data
    display</li>
</ol>
<p> The GrADS &quot;expression,&quot; or what you want to look at, can be as
  simple as a variable in the data file that was opened, e.g., <code>d
    slp</code> or an arithmetic or GrADS function operation on the data,
  e.g., <code>d slp/100</code> or <code>d mag(u,v)</code> where mag is a GrADS intrinsic
  function.</p>
<p> The &quot;where&quot; of data display is called the &quot;dimension environment&quot;
  and defines which part, chunk or &quot;hyperslab&quot; of the 5-D 
  geophysical space (lon,lat,level,time,ens) is displayed.  The
  dimension environment is manipulated through the <a href="commands.html#setdimension">set</a> command and
  is controlled in either grid coordinates (x,y,z,t,e  indices) or <i>world</i> coordinates (<code>lon, lat, lev, time</code>, ens).</p>
<p> The &quot;what&quot; and &quot;how&quot; of display is also controlled by the  <a href="commands.html"><code>set</code></a> command and
  includes both graphics methods (e.g., contours, streamlines) and
  data (e.g., <code>d</code> to a file).</p>
<p> GrADS graphics can be written to a file (i.e., <code><a
href="gradcomdenableprint.html">enable print</a> <i>filename</i></code> and <a
href="gradcomdprint.html"><code>print</code></a>)
  and then converted to postscript for
  printing
  and/or conversion to other image formats.</p>
<p> In addition, GrADS includes graphic primitives (e.g., lines and
  circles) and basic labelling through the <a href="commands.html#draw"><code>draw
    command</code></a>.</p>
<p> The <code><a href="gradcomdquery.html">q</a></code> or <a href="gradcomdquery.html"><code>query</code></a> command is used to get information from GrADS
  such
  as which files are opened and even statistics. </p></td>
  </tr>
</table>
<h1>&nbsp;</h1>