Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > dcaf9bd555d1ce386641f56c6523d3ed > files > 212

grads-2.0.2-1.fc18.i686.rpm

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

<H2><B>set x|y|z|t|e</B></H2>
<P>
<code>set x|y|z|t|e <i>val1 &lt;val2&gt;</i></code>
<p>
This sets one dimension of the <a href="dimenv.html">dimension environment </a>using grid
coordinates. You may use whatever coordinates are convenient to you.
Issuing <code>set lon</code> is equivalent to issuing <code>set x</code>,
both set the <code>x</code> dimension. The difference is only the units
you wish to use when entering the command. 
<p>

When you enter just one value, that dimension is said to be "fixed". When
you enter two values, that dimension is said to be "varying". The
combination of fixed and varying dimensions defines the dimension
environment. <p>
<H3>Usage Notes</H3>
<P>
The 'set e' command is only available in GrADS version 2.0+, when the <a href="ensembles.html">ensemble dimension</a> was introduced. 
<P>An important note: When you enter dimensions in grid coordinates, they are
  always converted to world coordinates. This conversion requires some
  knowledge of what scaling is in use for grid to world conversions. The
  scaling that is used in all cases (except one) is the scaling of the
  DEFAULT FILE. The exception is when you supply a dimension expression
  within a <a href="variable.html">variable specification</a>. 
<P>If you are setting the T or E dimension using grid coordinates, the value given in <code><i>val1</i></code> &nbsp;or 
  <code><i>val2</i></code>&nbsp; may be the word &quot;last&quot; to set the dimension to the max value of that  grid coordinate. 

<p>
<H3>Examples</H3><P>
<code>set t 1</code> <br />
This sets time to the first time in the data set -- using
grid coordinates. T is now a fixed
dimension. 
<P><code>set z 1 4</code><br />
This sets the vertical dimension to vary between the first and the fourth levels in the data set -- using
grid coordinates. Z is now a varying
dimension.
<P><code>set t 1 last</code><br />
This sets time to vary between the first and the last time in the data set -- using
grid coordinates. T is now a varying
dimension.
<P><code>set e last </code> <br />
This sets the ensemble to the final member in the data set. E is now a fixed
dimension.