Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rdPatmore committed Jun 12, 2023
1 parent 1202eef commit a1582c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pybdy/nemo_bdy_extr_tm3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ def time_interp(self, year, month):
time_counter[t] = tmp_cal.date2num(
self.d_bdy[self.var_nam[var_id]]["date"][t]
)

date_000 = datetime(year, month, 1, 12, 0, 0)
if month < 12:
date_end = datetime(year, month + 1, 1, 12, 0, 0)
Expand Down Expand Up @@ -1066,7 +1066,7 @@ def time_interp(self, year, month):
axis=0,
bounds_error=True,
)
ds = intfn(target_time)
self.d_bdy[v][year]["data"] = intfn(target_time)

# update time_counter
self.time_counter = target_time
Expand Down

0 comments on commit a1582c6

Please sign in to comment.