Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/tsk/condit.dc1
Дата изменения: Mon Mar 20 09:07:16 2000
Дата индексирования: Fri Jan 16 01:11:48 2009
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п

Program: CONDIT

Purpose: Transfer values if test value within certain range.

Category: MANIPULATION, TRANSFER

File: condit.c

Author: M.G.R. Vogelaar

Keywords:

INSET= Give input set(,subsets) to copy:

Maximum number of subsets is 2048. Values of INSET=
are copied to OUTSET= under conditions applied to
data in MASKSET..


BOX= Give box in ..... [entire subset]

Limit copy actions to this region of the INSET=
subset.


MASKSET= Give mask set (, subsets):

CONDIT transfers values in two different modes:
A: One MASKSET= subset works one all INSET= subsets
B: All given MASKSET= subsets work pairwise on all
subsets of INSET= For this option you need to enter
as much subsets as you did with INSET=


**MASKBOX= Give box in .... [previous box]

The axis sizes of the subset box of MASKSET= have to be
equal to the axis sizes of the subset box of INSET=
If using comparable subsets (i.e. same axis names,
same grids and origins), then this keyword is hidden
else unhidden.


OUTSET= Give output set (, subsets):

Output set and subset(s) for the result. The number of
output subsets is the same as the number of input sub-
sets. Usually the name of the set will suffice.


RGMODE= Mask range must Block or Transfer inset data? [T]/B

Transfer data from INSET= to OUTSET= if values in
MASKSET= are in range of RANGE= and RGMODE=T
Block data from INSET= if values in MASKSET= are
in range of RANGE= and RGMODE=B


RANGE= Enter 'transfer' range in mask: [All values]
(if RGMODE=T)
or:
Enter 'block' range in mask:
(if RGMODE=B)

Enter a range of values for MASKSET= The first value
must be less than the second value. If you enter one
value, then the second is copied from the first.
A value is within a range if it is greater than or equal
to the first value in RANGE= and less than or equal to
the second value in RANGE=


BLMODE= Blanks in mask will Transfer or Block data? T/[B]

Set an action if a blank in the mask is encountered.
If BLMODE=T then the INSET= value will be copied to
the output set. If BLMODE=B then the INSET= value
is blocked and a value equal to BLOCKVAL= is written
to the output set.


BLOCKVAL= Enter value to replace blocked values: [blank]

Values that are blocked are replaced by this in the
output set. Note that blanks in the input set are
copied as blanks to the output. BLOCKVAL= does not
apply to this situation.



Description: Copy values in INSET= to OUTSET= under certain
conditions. These conditions apply to data in a mask
set called MASKSET= First, you have to select whether
you want to use the RANGE= keyword to transfer data
(RGMODE=T) or to block data (RGMODE=B) while copying
INSET=
Then you enter the range with RANGE=
A value in MASKSET= that is greater than or equal to
the first value and smaller than or equal to
the second value in RANGE= causes a transfer or a block
(depending on RGMODE=) of a value in INSET=
If MASKSET= contains blank values, then transfer
or blocking is set by a separate keyword BLMODE=
If (BLMODE=T), data in INSET- will be transferred if
the value in MASKSET= is a blank else it will be blocked.
At positions where blocking was applied, usually a
blank is copied. However, you can replace this value


Notes:

Example:

Updates: Mar 21, 1996: VOG, Document created.