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 089dd38 commit d2b8057
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 @@ -299,7 +299,7 @@ def test_read_calibrated_dB(self, measurement_filehandler):
xarr = measurement_filehandler.get_dataset(DataQuery(name="measurement", polarization="vv",
calibration=calibration, quantity="dB"), info=dict())
expected = np.array([[np.nan, -15.674268], [4.079997, 5.153585]], dtype=np.float32)
np.testing.assert_allclose(xarr.values[:2, :2], expected)
np.testing.assert_allclose(xarr.values[:2, :2], expected, rtol=1e-6)
assert xarr.dtype == np.float32

def test_read_lon_lats(self, measurement_filehandler):
Expand Down

0 comments on commit d2b8057

Please sign in to comment.