Closed esheldon closed 4 years ago
the galsim wcs had the ability to write out the fits hdr keywords to a dict, so we don't need to pass along the header
Use the wcs._writeHeader
method.
We might want to ask @rmjarvis if we can convert this to a public API so it doesn't change on us.
There is a public one writeToFitsHeader
but it takes a bounds instance that is not needed
A writeToDict
method might be useful generally and fit the bill.
looking at the code, I guess I could fake it with galsim.BoundsI(1, anything, 1, anything)
since it only checks that the xmin and xmax are 1
that code will go into descwl_coadd, so I'm ready to merge this one if you are matt
I ran tests locally, true they aren't running in travis since we don't have the catsim data
But the tan-sip doesn't use catsim, so why have the decorators there at all?
It reads data from CATSIM_DIR
closes #48
TODO