Skip to content

Commit

Permalink
Fox spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Jan 2, 2025
1 parent 0c686ca commit 105e3c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/test_10_orbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from sarsen import orbit


def test_OrbitPolyfitIterpolator_datetime64(orbit_ds: xr.Dataset) -> None:
def test_OrbitPolyfitInterpolator_datetime64(orbit_ds: xr.Dataset) -> None:
position = orbit_ds.data_vars["position"]
orbit_interpolator = orbit.OrbitPolyfitIterpolator.from_position(position, deg=4)
orbit_interpolator = orbit.OrbitPolyfitInterpolator.from_position(position, deg=4)

res = orbit_interpolator.position(position.azimuth_time)

Expand All @@ -26,13 +26,13 @@ def test_OrbitPolyfitIterpolator_datetime64(orbit_ds: xr.Dataset) -> None:
assert res.dims == ("azimuth_time", "axis")


def test_OrbitPolyfitIterpolator_timedelta64(orbit_ds: xr.Dataset) -> None:
def test_OrbitPolyfitInterpolator_timedelta64(orbit_ds: xr.Dataset) -> None:
position = orbit_ds.data_vars["position"]
position = position.assign_coords(
azimuth_time=position.azimuth_time - position.azimuth_time[0]
)
epoch = position.azimuth_time.values[0]
orbit_interpolator = orbit.OrbitPolyfitIterpolator.from_position(
orbit_interpolator = orbit.OrbitPolyfitInterpolator.from_position(
position, epoch=epoch, deg=4
)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_20_geocoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def ufunc(
def test_zero_doppler_plane_distance(
dem_ecef: xr.DataArray, orbit_ds: xr.Dataset
) -> None:
orbit_interpolator = orbit.OrbitPolyfitIterpolator.from_position(orbit_ds.position)
orbit_interpolator = orbit.OrbitPolyfitInterpolator.from_position(orbit_ds.position)

res0, (res1, res2) = geocoding.zero_doppler_plane_distance(
dem_ecef,
Expand All @@ -55,7 +55,7 @@ def test_zero_doppler_plane_distance(


def test_backward_geocode(dem_ecef: xr.DataArray, orbit_ds: xr.Dataset) -> None:
orbit_interpolator = orbit.OrbitPolyfitIterpolator.from_position(orbit_ds.position)
orbit_interpolator = orbit.OrbitPolyfitInterpolator.from_position(orbit_ds.position)

res = geocoding.backward_geocode(
dem_ecef,
Expand Down

0 comments on commit 105e3c7

Please sign in to comment.