@@ -51,8 +51,8 @@ def time_500ms(clear_sky_index):
5151
5252@pytest .fixture
5353def positions ():
54- # Sample positions based on the previous lat/lon (calculated manually)
55- expect_xpos = np .array ([554863.4 , 555975.4 , 557087.3 ])
54+ # Sample positions based on correct geodetic scaling
55+ expect_xpos = np .array ([546433.8 , 547528.9 , 548623.9 ])
5656 expect_ypos = np .array ([1110838.8 , 1111950.8 , 1113062.7 ])
5757 return np .array ([pt for pt in zip (expect_xpos , expect_ypos )])
5858
@@ -94,9 +94,13 @@ def expect_cs_smooth():
9494
9595@pytest .fixture
9696def expect_vr ():
97- # Expected VR for expecttmscale
98- return np .array ([3. , 3. , 3. , 3. , 3. , 3. , 2.9997844 , 2.9708118 , 2.6806291 ,
99- 2.0726611 , 1.5653324 , 1.2812714 , 1.1389995 ])
97+ # Expected VR for expect_tmscale (updated after fixing latlon_to_xy scaling)
98+ return np .array ([
99+ 3. , 3. , 3. , 3. , 3. , 3. ,
100+ 2.9997677 , 2.9697125 , 2.6750587 ,
101+ 2.0659253 , 1.5611084 , 1.2791058 ,
102+ 1.1379316
103+ ])
100104
101105
102106def test_latlon_to_xy_zero ():
0 commit comments