Skip to content

Commit

Permalink
update policy to handle forced photometry
Browse files Browse the repository at this point in the history
  • Loading branch information
boutigny committed Mar 17, 2016
1 parent 7dc58ec commit b0a1bf9
Showing 1 changed file with 39 additions and 5 deletions.
44 changes: 39 additions & 5 deletions policy/MegacamMapper.paf
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ datasets: {
tables: raw_skyTile
}
modelfits: {
template: "modelfits/v%(visit)d-f%(filter)s/R%(raft)s/S%(sensor)s.fits"
template: "modelfits/%(runId)s/%(object)s/%(date)s/%(filter)s/modelfits-%(visit)d-%(ccd)02d.fits"
python: "lsst.meas.multifit.ModelFitCatalog"
persistable: "ModelFitCatalog"
storage: "FitsCatalogStorage"
Expand Down Expand Up @@ -571,7 +571,7 @@ datasets: {
tables: "raw"
}
forced_src: {
template: "forced/%(runId)s/%(object)s/%(date)s/%(filter)s/FORCEDSRC-%(visit)d-%(ccd)02d.fits"
template: "forced/%(runId)s/%(object)s/%(date)s/%(filter)s/%(tract)d/FORCEDSRC-%(visit)d-%(ccd)02d.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
Expand All @@ -584,14 +584,48 @@ datasets: {
persistable: "ignored"
storage: "FitsCatalogStorage"
}
forcedPhot_config: {
forcedPhotCcd_config: {
template: "config/forcedPhotCcd.py"
python: "lsst.pipe.tasks.forcedPhotCcd.ForcedPhotCcdConfig"
python: "lsst.meas.base.forcedPhotCcd.ForcedPhotCcdConfig"
persistable: "Config"
storage: "ConfigStorage"
}
forcedPhotCoadd_config: {
template: "config/forcedPhotCoadd.py"
python: "lsst.meas.base.forcedPhotCoadd.ForcedPhotCoaddConfig"
persistable: "Config"
storage: "ConfigStorage"
}
forcedPhot_metadata: {

This comment has been minimized.

Copy link
@SimonKrughoff

SimonKrughoff Mar 23, 2016

Contributor

Doesn't this need to be forcedPhotCcd_metadata?

template: "forced/%(runId)s/%(object)s/%(date)s/%(filter)s/forcedPhotCcd_metadata/%(visit)d-%(ccd)02d.boost"
template: "forced/%(runId)s/%(object)s/%(date)s/%(filter)s/%(tract)d/forcedPhotCcd_metadata/%(visit)d-%(ccd)02d.boost"
python: "lsst.daf.base.PropertySet"
persistable: "PropertySet"
storage: "BoostStorage"
tables: raw
tables: raw_visit
}
deepCoadd_forced_src: {
template: "deepCoadd-results/%(filter)s/%(tract)d/%(patch)s/forced_src-%(filter)s-%(tract)d-%(patch)s.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
tables: raw
tables: raw_skyTile

This comment has been minimized.

Copy link
@SimonKrughoff

SimonKrughoff Mar 23, 2016

Contributor

K-T has told me in the past that raw_skyTile is deprecated. It has caused some problems for me because it is searched to fill the dataId, but in some cases it doesn't exist. I don't think it typically hurts to remove it.

This comment has been minimized.

Copy link
@boutigny

boutigny Mar 23, 2016

Author Member

Ok, I will remove it. I confess that I took this from another source but did not really understand it

}
deepCoadd_forced_src_schema: {
template: "schema/deepCoadd_forced_src.fits"
python: "lsst.afw.table.SourceCatalog"
persistable: "ignored"
storage: "FitsCatalogStorage"
}
deepCoadd_forced_config: {
template: "config/forcedPhotCoadd.py"
python: "lsst.meas.base.forcedPhotCoadd.ForcedPhotCoaddConfig"
persistable: "Config"
storage: "ConfigStorage"
}
deepCoadd_forced_metadata: {
template: "deepCoadd_forcedPhotCoadd_metadata/%(filter)s/%(tract)d/%(patch)s.boost"
python: "lsst.daf.base.PropertySet"
persistable: "PropertySet"
storage: "BoostStorage"
Expand Down

0 comments on commit b0a1bf9

Please sign in to comment.