Sophie

Sophie

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

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">
<!--
.style1 {
	color: #990000;
	font-style: italic;
	font-weight: bold;
}
body {
	background-color: #e0f0ff;
}
-->
</style>


<H2><B>set undef</B></H2>
<p>
This command allows the user to set the undefined data value for all forms of GrADS output. This command controls the undefined values printed to screen with the 'gxout stat' and the 'gxout print' output, as well as the undefined values in fwrite, sdfwrite, and geotiff files. 
<p>The output undef value will not necessarily be the same as the native undef value of the data set -- the default value is -9.99e8. The user can easily change the output undef value to match the undef value of the default file or a specific open file.<br />

<h3>Syntax</h3>
  <code>set undef <i>value</i> &nbsp;&nbsp;&nbsp;</code>(sets output undef value to <em>value</em>)<br />
  <code>set undef file <i>n</i>&nbsp;&nbsp;  </code>(copies undef value from file <i>n</i>)<br />
  <code>set undef dfile&nbsp;&nbsp;&nbsp;  </code> (copies undef value from default file)

<H3>Usage Notes</H3>
<P><span class="style1">This is a new feature with GraDS version 2.0.a6, that changes the default behavior of GrADS!</span><br />By default, the output undef value will be -9.99e8 instead of the undef value given in the data descriptor file. You may easily revert to the old behavior by using the 'set undef file n' option. 
<P>You can find out what the current output undef value is with the <code>'<a href="gradcomdquery.html">query undef</a>'</code> command.
<P>The  <code><a href="gradcomdreinit.html">reinit</a></code> command will return the output undef value  to the default (-9.99e8); the <code><a href="gradcomdreset.html">reset</a></code> command leaves it unchanged. 
<P>If you issue the '<code>set undef dfile</code>' command, the output undef value will be copied from the default file's undef value. If you subsequently change the default file number, the output undef value will not change. You must issue '<code>set undef dfile</code>' again if you wish the output undef value to be the same as the new default file. 

<H3>&nbsp;</H3><P>