wiki:ImageLocations
Last modified 11 years ago Last modified on 12/19/2007 12:01:30 PM

Image Locations for DC2

from: DC2 Management -> Other Components -> Persistence Framework.

Various pipelines in DC2 will be retrieving images from and persisting images (and potentially other data) into files. We need a standard for where those files should be located.

Requirements

  • There shouldn't be too many files in a single directory.
  • Important information should be encoded in the pathname to simplify debugging.
    • Exposure ID
    • Slice ID
    • CCD ID (slice ID + 1)
    • Image type (image/img, mask/msk, variance/var)
  • A particular run of DC2 should have its data separate from all other runs. The run directory structure will be pre-created, with input files symbolically linked into the hierarchy.

Proposal

Input images: /DC2Root/{runId}/Input/{exposureId}/{exposureId}p_{ccdId}_{type}.fits Input templates: /DC2Root/{runId}/Input/{exposureId}/{exposureId}p_{ccdId}_tmpl_{type}.fits Output images: /DC2Root/{runId}/Output/{exposureId}/{ccdId}/{exposureId}_{ccdId}_{type}.fits

See also DC2PipelineInterfaces.