Definition of parameter structure for CL_inputParam
par = CL_defParam(text,val,id,units,dim,typ,accv,valid)
Defines a parameter structure.
Notes:
- All the arguments are optional!
- For all arguments: "empty value" ([]) is equivalent to "default value".
Text defining the parameter. Empty string by default.
Initial value (given in internal unit). 0 or " " (empty string) or current date (TREF time scale) by default.
Identifier (string) useable in the 'valid' expression. Empty string by default.
[unit1, [unit2]] (strings), where unit1 is the internal unit (unit of val), and unit2 the unit used for input (unit2 is the same as unit1 by default). By default: no units. If unit2 is defined, CL_unitConvert is used to convert from unit1 to unit2.
Number or range ([min, max]) of expected values. Default is 1. A value of -1 means 'any number including 0' (vector).
Type of parameter: "r": real, "s": string, "cal": calendar format (string): year/month/day [hours:minutes:seconds]).
Vector (1xN) of accepted values. By default: [], meaning that everything is accepted. NB: if units are defined, values in accv must be expressed in 'input' units (i.e. unit2).
Expression (string) used to check the validity of the value. The expression used should be compatible with 'find' if many values are expected (i.e. if dim <> 1). NB: if units are defined, the values are checked while expressed in 'input' unit (i.e unit2), not internal unit.
Parameter structure.
CNES - DCT/SB (AL)