region [ parameter=value ] [ inputfile outputfile ]Parameters are variable, criteria, number, limits.
The following criteria are supported:
[ means closed on the left; i.e., the left endpoint is included in the interval. ] means closed on the right; i.e., the right endpoint is included in the interval.good - good (non-missing) values bad - bad (missing) values equal - good values == N neq - good values != N lt - good values < N le - good values <= N gt - good values > N ge - good values >= N [] - good values inside [N1, N2] () - good values inside (N1, N2) [) - good values inside [N1, N2) (] - good values inside (N1, N2] outside[] - good values outside [N1, N2] outside() - good values outside (N1, N2) outside[) - good values outside [N1, N2) outside(] - good values outside (N1, N2]
( means open on the left; i.e., the left endpoint is not included in the interval. ) means open on the right; i.e., the right endpoint is not included in the interval.
% region variable=avhrr_ch3 criteria=good avhrrdata testdataThe following example shows how to circumscribe positive data values, not including missing data:
% region variable=mcsst criteria=gt number=0 sstdata testdata % contents testdata printout : char( 3) ? [no] Contents of File: testdata Page 1 Dimension Size Coord Scale Offset latitude 13618 y 1 0 longitude 13618 x 1 0 Attribute Type Units Value history byte Variable Type Units latitude float longitude float Variable Dimension Size latitude latitude 13618 longitude longitude 13618 Variable BadValue ValidMin ValidMax Scale Offset latitude -3.4028e+38 -1.7977e+308 1.7977e+308 1 0 longitude -3.4028e+38 -1.7977e+308 1.7977e+308 1 0
Last Update: $Date: 2000/07/21 21:27:45 $