Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 86de73cd0961932e7aca64f21352ffa6 > files > 151

grads-2.0.2-1.fc18.x86_64.rpm

<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->

<html>
<head>
<title>GrADS Command: set geotiff</title></head>
<body bgcolor="e0f0ff" text="#000000">

<h2><b>set geotiff</b></h2>
<p>
<code>set geotiff &lt;-flt | -dbl&gt; <i>fnameroot</i></code>
<p>
Sets the filename root and other characteristics for GeoTIFF output. </p>
<ul>
  <code><i>fnameroot</i>&nbsp;&nbsp;&nbsp; </code>Output filename root -- GrADS will append &quot;.tif&quot; to the end <br>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(The default output file name is <code>gradsgeo.tif</code>)<br>
  <code>-flt &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>Data will be written to file using floating-point precision (default)<br>
  <code>-dbl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>Data will be written to file using double precision<br>
</ul>
<p>
<h3>Usage Notes</h3>
<p>
This command is  available in GrADS v2.0.a5 or later. 
<p>This command is used in conjunction with   the <code><a href="gradcomdsetgxout.html">set gxout geotiff</a> </code> command which sets the graphics output type; the <code><a href="gradcomddisplay.html">display</a></code> command  will then create the output file instead of drawing a plot. The output data file will be in GeoTIFF format, which is a georeferenced raster image. The GeoTIFF output is a grid of data values, similar to the 'grfill' graphics output type, except the pixels (grid elements) in the image can be tied to a geographic location. 

<p>The  file <code><i>fnameroot</i>.tif</code> will be replaced if it exists. 
<p>If the <code>-flt</code> or <code>-dbl</code> options are not given, the output will be written using floating-point precision. No compression algorithm is used when creating the GeoTIFF file. 
<h3>Examples </h3>
<p><code>set geotiff my_name<br>
set gxout geotiff<br>
d my_var</code><br>
</p>
<p>Note: The GrADS expression <code>my_var</code> must be a 2-dimensional grid that varies in X and Y (longitude and latitude). </p>
<p>&nbsp;</p>
</body>
</html>