Skip to content

Commit

Permalink
Narrow down time range using window parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKimDWR committed Nov 20, 2024
1 parent 5563aaf commit ec09380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schimpy/batch_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def retrieve_ts_obs(self, station_id, subloc, variable, window,
else:
raise Exception(
"Multiple column series received. Need to implement selector")
ts_obs = ts_obs.squeeze()
ts_obs = ts_obs[window[0]:window[1]].squeeze()
except ValueError as e:
raise
self.logger.warning(
Expand Down

0 comments on commit ec09380

Please sign in to comment.