Skip to content

Commit 181caad

Browse files
committed
Update test_c_image.py
Updating test values to account for new FANO smoothing
1 parent fa3f1b3 commit 181caad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

openet/ssebop/tests/test_c_image.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,11 @@ def test_Image_from_method_kwargs():
566566
@pytest.mark.parametrize(
567567
'tcold_src, image_id, xy, expected',
568568
[
569-
# Old FANO Tcorr: 0.9785567103858176
570-
['FANO', 'LANDSAT/LC08/C02/T1_L2/LC08_042035_20150713', SCENE_POINT, 303.4515201604769],
571-
['FANO', 'LANDSAT/LC08/C02/T1_L2/LC08_042035_20150713', SCENE_POINT, 303.4515201604769],
569+
['FANO', 'LANDSAT/LC08/C02/T1_L2/LC08_042035_20150713', SCENE_POINT, 302.9531086729748],
570+
['FANO', 'LANDSAT/LC08/C02/T1_L2/LC08_042035_20150713', SCENE_POINT, 302.9531086729748],
571+
# Old approach without smoothing
572+
# ['FANO', 'LANDSAT/LC08/C02/T1_L2/LC08_042035_20150713', SCENE_POINT, 303.4515201604769],
573+
# ['FANO', 'LANDSAT/LC08/C02/T1_L2/LC08_042035_20150713', SCENE_POINT, 303.4515201604769],
572574
]
573575
)
574576
def test_Image_tcold_fano_source(tcold_src, image_id, xy, expected, tol=0.000001):

0 commit comments

Comments
 (0)