Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs_cfht review for DM-1945: tasks for multi-band coadd processing #4

Merged
merged 2 commits into from
Jun 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions config/mergeCoaddDetections.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root.priorityList = ["r", "i", "g", "z", "u",]
1 change: 1 addition & 0 deletions config/mergeCoaddMeasurements.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root.priorityList = ["r", "i", "g", "z", "u",]
174 changes: 163 additions & 11 deletions policy/MegacamMapper.paf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ exposures: {
}

deepCoadd_tempExp: {
template: "deepCoadd/%(filter)s/%(tract)d/%(patch)stempExp/%(visit)d-%(filter)s.fits"
template: "deepCoadd/%(filter)s/%(tract)d/%(patch)s/warp-%(filter)s-%(tract)d-%(patch)s-%(visit)d.fits"
python: "lsst.afw.image.ExposureF"
persistable: "ExposureF"
storage: "FitsStorage"
Expand All @@ -86,7 +86,18 @@ exposures: {
}

deepCoadd_calexp: {
template: "calexp/%(filter)s/%(tract)d/%(patch)s.fits"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/calexp-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.image.ExposureF"
persistable: "ExposureF"
storage: "FitsStorage"
level: "Ccd"
tables: "raw"
columns: "visit"
columns: "ccd"
}

deepCoadd_calexp_det: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/calexp_det-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.image.ExposureF"
persistable: "ExposureF"
storage: "FitsStorage"
Expand Down Expand Up @@ -375,14 +386,14 @@ datasets: {
tables: "raw"
}
deepCoadd_psf: {
template: "deepCoadd/%(tract)d/%(patch)s.boost"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/psf-%(filter)s-%(tract)d-%(patch)s.boost"
python: "lsst.afw.detection.Psf"
persistable: "Psf"
storage: "BoostStorage"
tables: "raw"
}
deepCoadd_skyMap: {
template: "skymap/deepCoadd/skyMap.pickle"
template: "deepCoadd/skyMap.pickle"
python: "lsst.skymap.BaseSkyMap"
persistable: "ignored"
storage: "PickleStorage"
Expand Down Expand Up @@ -439,29 +450,29 @@ datasets: {
tables: raw_skyTile
}
deepCoadd_icSrc: {
template: "icSrc/%(filter)s/%(tract)d/%(patch)s.fits"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/icSrc-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
tables: "raw"
}
deepCoadd_icSrc_schema: {
template: "schema/icSrc.fits"
template: "schema/deepCoadd_icSrc.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_icMatch: {
template: "icMatch/%(filter)s/%(tract)d/%(patch)s.fits"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/icMatch-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.BaseCatalog"
persistable: "BaseCatalog"
storage: "FitsCatalogStorage"
tables: "raw"
}
deepCoadd_src_schema: {
template: "schema/src.fits"
template: "schema/deepCoadd_src.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
Expand All @@ -477,22 +488,30 @@ datasets: {
tables: raw_skyTile
}
deepCoadd_calexpBackground: {
template: "calexp/%(filter)s/%(tract)d/%(patch)s.fits"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/bkgd-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.math.BackgroundList"
persistable: "PurePythonClass"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_calexp_detBackground: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/det_bkgd-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.math.BackgroundList"
persistable: "PurePythonClass"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_srcMatch: {
template: "srcMatch/%(filter)s/%(tract)d/%(patch)s.fits"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/srcMatch-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.BaseCatalog"
persistable: "BaseCatalog"
storage: "FitsCatalogStorage"
tables: "raw"
}
deepCoadd_src: {
template: "src/%(filter)s/%(tract)d/%(patch)s.fits"
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/src-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
Expand Down Expand Up @@ -526,4 +545,137 @@ datasets: {
tables: raw
tables: raw_visit
}
# Detections on coadds
deepCoadd_det: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/det-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
detectCoaddSources_config: {
template: "config/detect.py"
python: "lsst.pipe.tasks.multiBand.DetectCoaddSourcesConfig"
persistable: "Config"
storage: "ConfigStorage"
}
detectCoaddSources_metadata: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/detectMD-%(filter)s-%(tract)d-%(patch)s.boost"
python: "lsst.daf.base.PropertySet"
persistable: "PropertySet"
storage: "BoostStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_det_schema: {
template: "schema/deepCoadd_det.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
}

# Merged detections on coadds
deepCoadd_mergeDet: {
template: "deepCoadd-results/merged/%(tract)d/%(patch)s/mergeDet-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
mergeCoaddDetections_config: {
template: "config/mergeDetect.py"
python: "lsst.pipe.tasks.multiBand.MergeDetectionsConfig"
persistable: "Config"
storage: "ConfigStorage"
}
mergeCoaddDetections_metadata: {
template: "deepCoadd-results/merged/%(tract)d/%(patch)s/mergeDetMD-%(tract)d-%(patch)s.boost"
python: "lsst.daf.base.PropertySet"
persistable: "PropertySet"
storage: "BoostStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_mergeDet_schema: {
template: "schema/deepCoadd_mergeDet.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
}
deepCoadd_peak_schema: {
template: "schema/deepCoadd_peak.fits"
python: "lsst.afw.detection.PeakCatalog"
persistable: "PeakCatalog"
storage: "FitsCatalogStorage"
}

# Measurements on coadds
deepCoadd_meas: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/meas-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
measureCoaddSources_config: {
template: "config/measureMerged.py"
python: "lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesConfig"
persistable: "Config"
storage: "ConfigStorage"
}
measureCoaddSources_metadata: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/measMD-%(filter)s-%(tract)d-%(patch)s.boost"
python: "lsst.daf.base.PropertySet"
persistable: "PropertySet"
storage: "BoostStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_meas_schema: {
template: "schema/deepCoadd_meas.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
}

# Reference catalog for coadds
deepCoadd_ref: {
template: "deepCoadd-results/merged/%(tract)d/%(patch)s/ref-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile
}
mergeCoaddMeasurements_config: {
template: "config/mergeMeasure.py"
python: "lsst.pipe.tasks.multiBand.MergeSourcesConfig"
persistable: "Config"
storage: "ConfigStorage"
}
mergeCoaddMeasurements_metadata: {
template: "deepCoadd-results/merged/%(tract)d/%(patch)s/mergeMeasMD-%(tract)d-%(patch)s.boost"
python: "lsst.daf.base.PropertySet"
persistable: "PropertySet"
storage: "BoostStorage"
tables: raw
tables: raw_skyTile
}
deepCoadd_ref_schema: {
template: "schema/deepCoadd_ref.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "SourceCatalog"
storage: "FitsCatalogStorage"
}

multiband_config: {
template: "config/multiband.py"
python: "lsst.pipe.tasks.multiBand.MultiBandConfig"
persistable: "Config"
storage: "ConfigStorage"
}

}