Clear Memory Function (clear_up)
Description:
Release the
memory used by loaded bands and windows for reuse.
[Interactive
Mode][Command Mode]
Command
mode:
Usage:
clear_up
Examples:
For i = 0, n-1 DO BEGIN
-
seadisp
-
; Load 2 bands
-
load,'$SDSDEMO/L2_gac1.hdf',
PROD_NAME=['chlor_a','l2_flags']
-
; Load 2 more bands by projecting
-
mapimg, BANDS=[1,2], /CYLINDRICAL,
XSIZE=500, YSIZE=500, /ISOTROPIC
-
display, BAND_NO=3, FBUF=1
-
coast, FBUF=1
-
; Clear up band memory and display
memory for re-use. Loaded band numbers
-
; will start from 1 again. Equivalent
to exiting the display program interactively.
-
clear_up
ENDFOR
Interactive
mode:
Description:
The interactive equivalent for the clear_up command is to
exit the display program.