For filters without color term in hscpipe

Color term for NB926 and N400 are not set in hscpipe 7. You can set these filters by using config file or editing some scripts in hscpipe.

Config files are generated under rerun/[rerun name]/config once hscpipe commands had been run. Copy and edit it to make your own config file. In case you want to reduce NB400 and NB926 with singleFrameDriver.py, add the following colorterms in your configfile following Color terms.

# newly added
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N400']=lsst.pipe.tasks.colorterms.Colorterm()
# name of primary filter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N400'].primary='g'

# name of secondary filter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N400'].secondary='r'

# Constant parameter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N400'].c0=0.176542

# First-order parameter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N400'].c1=1.127055

# Second-order parameter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N400'].c2=0.505502

# newly added
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N926']=lsst.pipe.tasks.colorterms.Colorterm()
# name of primary filter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N926'].primary='z'

# name of secondary filter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N926'].secondary='y'

# Constant parameter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N926'].c0=0.005230

# First-order parameter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N926'].c1=-0.574448

# Second-order parameter
config.processCcd.calibrate.photoCal.colorterms.data['ps1*'].data['N926'].c2=-0.330899

Then run SingleFrameDriver.py with option –configfile [config file name]. Please see also hscPipe command.

If you can edit hscpipe script, edit the follows based on Color terms. Please ask to helpdesk if there are unknown values.

~/stack/miniconda3-4.5.12-1172c30/Linux64/obs_subaru/7.7.2-hsc+4/python/lsst/obs/hsc/hscFilters.py

~/stack/miniconda3-4.5.12-1172c30/Linux64/obs_subaru/7.7.2-hsc+4/hsc/transmission/

~/stack/miniconda3-4.5.12-1172c30/Linux64/obs_subaru/7.7.2-hsc+4/config/hsc/colorterms.py

~/stack/miniconda3-4.5.12-1172c30/Linux64/obs_subaru/7.7.2-hsc+4/config/hsc/extinctionCoeffs.py

~/stack/miniconda3-4.5.12-1172c30/Linux64/obs_subaru/7.7.2-hsc+4/config/hsc/mergeCoaddDetections.py

~/stack/miniconda3-4.5.12-1172c30/Linux64/obs_subaru/7.7.2-hsc+4/config/hsc/mergeCoaddMeasurements.py