Skip to content

Commit

Permalink
Merge pull request #467 from lsst/tickets/DM-42636
Browse files Browse the repository at this point in the history
DM-42636: Attach translator class to Instrument
  • Loading branch information
timj committed Feb 29, 2024
2 parents 76011c9 + c969b86 commit 51e829d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
34 changes: 0 additions & 34 deletions python/lsst/obs/hsc/makeHscRawVisitInfo.py

This file was deleted.

2 changes: 2 additions & 0 deletions python/lsst/obs/subaru/_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

from functools import lru_cache

from astro_metadata_translator import HscTranslator
import astropy.time
from lsst.utils import getPackageDir
from lsst.afw.cameraGeom import makeCameraFromPath, CameraConfig
Expand All @@ -56,6 +57,7 @@ class HyperSuprimeCam(Instrument):
filterDefinitions = HSC_FILTER_DEFINITIONS
additionalCuratedDatasetTypes = ("bfKernel", "transmission_optics", "transmission_sensor",
"transmission_filter", "transmission_atmosphere", "yBackground")
translatorClass = HscTranslator

def __init__(self, **kwargs):
super().__init__(**kwargs)
Expand Down

0 comments on commit 51e829d

Please sign in to comment.