Skip to content

Commit a50f0ff

Browse files
committed
Finishmerge
1 parent f2832ac commit a50f0ff

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

regional_mom6/regional_mom6.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2768,16 +2768,6 @@ def regrid_velocity_tracers(
27682768
"units": time_units,
27692769
}
27702770

2771-
times = xr.DataArray(
2772-
np.arange(
2773-
0, #! Indexing everything from start of experiment = simple but maybe counterintutive?
2774-
segment_out[self.time].shape[
2775-
0
2776-
], ## Time is indexed from start date of window
2777-
dtype=float,
2778-
), # Import pandas for this shouldn't be a big deal b/c it's already kinda required somewhere deep in some tree.
2779-
dims=["time"],
2780-
)
27812771
# This to change the time coordinate.
27822772
segment_out = rgd.add_or_update_time_dim(segment_out, times)
27832773
segment_out.time.attrs = {

0 commit comments

Comments
 (0)