mExec

montage_wrapper.commands.mExec(survey, band, raw_dir=None, n_tile_x=None, n_tile_y=None, level_only=False, keep=False, corners=False, output_image=None, debug_level=None, region_header=None, header=None, workspace_dir=None)[source]

The mExec module is a mosaicking executive for 2MASS, SDSS, and DSS data. It includes remote data and metadata access. Alternatively, users can mosaic a set of data already on disk.

Parameters :

survey, band : str

If not mosaicking user-provided data (raw_dir option), must select one of the following combinations of survey and band: 2MASS [j, h, k] SDSS [u, g, r, i, z] DSS [DSS1, DSS1R, DSS1B, DSS2, DSS2B, DSS2R, DSS2IR]

raw_dir : str, optional

Provide path to directory containing original (“raw”) data which will be reprojected and mosaicked. Not necessary if using mExec to retrieve remote data from the 2MASS, SDSS or DSS surveys.

n_tile_x : int, optional

Number of output tiles to create along the X-axis - default is 1 for a single mosaicked image.

n_tile_y : int, optional

Number of output tiles to create along the Y-axis - default is equal to n_tile_x.

level_only : bool, optional

“Level-only” option (see mBgModel)

keep : bool, optional

If retrieving data from a remote archive, the “keep” option will leave the original data products on disk after generating a mosaic. Without this option, raw data will be deleted (unless it was provided by the user with the “-r” option).

corners : bool, optional

Remove all temporary files and intermediate data products. Note: if not using the ‘-o’ option to specify an output file, this will also remove mosaic_image.

output_image : str, optional

Provide your own filename for the output mosaic. Default filename is “mosaic_image.”

debug_level : int, optional

Print out additional debugging information (levels 1-4)

region_header : str, optional

Path to header template used to create mosaic.

header : str, optional

Provide header template as text input rather than point to a file; see sample shell script that makes use of this option.

workspace_dir : str, optional

Directory where intermediate files will be created. If no workspace is given, a unique local subdirectory will be created (e.g.; ./MOSAIC_AAAaa17v)

Page Contents