diff --git a/kai/instruments.py b/kai/instruments.py index 4c4502f..64a6eb0 100644 --- a/kai/instruments.py +++ b/kai/instruments.py @@ -276,7 +276,7 @@ def get_position_angle(self, hdr): #if in PCU mode, read the PCU rotation angle instead if 'PCUZ' in hdr.keys(): - if hdr['PCUZ'] > 20: + if float(hdr['PCUZ']) > 20.0: pcu_angle = float(hdr['PCUR']) pinhole_angle = 65.703 #the angle at which the pihole mask is horizontal. # rotator_angle = hdr['ROTPPOSN']