<!--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 <-flt | -dbl> <i>fnameroot</i></code> <p> Sets the filename root and other characteristics for GeoTIFF output. </p> <ul> <code><i>fnameroot</i> </code>Output filename root -- GrADS will append ".tif" to the end <br> (The default output file name is <code>gradsgeo.tif</code>)<br> <code>-flt </code>Data will be written to file using floating-point precision (default)<br> <code>-dbl </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> </p> </body> </html>