ccdproc icon indicating copy to clipboard operation
ccdproc copied to clipboard

Using reproject_exact in wcs_project

Open ghost opened this issue 6 years ago • 1 comments

The wcs_project function in ccdproc (v2.0) currently only supports reproject_interp for reprojection.

From a quick look at the sources it would seem that to use reproject_exact all I need to do is change the two calls to reproject_interp to reproject_exact, passing the same parameters.

Am I missing something or would this work?

If so I'm surprised that wcs_project doesn't support an argument to determine which of the reproject reprojection functions should be used. Could that be added (as an optional argument, defaulting to reproject_interp for backwards compatibility)?

ghost avatar Mar 27 '19 16:03 ghost

Good suggestion, thanks @nakbrooks

mwcraig avatar Apr 18 '19 02:04 mwcraig