geminiplanetimager / gpi_pipeline

Gemini Planet Imager Data Reduction Pipeline
Other
8 stars 6 forks source link

purge vestigial code for reading older noncompliant FITS files #26

Open dsavransky opened 8 years ago

dsavransky commented 8 years ago

The pipeline has in various places a bunch of now-unnecessary code for dealing with older FITS files that don't comply to the standard format: really old ones that don't put the data in an image extension, ones that don't have the right header keywords, etc. See the code in gpi_load_fits, or the entire function gpi_load_and_preprocess_fits_file.

Now that we've got essentially the final file format, and there is little cause to go back and reprocess pre-2012 data with the current pipeline, I think most of this code could simply be deleted. Anyone have any objections to that?