Skip to content

pixel_scale has wrong units #831

@schlafly

Description

@schlafly

We specify that pixel_scale and pixel_scale_ref have units of arcsec / pix, but in romancal we create them with units of degree / pix. We seem to be doing this consistently in romancal, so if we want to change it we need to change it in a number of places. The skycell reference file specified arcsec / pix and is actually in arcsec / pix, which would be one reason to make the wholesale change rather than a documentation change.

pixel_scale:
title: Pixel Scale at Image Center (arcseconds per pixel)

I started one PR to make these changes here:
spacetelescope/romancal#2211
but abandoned it when I realized that we were using degree / pixel more consistently than I had thought. If we wanted to move to arcsec / pixel (as we intended), we would need at least the changes in that PR plus additional changes in the skycell code which generates wcsinfo from the reference file, plus checks to see if any users of pixel_scale (source_catalog, multiband_catalog, others?) use these values.

The last concern would be with matching Webb, but I don't immediately see a Webb equivalent of pixel_scale (surprisingly??). There are cdelts in wcsinfo that are presumably in degrees / pixel that I suspect would be the equivalent, which we wouldn't really need to feel bound by.

We should either update the documentation or update romancal to agree with the documentation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions