Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions soar_instruments/goodman/adclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _tag_instrument(self):

@astro_data_tag
def _tag_arc(self):
if self.phu.get('OBSTYPE') == 'COMP':
if self.phu.get('OBSTYPE') == 'ARC':
return TagSet(['ARC', 'CAL'])

@astro_data_tag
Expand All @@ -25,7 +25,7 @@ def _tag_bias(self):

@astro_data_tag
def _tag_flat(self):
if self.phu.get('OBSTYPE') == 'FLAT':
if self.phu.get('OBSTYPE') == 'LAMPFLAT':
return TagSet(['FLAT', 'CAL'])

@astro_data_tag
Expand All @@ -40,12 +40,12 @@ def _tag_blue(self):

@astro_data_tag
def _tag_image(self):
if self.phu.get('CAM_ANG') == 0 and self.phu.get('WAVMOD') == 'Imaging':
if self.phu.get('CAM_ANG') == 0 and self.phu.get('WAVMOD') == 'IMAGING':
return TagSet(['IMAGE'])

@astro_data_tag
def _tag_spect(self):
if self.phu.get('CAM_ANG') != 0 and self.phu.get('WAVMOD') != 'Imaging':
if self.phu.get('CAM_ANG') != 0 and self.phu.get('WAVMOD') != 'IMAGING':
return TagSet(['SPECT'])


Expand Down