______________________________________________________________________________ SH SHUFFLE is a general purpose routine for copying selected rows (with scaling) from one file to the same or another file. The various possibilities are: If the number of input maps = num output maps then the maps are scaled and copied. If the num of input rows = num of output rows then the rows are scaled and copied. If there is one output map and more than one input map then maps are ADDED into output map. If there is one output row and more than one input row then rows are ADDED into output row. If the num of input rows is one, the num of input maps greater than one, the num output rows = num input MAPS and only ONE OUTPUT MAP specified, then: the same input row from several input maps is MERGED into several output rows of a single output map. The last possibility is useful for copying, e.g., all central spectra of several spectral observations into one map for a quick summary (via REDSHIFT analysis) of spectral changes. ______________________________________________________________________________ Enter an option: 24-DEC-2002 14:04:24.21 OPTION=SH ` SHUFFLE, Version 5 Open the file to be shuffled Enter the filename: (<CR> for default) FILE=FTEST There is one map in the file Reading from the file 10 rows of 2035 pixels in R4 format Open the output file (can be the same as the input file) Enter the filename: (<CR> for default) FILE=FTEST Writing to an existing file There is one map in the file 10 rows of 2035 pixels in R4 format Do you want the headers copied across? (default = Y) HEADERS=N Enter the map scaling factor: (default = +1.0) FACTOR= 1.00000 Enter the output map numbers: MAPS_OUT=1 Enter the input rows: ROWS_IN=1 2 Enter their scaling factors: (default = +1.0) FACTORS=1 -1 Enter the output rows: ROWS_OUT=3 Input maps will be COPIED into output maps Input rows will be SUMMED into output row Ready to proceed? (default = Y) OK= Here row 2 has been subtracted from row 1 and the difference put in row 3. In combination with AR this routine allows all kinds of preliminary testing. ______________________________________________________________________________