mSubset1
Filter an image metadata table down to those records representing fits files that overlap a footprint on the sky
Usage
mSubset [-d
level]
[-f]
[-s
statusfile]
images.tbl
template.hdr
subset.tbl
Overview
Generates a table of images that is a subset of the input table, containing only those images that cover the area defined by a given FITS header.
Options
-
-d level -
Turns on debugging to the specified level (1-3).
-
-f -
Fast mode - input file must include corners (-c flag in mImgtbl) to utilize this mode.
-
-s statusfile -
Output and errors are sent to statusfile instead of to stdout
Arguments
- images.tbl
-
ASCII table (generated by
mImgtbl) containing metadata for image collection.
- template.hdr
-
FITS header template defining the area of interest.
- subset.tbl
-
Path to output table, which will contain only those FITS images covering the area defined by template.hdr.
Result
[struct stat="OK", count=nin, nmatches=nout]
where nin is the number of rows found in images.tbl, and nmatches is the number of rows in subset.tbl, which includes only those images that overlap the area defined by template.hdr.