Steffenhir / GraXpert

GraXpert is an astronomical image processing program for extracting and removing gradients from the background of your astrophotos.
https://www.graxpert.com/
GNU General Public License v3.0
158 stars 16 forks source link

Handle different FITS extensions #175

Open ajeb78 opened 2 months ago

ajeb78 commented 2 months ago

GraXpert assumes that FITS files should have the extension .fits, and adds this if it is not present.

However there are in reality several FITS extensions in widespread use including .fit and .fts

This can result in a situation where if the GraXpert CLI is given an option like -output image.fit the actual saved file will be image.fit.fits (or even image.fit_background.fits for the extracted background image), which is not ideal.