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

DM-25458: Refactor raw/calib collection naming #265

Merged
merged 8 commits into from Jun 20, 2020
Merged

Conversation

timj
Copy link
Member

@timj timj commented Jun 19, 2020

  • Use single location for combining instrument name with collection label.
  • No longer require the user to specify the output collection for ingest-raws and write-curated-calibrations.

timj added 5 commits June 18, 2020 16:16
This stops us having to remember whether it's instrument/raw
or raw/instrument.
The output_run is now optional on the command line and if not
specified a suitable value will be used that is derived from
the data. We now allow files from multiple instruments
to be ingested at once (assuming they are compatible with
the Task being used) into their own collections.
python/lsst/obs/base/_instrument.py Show resolved Hide resolved
python/lsst/obs/base/_instrument.py Outdated Show resolved Hide resolved
python/lsst/obs/base/_instrument.py Show resolved Hide resolved
No longer required to specify calib/hsc on the command line.
timj added 2 commits June 19, 2020 14:22
This simplifies the subaru implementation such that that subclass
does not have to recalculate the run.
We need something to give us the default raw collection
name but since we can't predict all the other defaults
at this time, change the default method to specifically
relate to raws.

As part of this we move from "construct" to "make" in
the API.
@timj timj merged commit 3c4dce0 into master Jun 20, 2020
@timj timj deleted the tickets/DM-25458 branch June 20, 2020 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants