Skip to content

Commit

Permalink
one line bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashjbarnes committed Nov 15, 2023
1 parent 6b5817e commit c0bdc46
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,12 +1403,9 @@ def brushcut(self, ryf=False):
),
regridder_tracer(
rawseg[
[self.eta.rename({self.xh: "lon", self.yh: "lat"})]
+ [
self.tracers[i].rename({self.xh: "lon", self.yh: "lat"})
for i in self.tracers
]
]
[self.eta]
+ [self.tracers[i] for i in self.tracers]
].rename({self.xh: "lon", self.yh: "lat"})
),
]
)
Expand Down

0 comments on commit c0bdc46

Please sign in to comment.