![]() |
MERIS Childs Creation Tool |
Last modified: Wed Dec 05 10:45:16 2001.
NAME:
mk_child
PURPOSE:
Creates a child product (i.e. less MDS and/or less frames).
CATEGORY:
INPUT/OUTPUT
CALLING SEQUENCE:
res=mk_child(INFILE=infile, $
OUTFILE=outfile, $
RANGE=range, $
BOOL_MDS=bool_mds)
mk_child
INPUTS:
None
OPTIONAL INPUTS:
KEYWORD PARAMETERS:
INFILE - input filename (L0/L1/L2 product in RR/FR mode)
OUTFILE - output filename
RANGE - range=[first,last] frame limits to extract
BOOL_MDS - boolean integer array specifying which MDS needs to be preserved
the size of this array is the number of MDS contained in the products
(SQADS, Annotations DS, Scaling factors GADS are not of MDS type)
Note that if RANGE or BOOL_MDS keywords are missing than a GUI interface
is started that allows the user to select both the range and the MDS to
be preserved in the output file.
OUTPUTS:
status - null integer is succesfull, not null otherwise
OPTIONAL OUTPUTS:
None
COMMON BLOCKS:
None
SIDE EFFECTS:
Unknown
RESTRICTIONS:
Unknown
PROCEDURE:
EXAMPLE:
status=mk_child()
infile='C:\data\l2_rr.prd'
bool_mds=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
status=mk_child(INFILE=infile, range=[2,10], BOOL_MDS=bool_mds)
infile='C:\data\l1_rr.prd'
bool_mds=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
status=mk_child(INFILE=infile, range=[2,10], BOOL_MDS=bool_mds)
outfile='C:\data\toto.prd'
bool_mds=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
status=mk_child(INFILE=infile, OUTFILE=outfile, range=[2,10], BOOL_MDS=bool_mds)
MODIFICATION HISTORY:
written by Christophe Ngo Van Duc - June 2001 - chr@acri-st.fr
July 2001 - vfs - added GUI interface
November 2001 - chr - added the child of level0. Lots of modifications.
December 2001 - vfs - reviewed the architecture
broke the processing into several sub-functions
added FR mode for L1/L2 products
one single widget building function
(See $IDL_LOCAL\Products\mk_child.pro)