Trim a fits file of extraneous masked pixels, convert 0.0000 pixels into masked pixels
Fix a fits file so that the data array and fits header descriptions agree on the number of axes used.