You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
I'm using the latest update of PyWiFi's automated version and I found these issues.
1. LaTeX Activation: (I think easy) I added latex=True in reduce.py, and in some cases, I had to modify the files directly.
2. .tolist Not Working: (I think easy) I added .values.tolist() in data_classifier to resolve the issue.
3. AIRMASS Not Found: This is a bit more challenging. The raw files do include the airmass in the header but not the created new files, resulting in a warning about no airmass detected. See below for the specific warning message:
2024-07-15 15:06:04 - PyWiFeS - WARNING - Failed to get airmass for image /Users//PhD/WiFeS_data/data_products/intermediate/blue/OBK-124992-WiFeS-Blue-UT20231011T070322-4.p01.fits: "Keyword 'AIRMASS' not found."
2024-07-15 15:06:05 - PyWiFeS - WARNING - Failed to get airmass for image..... for all files
The text was updated successfully, but these errors were encountered:
The AIRMASS is extracted in imcombine() but this throws and is caught when AIRMASS is not present. I think the real issue is that the warning message should be omitted unless the IMAGETYP keyword is OBJECT or STANDARD. Making the airmass 1.0 is convenient for computing the mean but leaving the list empty and not writing the AIRMASS to the output in that case would be a more faithful transfer from the source files being combined.
Hi guys,
I'm using the latest update of PyWiFi's automated version and I found these issues.
2024-07-15 15:06:04 - PyWiFeS - WARNING - Failed to get airmass for image /Users//PhD/WiFeS_data/data_products/intermediate/blue/OBK-124992-WiFeS-Blue-UT20231011T070322-4.p01.fits: "Keyword 'AIRMASS' not found."
2024-07-15 15:06:05 - PyWiFeS - WARNING - Failed to get airmass for image..... for all files
The text was updated successfully, but these errors were encountered: