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-27147: consolidate skymap definitions in Gen3 #431

Merged
merged 2 commits into from Nov 26, 2020
Merged

Conversation

TallJimbo
Copy link
Member

No description provided.

Copy link
Contributor

@SimonKrughoff SimonKrughoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

We now always write skymaps to the same dataset type and collection,
so those are no longer useful arguments.  And we write the dataset
as well as adding the dimensions in BaseSkyMap.register now, so there's
less for these to do.

This also fixes the handling of config.doAppend in MakeDiscreteSkyMap,
which can't have worked properly before because you're just not allowed
to update a skymap in place without changing its name.  The user is
now required to supply an old name that must differ from the new name
when appending.

The makeGen3SkyMap.py script here really should be converted to a
butler subcommand, but I don't want any more scope on this ticket.
It doesn't really need to be backed by a Task, either, given how
simple it is, but that might make it a bit easier to get the right
defualt configuration from obs packages, which is fairly important.
@TallJimbo TallJimbo merged commit fec247c into master Nov 26, 2020
@TallJimbo TallJimbo deleted the tickets/DM-27147 branch November 26, 2020 05:15
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

2 participants