Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OpenDrift/opendrift
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 83d42beb784f3dce7e802b946ae130011495b224
Choose a base ref
..
head repository: OpenDrift/opendrift
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 549826a21c1b26afa262ed523ac594c04cabdc43
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 opendrift/readers/basereader/variables.py
4 changes: 2 additions & 2 deletions opendrift/readers/basereader/variables.py
Original file line number Diff line number Diff line change
@@ -646,7 +646,7 @@ def get_variables_interpolated(self, variables, profiles=None,

self.timer_end('preparing')

env, env_profile = self._get_variables_interpolated_(variables, profiles, profiles_depth,
env, env_profiles = self._get_variables_interpolated_(variables, profiles, profiles_depth,
time, lon, lat, z, block, rotate_to_proj, ind_covered, reader_x, reader_y)

# Rotating vectors fields
@@ -709,6 +709,6 @@ def get_variables_interpolated(self, variables, profiles=None,
self.timer_end('masking')

self.timer_end('total')
return env, env_profile
return env, env_profiles