Skip to content

Commit

Permalink
Merge pull request #57 from lsst-sqre/tickets/DM-35058
Browse files Browse the repository at this point in the history
[DM-35058] Disable masking on cutouts
  • Loading branch information
rra authored Jun 1, 2022
2 parents 0c8ba53 + 5cf373c commit cff0c79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Change log
##########

0.4.1 (unreleased)
==================

- Stop masking pixels outside the cutout stencil.
The current performance of masking is unreasonably slow for ``CIRCLE`` cutouts, and masking isn't required by the SODA standard.
We may revisit this later with a faster algorithm.

0.4.0 (2022-05-31)
==================

Expand Down
3 changes: 1 addition & 2 deletions src/vocutouts/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,11 @@ def cutout(
# Perform the cutout.
logger.info("Starting cutout request")
try:
result = backend.process_uuid(sky_stencils[0], uuid)
result = backend.process_uuid(sky_stencils[0], uuid, mask_plane=None)
except Exception as e:
logger.exception("Cutout processing failed")
msg = f"Error Cutout processing failed\n{type(e).__name__}: {str(e)}"
raise TaskTransientError(msg)
logger.info("Cutout request completed")

# Return the result URL. This must be a dict representation of a
# vocutouts.uws.models.JobResult.
Expand Down

0 comments on commit cff0c79

Please sign in to comment.