Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-31221

Investigate making HIPS coadds from tract coadds

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      With precise mapping available from DM-29534 it should be possible to remap coadds into HIPS format which can then be used for interactive viewing. This ticket is to explore how to do this, and to file/link additional tickets that might be necessary to make a pipetask to make this maps (including, perhaps DM-13483 and integrating healpix knowledge into the butler).

        Attachments

          Activity

          Hide
          erykoff Eli Rykoff added a comment -

          Following on DM-31417, we can make proper HPX grid wcs projections to do the warping. As a proof-of-concept I have written a short script hips_test_warping_script.py that combines the wcs objects from DM-31417 with the multi-tract template machinery from DM-29310 (specifically the run task in https://github.com/lsst/ip_diffim/blob/master/python/lsst/ip/diffim/getTemplate.py#L603 ). To make a proper task requires DM-13483 and adding healpix dimensions into the butler.

          Note that the output of the test script are afw exposures and not proper HiPS images. However, the image plane from these afw exposures can be written to the proper path with a couple of extra header keywords and the correct filename to make a proper HiPS image without any further pixel modifications.

          In the test script I take two neighboring i-band HSC RC2 patches and make one HPX exposure that completely overlaps one of the patches, and one HPX exposure that overlaps two neighboring patches. I then displayed these side-by-side in ds9 and matched scale and WCS. Note that due to the different projections (tangent and HPX) "blinking" does not work well. I drew circles at a few object locations and pasted these at matching positions to show that the mapping is correct.

          Coadd and HPX image that is fully contained:

          Coadd and HPX that falls over the edge (note that you can't obviously see the patch transition in the background of the HPX image, which is good):

          Show
          erykoff Eli Rykoff added a comment - Following on DM-31417 , we can make proper HPX grid wcs projections to do the warping. As a proof-of-concept I have written a short script hips_test_warping_script.py that combines the wcs objects from DM-31417 with the multi-tract template machinery from DM-29310 (specifically the run task in https://github.com/lsst/ip_diffim/blob/master/python/lsst/ip/diffim/getTemplate.py#L603 ). To make a proper task requires DM-13483 and adding healpix dimensions into the butler. Note that the output of the test script are afw exposures and not proper HiPS images. However, the image plane from these afw exposures can be written to the proper path with a couple of extra header keywords and the correct filename to make a proper HiPS image without any further pixel modifications. In the test script I take two neighboring i-band HSC RC2 patches and make one HPX exposure that completely overlaps one of the patches, and one HPX exposure that overlaps two neighboring patches. I then displayed these side-by-side in ds9 and matched scale and WCS. Note that due to the different projections (tangent and HPX) "blinking" does not work well. I drew circles at a few object locations and pasted these at matching positions to show that the mapping is correct. Coadd and HPX image that is fully contained: Coadd and HPX that falls over the edge (note that you can't obviously see the patch transition in the background of the HPX image, which is good):
          Hide
          yusra Yusra AlSayyad added a comment -

          This is done, right? This investigation turned into the task that makes HEALPIX coadds and the task that turns those into HIPS trees on DM-34689.

          Show
          yusra Yusra AlSayyad added a comment - This is done, right? This investigation turned into the task that makes HEALPIX coadds and the task that turns those into HIPS trees on DM-34689 .

            People

            Assignee:
            erykoff Eli Rykoff
            Reporter:
            erykoff Eli Rykoff
            Watchers:
            Eli Rykoff, Gregory Dubois-Felsmann, Yusra AlSayyad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.