Skip to content

Commit

Permalink
debugging TILEDEC
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Sep 4, 2024
1 parent 14d9b4e commit 2ce7f95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion py/specprodDB/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ def patch_exposures(src_exposures, dst_exposures, first_night=None):
if np.any(dst_exposures_patched[column].mask[dst_exposures_index]):
dst_exposures_mask_matched = dst_exposures_patched[column].mask[dst_exposures_index]
else:
if column == 'TILERA' or column == 'TILEDEC':
if column == 'TILERA':
dst_exposures_mask_matched = ((dst_exposures_patched['TILERA'][dst_exposures_index] == 0) &
(dst_exposures_patched['TILEDEC'][dst_exposures_index] == 0))
elif column == 'TILEDEC':
dst_exposures_mask_matched = ((dst_exposures_patched['TILERA'][dst_exposures_index] == 0) &
(dst_exposures_patched['TILEDEC'][dst_exposures_index] == 0))
elif column == 'MJD':
Expand Down

0 comments on commit 2ce7f95

Please sign in to comment.