# HSC backport: Add tract conveniences

XMLWordPrintable

## Details

• Type: Story
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
None
• Templates:
• Story Points:
1
• Sprint:
Science Pipelines DM-W16-3, Science Pipelines DM-W16-4
• Team:
Data Release Production

## Description

This is a port of HSC-715: Add tract conveniences. Here is the original description:

In regular HSC survey processing, we'll run with a "rings" skymap to cover the entire survey area. meas_mosaic does not currently efficiently or conveniently iterate over tracts. For example:

 mosaic.py /tigress/HSC/HSC --rerun price/cosmos --id field=SSP_UDEEP_COSMOS filter=HSC-R 

Note the lack of a tract in the --id specifier — we want to iterate over all tracts. This is not currently possible. Instead, if we do not know the tract of interest (which the user should not be required to know), we have to iterate over all the tracts (e.g., tract=0..12345), but the user should not be required to know the number of tracts, and this is slow (and possibly memory-hungry: currently consuming 11GB on tiger3 just for 12 exposures).
We need an efficient mechanism to iterate over all tracts by not specifying any tract on the command-line.

As this functionality was added specifically for meas_mosaic, it was going to be ported as part of DM-2674. Due to a recent desire to use this functionality, this ticket will be ported here.

## People

• Assignee:
Lauren MacArthur
Reporter:
Lauren MacArthur
Reviewers:
John Swinbank
Watchers:
John Swinbank, Lauren MacArthur