Skip to content

Commit

Permalink
Mask zero values
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Jul 12, 2022
1 parent effa59f commit 9d492bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions winterdrp/pipelines/wirc/wirc_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def load_raw_wirc_image(
header[coadd_key] = 1
if proc_history_key not in header.keys():
header[proc_history_key] = ""

data[data == 0] = np.nan
return data, header


Expand Down

0 comments on commit 9d492bc

Please sign in to comment.