Rewrite TestRPmatrix::test_local_exceedance_imp_pass
to not rely on loading data
#915
Labels
accepting pull request
Contribute by raising a pull request to resolve this issue!
bug
task
something that needs to be done
Describe the bug
Following the simple installation guide, the base unit tests currently fail (for a single test). This is a simple roundoff error failure for
test_local_exceedance_imp_pass
.To Reproduce
Steps to reproduce the behavior/error:
mamba create -n climada_env -c conda-forge climada
mamba activate climada_env
python -m unittest climada.engine.test.test_impact
Expected behavior
Tests should pass!
Climada Version: 4.1.0
System Information (please complete the following information):
Additional context
climada
. It persists withclimada-petals
installed.bottleneck
but this didn't do the trick. I've found in the past thatbottleneck
can lead to roundoff level issues (bottleneck : Wrong mean for float32 array pydata/xarray#1346, Disable bottleneck by default? pydata/xarray#7344).The text was updated successfully, but these errors were encountered: