Project: datamanagement
Issue DM-4133: Change type of LTV1/2 from int to float when writing afw images to FITS
The LTV1/2 problem is originally my bug. I used integer LTV1/2 in {code} afw/src/image/ExposureInfo.cc: data.imageMetadata->set("LTV1", -xy0.getX()); afw/src/image/ExposureInfo.cc: data.imageMetadata->set("LTV2", -xy0.getY()); {code} whereas a more careful reading of the NOAO page [http://iraf.noao.edu/projects/ccdmosaic/imagedef/imagedef.html] introducing them includes floating point examples. The fix is to cast the XY0 values to float. I'm not sure if there'll be any side effects of fixing this, but if so they'll be obvious and trivial.
Story points: 1