spacetelescope / drizzlepac

AstroDrizzle for HST images.
https://drizzlepac.readthedocs.io
BSD 3-Clause "New" or "Revised" License
50 stars 39 forks source link

MVM: Define WCS only for exposed area of SkyCell #1041

Closed stscijgbot-hstdp closed 3 years ago

stscijgbot-hstdp commented 3 years ago

Issue HLA-569 was created on JIRA by Warren Hack:

One way to minimize the amount of memory required for creating MVM products is to only drizzle to an output array that encompasses just the area of the SkyCell which has HST exposures.

This ticket will focus on developing a function or method which will use the SkyCell masks to define the minimum bounding box of all the HST exposures in the SkyCell. The output will be an HSTWCS object or headerlet file (depending on how it will need to be used when calling AstroDrizzle) that defines the minimum array common to ALL the exposures for the SkyCell.

stscijgbot-hstdp commented 3 years ago

Comment by Warren Hack on JIRA:

Drizzlepac PR #⁠1043 has been submitted. This PR adds a new attribute to the SkyFootprint class, bounded_wcs. This attribute get automatically computed upon completion of the '.build()' method.