Program: SUM Purpose: Program to add a number of subsets. Category: CALCULATION, COMBINATION File: mean.shl Author: K.G. Begeman Keywords: **TASK= Name of the task under which the program is run. Either MEAN or SUM. To be used when program is run under an alias name. INSET= Set and subsets over which to integrate. Maximum number of input subsets is 2048. BOX= Box over which to add the input subsets [entire subset]. Outside this box MEAN will write BLANKS in the output map(s). CUT= Cutoff levels [No cutoff]. Only data values beyond the cutoff levels will be used in the sum. OUTSET= Set and subset(s) where to store the results. If two subsets are entered, then the second will contain the number of subsets used in the summation. Default is only one subset (i.e. the sum). Example: SUM SUM ,INSET=AURORA DEC Set AURORA has 3 axes RA-NCP from -7 to 8 DEC-NCP from -7 to 8 FREQ-OHEL from 1 to 59 SUM ,BOX= BOX range for set AURORA : RA-NCP from -7 to 8 FREQ-OHEL from 1 to 59 SUM ,CUT= All values will be added SUM ,OUTSET=STRIP Set STRIP has 3 axes RA-NCP from -7 to 8 FREQ-OHEL from 1 to 59 PARAM-SUM from 1 to 1 SUM +++ FINISHED +++ Updates: Jan 31, 1990: KGB Document created. Nov 17, 1991: MV Extra parameter for 'clipper' Dec 11, 1991: KGB Cancel replaced by reject. Feb 19, 1992: KGB Bug with BOX < frame repaired. Jul 28, 1994: JPT Introduced TASK= keyword