set geotiff <-flt | -dbl> fnameroot
Sets the filename root and other characteristics for GeoTIFF output.
fnamerootOutput filename root -- GrADS will append ".tif" to the end
-fltData will be written to file using floating-point precision (default)
-dblData will be written to file using double precision
This command is available in GrADS v2.0.a5 or later.
This command is used in conjunction with the
set gxout geotiff command which sets the graphics output type; the
display 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.
fnameroot.tif will be replaced if it exists.
-dbl options are not given, the output will be written using floating-point precision. No compression algorithm is used when creating the GeoTIFF file.
set geotiff my_name
set gxout geotiff
Note: The GrADS expression
my_var must be a 2-dimensional grid that varies in X and Y (longitude and latitude).