Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmims committed Jan 16, 2025
1 parent 715bbf2 commit d3cd927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,8 @@ def crop_date_range(self, case_date_range: util.DateRange, xr_ds, time_coord) ->
new_xr_ds = xr_ds.sel({time_coord.name: slice(ds_start, date_range_cf_end)})
# dataset contains all of requested date range
elif date_range_cf_start>=ds_start and date_range_cf_end<=ds_end:
new_xr_ds = xr_ds.sel({time_coord.name: slice(date_range_cf_start, date_range_cf_end)}
)
new_xr_ds = xr_ds.sel({time_coord.name: slice(date_range_cf_start, date_range_cf_end)})

return new_xr_ds

def check_group_daterange(self, df: pd.DataFrame, date_range: util.DateRange,
Expand Down

0 comments on commit d3cd927

Please sign in to comment.