Skip to content

Commit

Permalink
Fix tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Oct 11, 2024
1 parent d2b8057 commit 4b51512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/tests/reader_tests/test_sar_c_safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ def test_reading_from_reader(measurement_file, calibration_file, noise_file, ann
array = dataset_dict["measurement"]
np.testing.assert_allclose(array.attrs["area"].lons, expected_longitudes[:10, :10], atol=1e-3)
expected_db = np.array([[np.nan, -15.674268], [4.079997, 5.153585]])
np.testing.assert_allclose(array.values[:2, :2], expected_db)
np.testing.assert_allclose(array.values[:2, :2], expected_db, rtol=1e-6)
assert array.dtype == np.float32


Expand Down

0 comments on commit 4b51512

Please sign in to comment.