Skip to content

Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)

Exercise the actual S50 eastern strip in terrain regression

Cinna Davis5af8051a4c0c
diff --git a/tests/test_real_terrain_tile_seams.py b/tests/test_real_terrain_tile_seams.py
index 501b376..3f43b40 100644
--- a/tests/test_real_terrain_tile_seams.py
+++ b/tests/test_real_terrain_tile_seams.py
@@ -48,6 +48,7 @@ def test_actual_s50_s51_have_different_longitude_widths():
higher_latitude = RASTERS[-51, -74]
assert lower_latitude["width"] == 1200
assert higher_latitude["width"] == 800
- # Absolute tile origin would incorrectly classify S50 as the wider band.
- lon = lower_latitude["bounds_wsen"][0] + lower_latitude["pixel_width_degrees"] / 10
+ # Absolute tile origin would incorrectly classify S50 as the wider band,
+ # moving this observed eastern strip into W073 instead of W074.
+ lon = lower_latitude["bounds_wsen"][2] - lower_latitude["pixel_width_degrees"] / 10
assert _glo90_tile_degrees([-49.5], [lon]).tolist() == [[-50, -74]]