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-10765: Replace existing WCS classes with SkyWcs #9

Merged
merged 1 commit into from
Feb 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion python/lsst/obs/monocam/monocamMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import lsst.afw.image.utils as afwImageUtils
import lsst.afw.geom as afwGeom
import lsst.afw.image as afwImage
from lsst.afw.fits import readMetadata
from lsst.obs.base import CameraMapper
import lsst.pex.policy as pexPolicy
from .monocam import Monocam
Expand Down Expand Up @@ -126,7 +127,7 @@ def bypass_raw(self, datasetType, pythonType, location, dataId):
def bypass_raw_md(self, datasetType, pythonType, location, dataId):
"""Read metadata for raw image, adding fake Wcs"""
filename = location.getLocations()[0]
md = afwImage.readMetadata(filename, 1) # 1 = PHU
md = readMetadata(filename, 1) # 1 = PHU
return md

bypass_raw_amp = bypass_raw
Expand Down