Skip to content

Commit

Permalink
fix function name change missed in refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Mar 25, 2024
1 parent 553eeab commit 437fdc9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,15 +419,15 @@ def mock_apply_filter_function(scene, _):


def test_point_to_prefix():
assert process.point_to_prefix(63.0, 128.0) == 'N60E120'
assert process.point_to_prefix(-63.0, 128.0) == 'S60E120'
assert process.point_to_prefix(63.0, -128.0) == 'N60W120'
assert process.point_to_prefix(-63.0, -128.0) == 'S60W120'
assert process.point_to_prefix(0.0, 128.0) == 'N00E120'
assert process.point_to_prefix(0.0, -128.0) == 'N00W120'
assert process.point_to_prefix(63.0, 0.0) == 'N60E000'
assert process.point_to_prefix(-63.0, 0.0) == 'S60E000'
assert process.point_to_prefix(0.0, 0.0) == 'N00E000'
assert process.point_to_region(63.0, 128.0) == 'N60E120'
assert process.point_to_region(-63.0, 128.0) == 'S60E120'
assert process.point_to_region(63.0, -128.0) == 'N60W120'
assert process.point_to_region(-63.0, -128.0) == 'S60W120'
assert process.point_to_region(0.0, 128.0) == 'N00E120'
assert process.point_to_region(0.0, -128.0) == 'N00W120'
assert process.point_to_region(63.0, 0.0) == 'N60E000'
assert process.point_to_region(-63.0, 0.0) == 'S60E000'
assert process.point_to_region(0.0, 0.0) == 'N00E000'


def test_get_lat_lon_from_ncfile():
Expand Down

0 comments on commit 437fdc9

Please sign in to comment.