-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Received the following error on event S230531f (a "burst" detection, so there is no probability breakdown. I assume this was the cause of the issue.
Traceback (most recent call last): File "/home/ligo_files/LIGHETR_alert_stable/LIGHETR_Alert_System/Final Directory/Alert Main.py", l$
process_fits(fits_file = skymap, alert_message = message_content, skip_test_alerts = True)
File "/home/ligo_files/LIGHETR_alert_stable/LIGHETR_Alert_System/Final Directory/Alert Main.py", l$
skymap,header = hp.read_map(singleorder_file_name, h=True, verbose=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/ligoenv/lib/python3.11/site-packages/astropy/utils/decorators.py", lin$
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/ligoenv/lib/python3.11/site-packages/healpy/fitsfunc.py", line 370, in$
filename = pf.open(filename, memmap=memmap)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/ligoenv/lib/python3.11/site-packages/astropy/io/fits/hdu/hdulist.py", $
return HDUList.fromfile(
^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/ligoenv/lib/python3.11/site-packages/astropy/io/fits/hdu/hdulist.py", $
return cls._readfrom(
^^^^^^^^^^^^^^
File "/root/miniconda3/envs/ligoenv/lib/python3.11/site-packages/astropy/io/fits/hdu/hdulist.py", $
raise OSError("Empty or corrupt FITS file")
OSError: Empty or corrupt FITS file