Skip to content

Commit

Permalink
Remove jointcal configs that are now default
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Dec 20, 2021
1 parent a4a45a5 commit 9ea1abb
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions pipelines/DRP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,6 @@ tasks:
# obs_subaru.
doPhotometry: false
applyColorTerms: false
python: |
# These overrides were copied from the tests/config/config-gen3.yaml file
# on 22 Sept 2021. This is necessary for processing in containers to succeed
# because the build system strips out the test directories for space concerns.
#
# TODO DM-29008: When that ticket is merged these overrides will no longer
# be needed at all since that will fix higher level issues with how config
# overrides are imported in general.
config.sourceSelector['science'].flags.bad = ['pixelFlags_edge',
'pixelFlags_saturated',
'pixelFlags_interpolatedCenter',
'pixelFlags_interpolated',
'pixelFlags_crCenter',
'pixelFlags_bad',
'hsmPsfMoments_flag',
'apFlux_12_0_flag',
]
config.sourceSelector['science'].doUnresolved = False
config.sourceSelector['science'].signalToNoise.fluxField = 'apFlux_12_0_instFlux'
config.sourceSelector['science'].signalToNoise.errField = 'apFlux_12_0_instFluxErr'
config.sourceSelector['science'].isolated.parentName = 'parentSourceId'
config.sourceSelector['science'].isolated.nChildName = 'deblend_nChild'
config.sourceFluxType = 'apFlux_12_0'
# TODO DM-27843: workaround for gen3 not supporting anyFilterMapsToThis
config.astrometryRefObjLoader.filterMap = {'g': 'phot_g_mean',
'r': 'phot_g_mean',
'i': 'phot_g_mean',
'z': 'phot_g_mean',
'y': 'phot_g_mean',
'N921': 'phot_g_mean',
}
config.astrometryRefObjLoader.anyFilterMapsToThis = None
# The FGCM configurations below are appropriate specifically for RC2; like
# the jointcal information above, this is the least-bad place for it, because
# Gen3 HSC is unlikely to mean anything other than RC2 until we have a new
Expand Down

0 comments on commit 9ea1abb

Please sign in to comment.