Subroutine: WMINMAX Purpose: Writes (new) minimum and maximum and number of blanks of subsets in the descriptor file and optionally deletes the MINMAX descriptors at intersecting levels. Category: GDS, HEADER File: wminmax.c Author: K.G. Begeman Use: CALL WMINMAX( SET , Input CHARACTER*(*) SUBSETS , Input INTEGER ARRAY DATAMIN , Input REAL ARRAY DATAMAX , Input REAL ARRAY NBLANK , Input INTEGER ARRAY NSUBS , Input INTEGER CHANGE ) Input INTEGER SET Name of GDS set. SUBSETS Array containing subset coordinate words of the subsets for which the minimum and maximum were determined. DATAMIN Array containing the minimum value in the subsets. DATAMAX Array containing the maximum value in the subsets. NBLANK Array containing the number of blanks in the subsets. NSUBS Number of subsets. CHANGE 0 means that minimum and maximum have not changed, anything else means that minimum and maximum have changed and that the MINMAX descriptors at intersecting levels will be removed by WMINMAX. Notes: 1. The so called MINMAX descriptors are: DATAMIN, DATAMAX and NBLANK. 2. When DATAMIN and/or DATAMAX are undefined (BLANK), then the DATAMIN and DATAMAX descriptors will be removed and only the number of blanks (NBLANK) will be written. Updates: Feb 20, 1990: KGB, Document created.