set kml

set kml fnameroot

Sets the filename root for KML output. GrADS will create two complementary files:

Usage Notes

This command is available in GrADS v2.0.a5 or later.

This command is used in conjunction with the set gxout kml command which sets the graphics output type; the display command will then create the two output files instead of drawing a plot. The output data files will be in two different but complementary formats. The TIFF image output is a grid of colored pixels, similar to the 'grfill' graphics output type. The KML output contains the necessary information for the TIFF image to be tied to a geographic location.

The files fnameroot.tif and fnameroot.kml will be replaced if they exist.

The output in KML format is intended for use with GIS tools such as Google Earth.

Examples

set kml my_name
set gxout kml
d my_var

Note: The GrADS expression my_var must be a 2-dimensional grid that varies in X and Y (longitude and latitude).