You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_load_raster_clipping fails when comparing NaN values. The test data is written with a NODATA_value of -9999, but the core_hazimp.jobs.jobs.LoadRaster class is not setting the NODATA value correctly.
test_load_raster_clipping
fails when comparing NaN values. The test data is written with aNODATA_value
of -9999, but thecore_hazimp.jobs.jobs.LoadRaster
class is not setting the NODATA value correctly.See the output from the
test_jobs.py
unittest.FAIL: test_load_raster_clipping (core_hazimp.jobs.test_jobs.TestJobs)
Traceback (most recent call last):
File "C:\WorkSpace\hazimp\core_hazimp\jobs\test_jobs.py", line 480, in test_load_raster_clipping
con_in.exposure_att['haz_actual']), msg)
AssertionError: con_in.exposure_att[haz_v]
0 4.0
1 NaN
2 6.0
3 NaN
4 NaN
Name: haz_v, dtype: float64
not = con_in.exposure_att['haz_actual']
0 4.0
1 NaN
2 6.0
3 NaN
4 -9999.0
Name: haz_actual, dtype: float64
The text was updated successfully, but these errors were encountered: