Skip to content

Commit

Permalink
lib/data: remove commented-out temperature interp
Browse files Browse the repository at this point in the history
Commented out since first commit.
Uses the wrong variable for temperature in CM2.6
(surface_temp, not surface_temperature).
  • Loading branch information
raehik committed Dec 11, 2023
1 parent 9b94d37 commit 414aa8e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/gz21_ocean_momentum/lib/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,6 @@ def compute_forcings_and_coarsen_cm2_6(
if nan_or_zero == "zero":
u_v_dataset = u_v_dataset.fillna(0.0)

# Interpolate temperature
# interp_coords = dict(xt_ocean=u_v_dataset.coords['xu_ocean'],
# yt_ocean=u_v_dataset.coords['yu_ocean'])
# u_v_dataset['temp'] = u_v_dataset['surface_temperature'].interp(
# interp_coords)

# High res advection terms
adv = _advections(u_v_dataset, grid_data)
# Filtered advections
Expand Down

0 comments on commit 414aa8e

Please sign in to comment.