Skip to content

Commit db7a1e5

Browse files
committed
return on wrong level
1 parent 9d5fc52 commit db7a1e5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/modelskill/model/vertical.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def _interpolate_to_obs_depths(
115115
for z, obs_v, mod_v in zip(obs_z[isin], obs_val[isin], mod_interp):
116116
records.append({"time": obs_t, "z": z, "obs": obs_v, "mod": mod_v})
117117

118-
return pd.DataFrame(records).set_index("time")
118+
return pd.DataFrame(records).set_index("time")
119119

120120
def align_to_obs_profiles(
121121
self, observation: VerticalObservation, *, spatial_tolerance: float
@@ -131,6 +131,5 @@ def align_to_obs_profiles(
131131
_match_to_nearest_times["obs_time"],
132132
_match_to_nearest_times["mod_time"],
133133
)
134-
print(pairs)
135134

136135
return pairs.reset_index().set_index(["time", "z"]).to_xarray()

0 commit comments

Comments
 (0)