STScI Logo

msccmd mscred


NAME · SYNOPSIS · USAGE_ · PARAMETERS · DESCRIPTION · EXAMPLES
RESTRICTION · REVISIONS · SEE_ALSO

NAME

msccmd -- execute general command with image extension expansion

SYNOPSIS

This tasks executes a command where any input and output image list arguments specified by $input, $in2, and $output are replaced by an expanded list of image extensions. If there are no command line arguments the task runs as an interpreter with prompts until the command q or quit is entered.

USAGE

msccmd [command input output]

PARAMETERS

DESCRIPTION

EXAMPLES

1. Do image statistics.

    cl> msccmd "imstat $input" obj*fits

Since this is a common operation see mscstat instead.

2. Do image arithmetic.

    cl> msccmd "imarith $input + $in2 $output"
    List of input files: obj001
    Second list of input files: obj002
    List of output files: sum

Since this is a common operation see mscarith instead.

3. Do HSELECT on the command line with no prompts.

    cl> msccmd "hselect $input $I,filter yes" obj001,obj002
    [output]

4. Use in interpretive mode.

    cl> msccmd
    msccmd> Command: imhead $input l-
    [output]
    msccmd> Command: hselect $input $I,filter
    msccmd> Input files: obj001,obj002
    [output]
    msccmd> Command: hedit $input filter B verify-
    msccmd> Input files (obj001,obj002):
    msccmd> Command: print "This command has not input or output files."
    This command has not input or output files.
    msccmd> Command: q
    cl>

RESTRICTION

Image sections are not allowed in the mosaic filenames.

REVISIONS

MSCSTAT - V2.external package
First release.

SEE ALSO

mscarith, mscstat


Source Code · Search Form · STSDAS