_fits = new Fits(fileOrUrl);
_fits.read();
} catch (Throwable e) { // nom.tam.fits class throws Error in some cases
// Might be an HCompressed FITS file...
try {
_fits = new Fits(new FitsFilterInputStream(_getStream(fileOrUrl)));
_fits.read();
} catch (Throwable e2) {
//e2.printStackTrace();
if (e instanceof FitsException) {
throw (FitsException) e;