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-19331: Add detector_unique_name property and fix Subaru names #19

Merged
merged 7 commits into from Apr 25, 2019

Conversation

timj
Copy link
Member

@timj timj commented Apr 17, 2019

  • HSC now has a detector group and uses the correct names of form N_MM
  • SuprimeCam now uses the Miyazaki names
  • Added detector_unique_name property and provide default implementation inherited by all translators.

@timj timj requested a review from SimonKrughoff April 17, 2019 20:24
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.

python/astro_metadata_translator/properties.py Outdated Show resolved Hide resolved
* Adds a basic implementation in the base class to allow it to
  be derived from other properties.
* This required that StubTranslator and the property method
  maker check that a concrete translation method for a property
  has not been created.
Uses the Miyazaki names now.
* Define a detector group
* Includes the mapping from detector number to name (currently
  exported from obs_subaur).
* Defines an explicit to_detector_unique_name to reconstruct
  the common name.
@timj timj merged commit b2bed44 into master Apr 25, 2019
@timj timj deleted the tickets/DM-19331 branch April 25, 2019 20:44
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