0 votes
43 views
I'm looking to make image cutouts of fixed pixel size for several hundred objects from the DES DR1 catalog. I notice that when specifying the size/FOV of the images (in degrees) when doing an SIA query, there can be slight variations (+- a few pixels) in image sizes for each cutout. Is there any way to fix the size of the image in pixels when querying?
asked Apr 8 by jasonpoh (150 points) | 43 views

1 Answer

0 votes
Hi Jason,

So it arises because the SIA query logic works in WCS coordinates, and does a conversion to pixel coordinates.  There is some rounding error in this conversion that will depend on position, so there isn't yet a way to enforce a fixed pixel size, other than specifying slightly larger than needed size and then trimming afterwards. We do have a rewrite underway to change the query logic to deal directly in pixel coordinates, and this will make the images return the same number of pixels, but this is not yet ready for deployment.

Knut Olsen
answered Apr 12 by anonymous

137 questions

126 answers

95 comments

827 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.