Reinitialization of GrADS

Two commands are available for resetting or reinitializing the state of GrADS:

Reinit

The reinit command returns GrADS to its initial state. reinit closes all open files, releases all defined variables, and resets all graphics settings to their defaults.

Reset

The reset command returns GrADS to its initial state with the following exceptions:

  1. No files are closed
  2. No defined variables are released
  3. The set display settings are not modified

If files are open, the default file is set to 1, and the dimension environment is set to X,Y varying and Z and T set to 1 (as though file 1 were just opened).

The reset command may be qualified so that only certain aspects of GrADS are returned to their initial state. The qualifiers are as follows: