We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2832ac commit a50f0ffCopy full SHA for a50f0ff
regional_mom6/regional_mom6.py
@@ -2768,16 +2768,6 @@ def regrid_velocity_tracers(
2768
"units": time_units,
2769
}
2770
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
- )
2781
# This to change the time coordinate.
2782
segment_out = rgd.add_or_update_time_dim(segment_out, times)
2783
segment_out.time.attrs = {
0 commit comments