Skip to content

Commit

Permalink
#178 atm-correction for raster
Browse files Browse the repository at this point in the history
  • Loading branch information
hapipapijuris committed Jul 24, 2024
1 parent 8929ea0 commit ff0624d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions decode/qlook.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def daisy(
kwargs={"fill_value": "extrapolate"},
)
)
da_sub = da_on - da_base.values
da_sub = da_on - da_base.data

# make continuum series
weight = get_chan_weight(da_off, method=chan_weight, pwv=pwv)
Expand Down Expand Up @@ -429,7 +429,11 @@ def raster(
kwargs={"fill_value": "extrapolate"},
)
)
da_sub = da_on - da_base.values
t_atm = da_on.temperature
da_sub = t_atm * (da_on - da_base.data)/ (t_atm - da_base.data)




# make continuum series
weight = get_chan_weight(da_off, method=chan_weight, pwv=pwv)
Expand Down

0 comments on commit ff0624d

Please sign in to comment.