sdss / lvmdrp

Local Volume Mapper (LVM) Data Reduction Pipeline
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

DRP run on very early data that have no PA in the header fails to generate the asgtrometry #97

Closed ndrory closed 2 months ago

ndrory commented 2 months ago

ERROR on tileid, mjd, exposure: 11111, 60253, 7157 Traceback (most recent call last): File "/uufs/http://chpc.utah.edu/common/home/sdss50/software/git/sdss/lvmdrp/1.0.1/python/lvmdrp/main.py", line 1899, in run_drp science_reduction(expnum, use_fiducial_master=True, clean_ancillary=clean_ancillary, File "/uufs/http://chpc.utah.edu/common/home/sdss50/software/git/sdss/lvmdrp/1.0.1/python/lvmdrp/main.py", line 1687, in science_reduction add_astrometry(in_image=dsci_path, out_image=dsci_path, in_agcsci_image=agcsci_path, in_agcskye_image=agcskye_path, in_agcskyw_image=agcskyw_path) File "/uufs/http://chpc.utah.edu/common/home/sdss50/software/git/sdss/lvmdrp/1.0.1/python/lvmdrp/functions/imageMethod.py", line 4162, in add_astrometry getfibradec('sci', platescale=FIDUCIAL_PLATESCALE) File "/uufs/http://chpc.utah.edu/common/home/sdss50/software/git/sdss/lvmdrp/1.0.1/python/lvmdrp/functions/imageMethod.py", line 4149, in getfibradec posangrad=PAobs*numpy.pi/180


TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'