diff --git a/decode/qlook.py b/decode/qlook.py index f5594ca..854eac0 100644 --- a/decode/qlook.py +++ b/decode/qlook.py @@ -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) @@ -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)