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

Tickets/DM-14553: Extend multiBand.py to work with dcrCoadds. #204

Merged
merged 1 commit into from Jun 1, 2018

Conversation

isullivan
Copy link
Contributor

Extend multiBand.py to detect, measure, and merge sources on dcrCoadds.

Note that the two commits in this pull request each represent a different way to accomplish this, and only one of them will be used.

In the first commit, I simply sub-class each of the necessary Tasks and update a couple methods with new (hard-coded) values.

In the second commit, I instead replace the existing hard-coded values with dynamic datasetTypes, with defaults that preserve backwards compatibility. This looks neater, but it requires the user to know to specify --id_dstype=dcrCoadd, --id_dstype=dcrCoadd_det, --id_dstype=dcrCoadd_calexp, or --id_dstype=dcrCoadd_meas on the command line depending on which Task is being run.

If the latter approach is strongly preferred, I would appreciate advice on crafting help and error messages that will clue the user in to the correct command-line argument.

@isullivan isullivan merged commit 6f0eb03 into master Jun 1, 2018
@ktlim ktlim deleted the tickets/DM-14553 branch August 25, 2018 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant