Skip to content

Commit

Permalink
Merge pull request #93 from lsst/tickets/DM-14372
Browse files Browse the repository at this point in the history
Change logger level from WARN to DEBUG on wcs creation fail
  • Loading branch information
mfisherlevine committed May 9, 2018
2 parents e25808d + 3b73ac5 commit 33181f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/obs/base/cameraMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,8 +1330,8 @@ def exposureFromImage(image, dataId=None, mapper=None, logger=None, setVisitInfo
# raised on failure to create a wcs (and possibly others)
if logger is None:
logger = lsstLog.Log.getLogger("CameraMapper")
logger.warn("wcs set to None; insufficient information found in metadata to create a valid wcs: "
"%s", e.args[0])
logger.debug("wcs set to None; insufficient information found in metadata to create a valid wcs:"
" %s", e.args[0])

exposure.setMetadata(metadata)
elif isinstance(image, afwImage.Exposure):
Expand Down

0 comments on commit 33181f5

Please sign in to comment.