Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
fixed bug when using --partial=true
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcd-mscb committed Jul 16, 2020
1 parent 5f9efc2 commit f8acf22
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gridmetetl/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,12 +370,12 @@ def run_weights(self):
nanvar = True

if nanvar:
d_tmax[i] = np_get_wval(d_flt_tmax[tgid] - 273.15, tgid, tw, tindex[i])
d_tmin[i] = np_get_wval(d_flt_tmin[tgid] - 273.15, tgid, tw, tindex[i])
d_ppt[i] = np_get_wval(d_flt_ppt[tgid], tgid, tw, tindex[i])
d_rhmax[i] = np_get_wval(d_flt_rhmax[tgid], tgid, tw, tindex[i])
d_rhmin[i] = np_get_wval(d_flt_rhmin[tgid], tgid, tw, tindex[i])
d_ws[i] = np_get_wval(d_flt_ws[tgid], tgid, tw, tindex[i])
d_tmax[i] = np_get_wval(d_flt_tmax[tgid] - 273.15, tw, tindex[i])
d_tmin[i] = np_get_wval(d_flt_tmin[tgid] - 273.15, tw, tindex[i])
d_ppt[i] = np_get_wval(d_flt_ppt[tgid], tw, tindex[i])
d_rhmax[i] = np_get_wval(d_flt_rhmax[tgid], tw, tindex[i])
d_rhmin[i] = np_get_wval(d_flt_rhmin[tgid], tw, tindex[i])
d_ws[i] = np_get_wval(d_flt_ws[tgid], tw, tindex[i])

else:
d_tmax[i] = getaverage(d_flt_tmax[tgid] - 273.15, tw)
Expand Down

0 comments on commit f8acf22

Please sign in to comment.