Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tc holland vtrans #833

Merged
merged 7 commits into from
Jan 11, 2024

Update CHANGELOG.md

d3d9f0c
Select commit
Loading
Failed to load commit list.
Merged

Feature/tc holland vtrans #833

Update CHANGELOG.md
d3d9f0c
Select commit
Loading
Failed to load commit list.
Jenkins - WCR / Jenkins / Unit Tests failed Jan 11, 2024 in 8m 11s

Declarative: Post Actions: warning in 'junit' step

ci / unit_test / unit_test / Shell Script

Error in sh step, with arguments #!/bin/bash export PATH=$PATH:$CONDAPATH source activate climada_env rm -rf tests_xml/ rm -rf coverage/ make unit_test.

script returned exit code 2
Build log
pytest --junitxml=tests_xml/tests.xml --cov --cov-config=.coveragerc --cov-report html --cov-report xml --cov-report term:skip-covered --ignore=climada/test climada/
============================= test session starts ==============================
platform linux -- Python 3.9.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace
plugins: Faker-22.2.0, subtests-0.11.0, cov-4.1.0
collected 648 items

climada/engine/test/test_cost_benefit.py ......................          [  3%]
climada/engine/test/test_forecast.py ...                                 [  3%]
climada/engine/test/test_impact.py ..................................... [  9%]
...                                                                      [ 10%]
climada/engine/test/test_impact_calc.py ............................     [ 14%]
climada/engine/test/test_impact_data.py ...........                      [ 16%]
climada/engine/unsequa/test/test_unsequa.py ................             [ 18%]
climada/entity/disc_rates/test/test_base.py ..............               [ 20%]
climada/entity/exposures/test/test_base.py ..........................    [ 24%]
climada/entity/exposures/test/test_litpop.py ......................      [ 28%]
climada/entity/exposures/test/test_mat.py .........                      [ 29%]
climada/entity/exposures/test/test_nightlight.py ...                     [ 29%]
climada/entity/impact_funcs/test/test_base.py ...                        [ 30%]
climada/entity/impact_funcs/test/test_imp_fun_set.py ................... [ 33%]
....                                                                     [ 33%]
climada/entity/impact_funcs/test/test_tc.py ........                     [ 35%]
climada/entity/impact_funcs/test/test_ws.py .                            [ 35%]
climada/entity/measures/test/test_base.py ...........                    [ 37%]
climada/entity/measures/test/test_meas_set.py .....................      [ 40%]
climada/entity/tag/test/test_tag.py ...                                  [ 40%]
climada/entity/test/test_entity.py .....                                 [ 41%]
climada/hazard/centroids/test/test_centr.py ........                     [ 42%]
climada/hazard/centroids/test/test_vec_ras.py .......................... [ 46%]
..........                                                               [ 48%]
climada/hazard/test/test_base.py ....................................... [ 54%]
.................                                                        [ 56%]
climada/hazard/test/test_base_xarray.py ...............                  [ 59%]
climada/hazard/test/test_storm_europe.py .......                         [ 60%]
climada/hazard/test/test_tc_cc.py ..                                     [ 60%]
climada/hazard/test/test_tc_tracks.py .................................. [ 65%]
......                                                                   [ 66%]
climada/hazard/test/test_tc_tracks_synth.py ..................           [ 69%]
climada/hazard/test/test_trop_cyclone.py ...................             [ 72%]
climada/util/test/test__init__.py .                                      [ 72%]
climada/util/test/test_checker.py ....                                   [ 73%]
climada/util/test/test_config.py ...                                     [ 73%]
climada/util/test/test_coordinates.py .................................. [ 79%]
...........................................                              [ 85%]
climada/util/test/test_dates_times.py .....                              [ 86%]
climada/util/test/test_dwd_icon.py .....                                 [ 87%]
climada/util/test/test_files.py ............                             [ 89%]
climada/util/test/test_finance.py ............F.F                        [ 91%]
climada/util/test/test_hdf5.py ......                                    [ 92%]
climada/util/test/test_lines_polys_handler.py .........................  [ 96%]
climada/util/test/test_plot.py .......                                   [ 97%]
climada/util/test/test_save.py ..                                        [ 97%]
climada/util/test/test_select.py .                                       [ 97%]
climada/util/test/test_value_representation.py .........                 [ 99%]
climada/util/test/test_yearsets.py ......                                [100%]

=================================== FAILURES ===================================
__________________ TestWBWealthAccount.test_pca_CUB_2015_pass __________________

self = <climada.util.test.test_finance.TestWBWealthAccount testMethod=test_pca_CUB_2015_pass>

    def test_pca_CUB_2015_pass(self):
        """Test Processed Capital value Cuba 2015 (missing value)."""
        ref_year = 2015
        cntry_iso = 'CUB'
        res_year, res_val, q = world_bank_wealth_account(cntry_iso, ref_year, no_land=1)
        ref_val = 108675762920.0
        self.assertEqual(q, 0)
        self.assertEqual(res_year, ref_year)
>       self.assertEqual(res_val, ref_val)
E       AssertionError: 108675513472.0 != 108675762920.0

climada/util/test/test_finance.py:205: AssertionError
----------------------------- Captured stdout call -----------------------------
2024-01-11 10:01:03,704 - climada.util.finance - WARNING - No data available for country. Using non-financial wealth instead
2024-01-11 10:01:04,185 - climada.util.finance - INFO - GDP CUB 2015: 8.713e+10.
2024-01-11 10:01:04,196 - climada.util.finance - WARNING - No data for country, using mean factor.
__________________ TestWBWealthAccount.test_tow_IND_1985_pass __________________

self = <climada.util.test.test_finance.TestWBWealthAccount testMethod=test_tow_IND_1985_pass>

    def test_tow_IND_1985_pass(self):
        """Test Total Wealth value India 1985 (outside year range)."""
        ref_year = 1985
        cntry_iso = 'IND'
        var_name = 'NW.TOW.TO'
        res_year, res_val, _ = world_bank_wealth_account(cntry_iso, ref_year,
                                                         variable_name=var_name)
        ref_val = [5415188681934.5,  # values sporadically updated by worldbank
                   5861193808779.6,  # <- October 27 2021
                   5861186556152.8]  # <- June 29 2023
        self.assertEqual(res_year, ref_year)
>       self.assertIn(res_val, ref_val)
E       AssertionError: 5861186367245.2 not found in [5415188681934.5, 5861193808779.6, 5861186556152.8]

climada/util/test/test_finance.py:195: AssertionError
----------------------------- Captured stdout call -----------------------------
2024-01-11 10:01:04,954 - climada.util.finance - INFO - GDP IND 1995: 3.603e+11.
2024-01-11 10:01:05,522 - climada.util.finance - INFO - GDP IND 1985: 2.325e+11.
=============================== warnings summary ===============================
climada/util/__init__.py:25
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/__init__.py:25: FionaDeprecationWarning: This function will be removed in version 2.0. Please use CRS.from_epsg() instead.
    from .constants import *

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/dask/dataframe/_pyarrow_compat.py:17
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/dask/dataframe/_pyarrow_compat.py:17: FutureWarning: Minimal version of pyarrow will soon be increased to 14.0.1. You are using 11.0.0. Please consider upgrading.
    warnings.warn(

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pycountry/__init__.py:10
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pycountry/__init__.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:11
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:11: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    PANDAS_VERSION = LooseVersion(pd.__version__)

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:13
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:13: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    PANDAS_0210 = PANDAS_VERSION >= LooseVersion("0.21.0")

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:14
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:14: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    PANDAS_0220 = PANDAS_VERSION >= LooseVersion("0.22.0")

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:15
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas_datareader/compat/__init__.py:15: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    PANDAS_0230 = PANDAS_VERSION >= LooseVersion("0.23.0")

climada/hazard/centroids/centr.py:1230: 3 warnings
climada/engine/test/test_impact.py: 3 warnings
climada/engine/test/test_impact_calc.py: 1 warning
climada/hazard/centroids/test/test_vec_ras.py: 1 warning
climada/hazard/test/test_base.py: 5 warnings
climada/hazard/test/test_trop_cyclone.py: 1 warning
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:1230: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    np.array(data.get('lat')),

climada/hazard/centroids/centr.py:1231: 3 warnings
climada/engine/test/test_impact.py: 3 warnings
climada/engine/test/test_impact_calc.py: 1 warning
climada/hazard/centroids/test/test_vec_ras.py: 1 warning
climada/hazard/test/test_base.py: 5 warnings
climada/hazard/test/test_trop_cyclone.py: 1 warning
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:1231: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    np.array(data.get('lon')),

climada/hazard/centroids/centr.py:1251: 15 warnings
climada/engine/test/test_impact.py: 15 warnings
climada/engine/test/test_impact_calc.py: 5 warnings
climada/engine/unsequa/test/test_unsequa.py: 104 warnings
climada/entity/measures/test/test_base.py: 16 warnings
climada/hazard/centroids/test/test_centr.py: 5 warnings
climada/hazard/centroids/test/test_vec_ras.py: 10 warnings
climada/hazard/test/test_base.py: 25 warnings
climada/hazard/test/test_trop_cyclone.py: 5 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:1251: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    setattr(centr, centr_name, np.array(data.get(centr_name)))

climada/hazard/base.py:1878: 12 warnings
climada/engine/test/test_impact.py: 12 warnings
climada/engine/test/test_impact_calc.py: 4 warnings
climada/engine/unsequa/test/test_unsequa.py: 52 warnings
climada/entity/measures/test/test_base.py: 8 warnings
climada/hazard/test/test_base.py: 19 warnings
climada/hazard/test/test_trop_cyclone.py: 5 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/base.py:1878: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    hazard_kwargs[var_name] = np.array(hf_data.get(var_name))

climada/hazard/base.py:1892: 3 warnings
climada/engine/test/test_impact.py: 3 warnings
climada/engine/test/test_impact_calc.py: 1 warning
climada/engine/unsequa/test/test_unsequa.py: 13 warnings
climada/entity/measures/test/test_base.py: 2 warnings
climada/hazard/test/test_base.py: 5 warnings
climada/hazard/test/test_trop_cyclone.py: 3 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/base.py:1892: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    u_hdf5.to_string, np.array(hf_data.get(var_name)).tolist())]

climada/util/hdf5_handler.py:65: 9 warnings
climada/engine/test/test_cost_benefit.py: 1572 warnings
climada/entity/disc_rates/test/test_base.py: 51 warnings
climada/entity/exposures/test/test_mat.py: 510 warnings
climada/entity/impact_funcs/test/test_imp_fun_set.py: 51 warnings
climada/entity/measures/test/test_base.py: 1455 warnings
climada/entity/measures/test/test_meas_set.py: 51 warnings
climada/entity/test/test_entity.py: 204 warnings
climada/hazard/centroids/test/test_centr.py: 36 warnings
climada/hazard/test/test_base.py: 64 warnings
climada/util/test/test_coordinates.py: 33 warnings
climada/util/test/test_hdf5.py: 619 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/hdf5_handler.py:65: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    contents[name] = np.array(obj)

../../../../../../../../home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/pickle.py:1717: 3 warnings
climada/engine/test/test_impact_calc.py: 1 warning
climada/engine/unsequa/test/test_unsequa.py: 89 warnings
climada/entity/measures/test/test_base.py: 3 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/pickle.py:1717: UserWarning: Unpickling a shapely <2.0 geometry object. Please save the pickle again; shapely 2.1 will not have this compatibility.
    setstate(state)

climada/engine/test/test_cost_benefit.py: 2019 warnings
climada/entity/exposures/test/test_mat.py: 15 warnings
climada/entity/impact_funcs/test/test_imp_fun_set.py: 450 warnings
climada/entity/measures/test/test_base.py: 3918 warnings
climada/entity/measures/test/test_meas_set.py: 195 warnings
climada/entity/test/test_entity.py: 648 warnings
climada/hazard/test/test_base.py: 5 warnings
climada/util/test/test_hdf5.py: 251 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/hdf5_handler.py:88: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    return ''.join(chr(int(c)) for c in array)

climada/engine/test/test_cost_benefit.py: 18 warnings
climada/engine/test/test_impact.py: 3 warnings
climada/engine/unsequa/test/test_unsequa.py: 12 warnings
climada/entity/measures/test/test_base.py: 3 warnings
climada/entity/measures/test/test_meas_set.py: 12 warnings
climada/entity/test/test_entity.py: 1 warning
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/measures/measure_set.py:313: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead.
    def_color = plt.cm.get_cmap('Greys', len(meas_dict))

climada/engine/test/test_cost_benefit.py: 8 warnings
climada/engine/unsequa/test/test_unsequa.py: 16 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/openpyxl/worksheet/_read_only.py:79: UserWarning: Unknown extension is not supported and will be removed
    for idx, row in parser.parse():

climada/engine/test/test_forecast.py::TestCalc::test_Forecast_calc_properties
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/cfgrib/xarray_plugin.py:10: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(xr.__version__) <= "0.17.0":

climada/engine/test/test_forecast.py::TestCalc::test_Forecast_calc_properties
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/setuptools/_distutils/version.py:345: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    other = LooseVersion(other)

climada/engine/test/test_forecast.py: 4 warnings
climada/hazard/centroids/test/test_vec_ras.py: 1 warning
climada/hazard/test/test_storm_europe.py: 6 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:873: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    xy_pixels = self.geometry.buffer(res / 2).envelope

climada/engine/test/test_impact.py: 94 warnings
climada/hazard/test/test_base.py: 4 warnings
climada/hazard/test/test_trop_cyclone.py: 4 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/h5py/_hl/attrs.py:104: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    self.create(name, data=value)

climada/engine/test/test_impact.py::TestImpactH5IO::test_cycle_hdf5
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_full
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_minimal
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_compressed.py:79: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    arg1 = np.asarray(arg1)

climada/engine/test/test_impact.py::TestImpactH5IO::test_cycle_hdf5
climada/engine/test/test_impact.py::TestImpactH5IO::test_cycle_hdf5
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_full
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_full
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_sputils.py:183: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    arr = np.asarray(arr)

climada/engine/test/test_impact.py::TestImpactH5IO::test_cycle_hdf5
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_full
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_compressed.py:68: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    self.indices = np.array(indices, copy=copy,

climada/engine/test/test_impact.py::TestImpactH5IO::test_cycle_hdf5
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_full
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_compressed.py:70: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    self.indptr = np.array(indptr, copy=copy, dtype=idx_dtype)

climada/engine/test/test_impact.py::TestImpactH5IO::test_cycle_hdf5
climada/engine/test/test_impact.py::TestImpactH5IO::test_read_hdf5_full
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_compressed.py:71: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    self.data = np.array(data, copy=copy, dtype=dtype)

climada/engine/test/test_impact.py: 32 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/numpy/testing/_private/utils.py:649: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    x = np.asanyarray(x)

climada/engine/test/test_impact_data.py: 6 warnings
climada/entity/exposures/test/test_litpop.py: 6 warnings
climada/util/test/test_finance.py: 5 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/finance.py:200: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    close_val = float(close_val.iloc[0].values)

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_plot_unc_imp
climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_plot_unc_imp
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/engine/unsequa/unc_output.py:605: UserWarning: Attempting to set identical low and high xlims makes transformation singular; automatically expanding.
    ax.set_xlim([data.min(), data.max()])

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_plot_unc_imp
climada/util/test/test_plot.py::TestPlots::test_geo_scatter_categorical
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/plot.py:459: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead.
    mpl.cm.get_cmap(cmap_name).colors[:array_sub_n]

climada/engine/unsequa/test/test_unsequa.py: 13 warnings
climada/entity/measures/test/test_base.py: 2 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:1235: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    np.array(data.get('latitude')),

climada/engine/unsequa/test/test_unsequa.py: 13 warnings
climada/entity/measures/test/test_base.py: 2 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:1236: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    np.array(data.get('longitude')),

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_save_load_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_uncertainty_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_uncertainty_pool_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_make_sample_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcCostBenefit::test_calc_uncertainty_pool_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcCostBenefit::test_make_sample_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcCostBenefit::test_make_sample_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/engine/unsequa/calc_base.py:298: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5. Please use `salib.sample.sobol`
    sample_uniform = salib_sampling_method.sample(

climada/engine/unsequa/test/test_unsequa.py: 12 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pandas/core/dtypes/common.py:1636: DeprecationWarning: Converting `np.inexact` or `np.floating` to a dtype is deprecated. The current result is `float64` which is not strictly correct.
    npdtype = np.dtype(dtype)

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_save_load_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_pass
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/SALib/analyze/sobol.py:129: RuntimeWarning: invalid value encountered in divide
    Y = (Y - Y.mean()) / Y.std()

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_save_load_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/engine/unsequa/unc_output.py:1038: PerformanceWarning: 
  your performance may suffer as PyTables will pickle object types that it cannot
  map directly to c-types [inferred_type->mixed,key->block1_values] [items->Index(['si', 'param', 'param2'], dtype='object')]
  
    store.put(var_name, var_val, format='fixed', complevel=9)

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_save_load_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/engine/unsequa/unc_output.py:1038: PerformanceWarning: 
  your performance may suffer as PyTables will pickle object types that it cannot
  map directly to c-types [inferred_type->mixed-integer,key->axis0] [items->None]
  
    store.put(var_name, var_val, format='fixed', complevel=9)

climada/engine/unsequa/test/test_unsequa.py::TestOutput::test_save_load_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/engine/unsequa/unc_output.py:1038: PerformanceWarning: 
  your performance may suffer as PyTables will pickle object types that it cannot
  map directly to c-types [inferred_type->integer,key->block0_items] [items->None]
  
    store.put(var_name, var_val, format='fixed', complevel=9)

climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/numpy/core/_methods.py:206: RuntimeWarning: Degrees of freedom <= 0 for slice
    ret = _var(a, axis=axis, dtype=dtype, out=out, ddof=ddof,

climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
climada/engine/unsequa/test/test_unsequa.py::TestCalcImpact::test_calc_sensitivity_morris_pass
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/numpy/core/_methods.py:195: RuntimeWarning: invalid value encountered in divide
    ret = um.true_divide(

climada/entity/exposures/test/test_base.py::TestFuncs::test_affected_total_value
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_compressed.py:290: SparseEfficiencyWarning: Comparing a sparse matrix with a scalar less than zero using > is inefficient, try using <= instead.
    warn(bad_scalar_msg, SparseEfficiencyWarning)

climada/entity/exposures/test/test_base.py::TestChecker::test_error_geometry_fail
climada/entity/exposures/test/test_base.py::TestChecker::test_error_logs_wrong_crs
climada/entity/exposures/test/test_base.py::TestIO::test_io_hdf5_pass
climada/entity/exposures/test/test_base.py::TestGeoDFFuncs::test_set_crs
climada/entity/exposures/test/test_base.py::TestGeoDFFuncs::test_set_gdf
climada/entity/exposures/test/test_base.py::TestGeoDFFuncs::test_to_crs_inplace_pass
climada/entity/exposures/test/test_base.py::TestGeoDFFuncs::test_to_crs_pass
climada/util/test/test_coordinates.py::TestFunc::test_set_df_geometry_points_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/coordinates.py:2749: FutureWarning: You are adding a column named 'geometry' to a GeoDataFrame constructed without an active geometry column. Currently, this automatically sets the active geometry column to 'geometry' but in the future that will no longer happen. Instead, either provide geometry to the GeoDataFrame constructor (GeoDataFrame(... geometry=GeoSeries()) or use `set_geometry('geometry')` to explicitly set the active geometry column.
    df_val['geometry'] = gpd.GeoSeries(

climada/entity/tag/test/test_tag.py::TestAppend::test_append_different_increase
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:31: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag1 = Tag('file_name1.mat', 'dummy file 1')

climada/entity/tag/test/test_tag.py::TestAppend::test_append_different_increase
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:35: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag2 = Tag('file_name2.mat', 'dummy file 2')

climada/entity/tag/test/test_tag.py::TestAppend::test_append_empty
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:55: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag1 = Tag('file_name1.mat', 'dummy file 1')

climada/entity/tag/test/test_tag.py::TestAppend::test_append_empty
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:56: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag2 = Tag()

climada/entity/tag/test/test_tag.py::TestAppend::test_append_empty
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:62: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag1 = Tag()

climada/entity/tag/test/test_tag.py::TestAppend::test_append_empty
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:63: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag2 = Tag('file_name1.mat', 'dummy file 1')

climada/entity/tag/test/test_tag.py::TestAppend::test_append_equal_same
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:46: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag1 = Tag('file_name1.mat', 'dummy file 1')

climada/entity/tag/test/test_tag.py::TestAppend::test_append_equal_same
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/entity/tag/test/test_tag.py:47: DeprecatedWarning: __init__ is deprecated. This class is not supported anymore and will be removed in the next version of climada.
    tag2 = Tag('file_name1.mat', 'dummy file 1')

climada/hazard/centroids/test/test_centr.py::TestCentroidsReader::test_geodataframe
climada/hazard/test/test_tc_tracks.py::TestIO::test_to_geodataframe_line
climada/hazard/test/test_tc_tracks.py::TestIO::test_to_geodataframe_line
climada/hazard/test/test_tc_tracks.py::TestIO::test_to_geodataframe_line
climada/hazard/test/test_tc_tracks.py::TestFuncs::test_tracks_in_exp_pass
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/geopandas/geodataframe.py:204: FutureWarning: You are adding a column named 'geometry' to a GeoDataFrame constructed without an active geometry column. Currently, this automatically sets the active geometry column to 'geometry' but in the future that will no longer happen. Instead, either provide geometry to the GeoDataFrame constructor (GeoDataFrame(... geometry=GeoSeries()) or use `set_geometry('geometry')` to explicitly set the active geometry column.
    object.__setattr__(self, attr, val)

climada/hazard/centroids/test/test_centr.py: 28 warnings
climada/hazard/centroids/test/test_vec_ras.py: 28 warnings
climada/hazard/test/test_base.py: 14 warnings
climada/hazard/test/test_trop_cyclone.py: 14 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/h5py/_hl/filters.py:250: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    chunks = guess_chunk(shape, maxshape, dtype.itemsize)

climada/hazard/centroids/test/test_centr.py: 12 warnings
climada/hazard/centroids/test/test_vec_ras.py: 6 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/h5py/_hl/group.py:183: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
    dsid = dataset.make_new_dset(group, shape, dtype, data, name, **kwds)

climada/hazard/centroids/test/test_centr.py::TestCentroidsMethods::test_union
climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_apply_decay_no_landfall_pass
climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_calc_decay_no_landfall_pass
climada/hazard/test/test_tc_tracks_synth.py::TestSynth::test_random_no_landfall_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/coordinates.py:681: FutureWarning: `unary_union` returned None due to all-None GeoSeries. In future, `unary_union` will return 'GEOMETRYCOLLECTION EMPTY' instead.
    geom = geom.geometry.unary_union

climada/hazard/centroids/test/test_centr.py::TestCentroidsMethods::test_union
climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_apply_decay_no_landfall_pass
climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_calc_decay_no_landfall_pass
climada/hazard/test/test_tc_tracks_synth.py::TestSynth::test_random_no_landfall_pass
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/shapely/predicates.py:1135: RuntimeWarning: invalid value encountered in contains_xy
    return lib.contains_xy(geom, x, y, **kwargs)

climada/hazard/centroids/test/test_vec_ras.py::TestVector::test_get_closest_point
climada/hazard/centroids/test/test_vec_ras.py::TestRaster::test_get_closest_point
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:832: UserWarning: Geometry is in a geographic CRS. Results from 'distance' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    close_idx = self.geometry.distance(Point(x_lon, y_lat)).values.argmin()

climada/hazard/centroids/test/test_vec_ras.py::TestVector::test_get_pixel_polygons_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/centr.py:1143: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    return self.geometry.buffer(self.meta['transform'].a / 2).envelope

climada/hazard/centroids/test/test_vec_ras.py::TestVector::test_get_pixel_polygons_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/test/test_vec_ras.py:287: UserWarning: Geometry is in a geographic CRS. Results from 'centroid' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    self.assertTrue(np.allclose(poly.centroid[:].y.values, centr.lat))

climada/hazard/centroids/test/test_vec_ras.py::TestVector::test_get_pixel_polygons_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/centroids/test/test_vec_ras.py:288: UserWarning: Geometry is in a geographic CRS. Results from 'centroid' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    self.assertTrue(np.allclose(poly.centroid[:].x.values, centr.lon))

climada/hazard/test/test_base.py::TestSelect::test_select_tight_pass
climada/hazard/test/test_base.py::TestSelect::test_select_tight_pass
climada/hazard/test/test_base.py::TestSelect::test_select_tight_pass
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/scipy/sparse/_index.py:143: SparseEfficiencyWarning: Changing the sparsity structure of a csr_matrix is expensive. lil_matrix is more efficient.
    self._set_arrayXarray(i, j, x)

climada/hazard/test/test_base.py::TestCentroids::test_vector_to_raster_pass
climada/util/test/test_coordinates.py::TestRasterMeta::test_points_to_raster_pass
climada/util/test/test_coordinates.py::TestRasterMeta::test_points_to_raster_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/coordinates.py:2492: FutureWarning: You are adding a column named 'geometry' to a GeoDataFrame constructed without an active geometry column. Currently, this automatically sets the active geometry column to 'geometry' but in the future that will no longer happen. Instead, either provide geometry to the GeoDataFrame constructor (GeoDataFrame(... geometry=GeoSeries()) or use `set_geometry('geometry')` to explicitly set the active geometry column.
    df_poly['geometry'] = apply_box(points_df)

climada/hazard/test/test_base_xarray.py: 2 warnings
climada/hazard/test/test_tc_tracks.py: 25 warnings
climada/hazard/test/test_tc_tracks_synth.py: 2 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/xarray/core/utils.py:494: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.
    warnings.warn(

climada/hazard/test/test_tc_tracks.py: 15 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/xarray/core/dataarray.py:3115: DeprecationWarning: Deleting a single level of a MultiIndex is deprecated. Previously, this deleted all levels of a MultiIndex. Please also drop the following variables: {'id'} to avoid an error in the future.
    ds = self._to_temp_dataset().drop_vars(names, errors=errors)

climada/hazard/test/test_tc_tracks.py::TestIO::test_to_geodataframe_points
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/test/test_tc_tracks.py:517: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    self.assertAlmostEqual(gdf_points.buffer(3).unary_union.area, 348.79972062947854)

climada/hazard/test/test_tc_tracks.py: 2 warnings
climada/util/test/test_coordinates.py: 12 warnings
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pyproj/transformer.py:812: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    return self._transformer._transform_point(

climada/hazard/test/test_tc_tracks.py::TestFuncs::test_tracks_in_exp_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/test/test_tc_tracks.py:900: FutureWarning: The geopandas.dataset module is deprecated and will be removed in GeoPandas 1.0. You can get the original 'naturalearth_lowres' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.
    world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))

climada/hazard/test/test_tc_tracks.py::TestFuncs::test_tracks_in_exp_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/tc_tracks.py:308: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    exp_buffer = exposure.gdf.buffer(distance=buffer, resolution=0)

climada/hazard/test/test_tc_tracks.py::TestFuncs::test_tracks_in_exp_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/tc_tracks.py:311: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    tc_tracks_lines = self.to_geodataframe().buffer(distance=buffer)

climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_decay_end_ocean
climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_decay_penv_gt_pcen
climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_wrong_decay_pass
climada/hazard/test/test_tc_tracks_synth.py::TestSynth::test_random_walk_single_point
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/tc_tracks_synth.py:923: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    rndn = 0.1 * float(np.abs(np.random.normal(size=1) * 5) + 6)

climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_func_decay_p_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/tc_tracks_synth.py:1000: RuntimeWarning: invalid value encountered in divide
    return -np.log((ps_y - p_y) / (ps_y - 1.0)) / x_val

climada/hazard/test/test_tc_tracks_synth.py::TestDecay::test_func_decay_v_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/hazard/tc_tracks_synth.py:989: RuntimeWarning: invalid value encountered in divide
    return -np.log(v_y) / x_val

climada/util/test/test_coordinates.py::TestGetGeodata::test_all_points_on_sea
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/coordinates.py:1556: FutureWarning: `unary_union` returned None due to all-None GeoSeries. In future, `unary_union` will return 'GEOMETRYCOLLECTION EMPTY' instead.
    total_land = countries.geometry.unary_union

climada/util/test/test_coordinates.py::TestGetGeodata::test_get_country_geometries_all_pass
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/test/test_coordinates.py:1122: UserWarning: Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    self.assertAlmostEqual(res.area[0], 1.639510995900778)

climada/util/test/test_lines_polys_handler.py::TestExposureGeomToPnt::test_point_exposure_from_lines
climada/util/test/test_lines_polys_handler.py::TestExposureGeomToPnt::test_point_exposure_from_lines
climada/util/test/test_lines_polys_handler.py::TestGeomImpactCalcs::test_calc_geom_impact_lines
climada/util/test/test_lines_polys_handler.py::TestGeomImpactCalcs::test_calc_geom_impact_mixed
climada/util/test/test_lines_polys_handler.py::TestGeomImpactCalcs::test_calc_geom_impact_mixed
climada/util/test/test_lines_polys_handler.py::TestGeomImpactCalcs::test_impact_pnt_agg
climada/util/test/test_lines_polys_handler.py::TestGdfGeomToPnt::test_gdf_line_to_pnt
climada/util/test/test_lines_polys_handler.py::TestGdfGeomToPnt::test_gdf_line_to_pnt
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/lines_polys_handler.py:931: UserWarning: Geometry is in a geographic CRS. Results from 'length' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
  
    line_lengths = gdf_lines.length

climada/util/test/test_lines_polys_handler.py: 68 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/test/test_lines_polys_handler.py:94: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    check_unchanged_geom_gdf(self, exp_geom.gdf, exp_pnt.gdf)

climada/util/test/test_lines_polys_handler.py: 13 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/lines_polys_handler.py:617: FutureWarning: The 'axis' keyword in DataFrame.groupby is deprecated and will be removed in a future version.
    group = gdf_pnts.groupby(axis=0, level=0)

climada/util/test/test_lines_polys_handler.py::TestGdfGeomToPnt::test_gdf_line_to_pnt
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/test/test_lines_polys_handler.py:511: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    check_unchanged_geom_gdf(self, GDF_LINE, gdf_pnt)

climada/util/test/test_lines_polys_handler.py: 48 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/test/test_lines_polys_handler.py:517: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    check_unchanged_geom_gdf(self, GDF_LINE, gdf_pnt)

climada/util/test/test_lines_polys_handler.py::TestGdfGeomToPnt::test_gdf_poly_to_pnts
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/test/test_lines_polys_handler.py:550: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    check_unchanged_geom_gdf(self, GDF_POLY, gdf_pnt)

climada/util/test/test_lines_polys_handler.py: 214 warnings
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/test/test_lines_polys_handler.py:556: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    check_unchanged_geom_gdf(self, GDF_POLY, gdf_pnt)

climada/util/test/test_lines_polys_handler.py::TestLPUtils::test_get_equalarea_proj
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/geopandas/geoseries.py:628: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
    val = getattr(super(), mtd)(*args, **kwargs)

climada/util/test/test_lines_polys_handler.py::TestLPUtils::test_swap_geom_cols
  /home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/unittest/case.py:550: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    method()

climada/util/test/test_plot.py::TestPlots::test_geo_scatter_categorical
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/plot.py:446: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead.
    cmap = mpl.cm.get_cmap(cmap_arg, array_sub_n)

climada/util/test/test_plot.py::TestPlots::test_geo_scatter_categorical
  /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/climada/util/plot.py:443: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead.
    mpl.cm.get_cmap(cmap_name).colors[:array_sub_n]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /var/lib/jenkins/jobs/climada_branches/branches/feature-tc-holland-vtrans.osprma/workspace/tests_xml/tests.xml -

---------- coverage: platform linux, python 3.9.18-final-0 -----------
Name                                                   Stmts   Miss Branch BrPart  Cover
----------------------------------------------------------------------------------------
climada/__init__.py                                       20      6     10      1    77%
climada/engine/calibration_opt.py                        149    103     70      4    25%
climada/engine/cost_benefit.py                           429    181    144     10    54%
climada/engine/forecast.py                               350     31    130     33    86%
climada/engine/impact.py                                 588    165    223     25    68%
climada/engine/impact_calc.py                            140      2     43      2    98%
climada/engine/impact_data.py                            393    146    180     22    62%
climada/engine/test/test_forecast.py                     120      5     12      1    92%
climada/engine/unsequa/calc_base.py                      128      3     56      3    97%
climada/engine/unsequa/calc_cost_benefit.py               90      2     26      3    96%
climada/engine/unsequa/calc_impact.py                     82      1     18      3    96%
climada/engine/unsequa/input_var.py                      267     87    142     34    60%
climada/engine/unsequa/test/test_unsequa.py              333      2     30      0    99%
climada/engine/unsequa/unc_output.py                     415     77    180     41    76%
climada/entity/disc_rates/base.py                        120     23     24      4    80%
climada/entity/entity_def.py                              55      9     16      2    85%
climada/entity/exposures/base.py                         420     94    163     16    74%
climada/entity/exposures/litpop/gpw_population.py         32     24     12      0    18%
climada/entity/exposures/litpop/litpop.py                330    202    164     13    37%
climada/entity/exposures/litpop/nightlight.py            235    181     98      3    19%
climada/entity/exposures/test/test_litpop.py             174      0     14      2    99%
climada/entity/impact_funcs/base.py                       62     18      6      0    68%
climada/entity/impact_funcs/impact_func_set.py           247     43    110     11    82%
climada/entity/impact_funcs/storm_europe.py               40      4      2      0    90%
climada/entity/impact_funcs/test/test_imp_fun_set.py     401      1     12      1    99%
climada/entity/impact_funcs/trop_cyclone.py              113     12     28      7    87%
climada/entity/measures/base.py                          153     18     44      9    84%
climada/entity/measures/measure_set.py                   207     39     86     12    83%
climada/entity/measures/test/test_meas_set.py            293      1      8      2    99%
climada/entity/tag/tag.py                                 44      7     20      0    80%
climada/hazard/base.py                                   812    228    393     41    70%
climada/hazard/centroids/centr.py                        533    106    232     29    78%
climada/hazard/storm_europe.py                           357    150    122     27    55%
climada/hazard/tc_tracks.py                              939    213    427     30    75%
climada/hazard/tc_tracks_synth.py                        418    166    150     21    60%
climada/hazard/test/test_base.py                         811     15     12      0    98%
climada/hazard/test/test_tc_tracks.py                    676      0     42      3    99%
climada/hazard/test/test_tc_tracks_synth.py              289      0     26      2    99%
climada/hazard/test/test_trop_cyclone.py                 281     12     28      0    96%
climada/hazard/trop_cyclone.py                           416     63    114     13    82%
climada/util/api_client.py                               376    166    158     26    49%
climada/util/checker.py                                   50      4     32      2    90%
climada/util/config.py                                   162     11     80     10    90%
climada/util/coordinates.py                              955    143    378     51    83%
climada/util/dwd_icon_loader.py                           89     33     34     10    59%
climada/util/files_handler.py                             73     21     34      3    72%
climada/util/finance.py                                  173     34     60     15    77%
climada/util/hdf5_handler.py                              33      1     14      2    94%
climada/util/lines_polys_handler.py                      236     31     80     17    83%
climada/util/plot.py                                     292     63    146     26    74%
climada/util/save.py                                      25      6      4      1    69%
climada/util/select.py                                    18      1      9      1    93%
climada/util/test/test_config.py                          39      1      0      0    97%
climada/util/test/test_coordinates.py                    922     12     78      1    98%
climada/util/test/test_dwd_icon.py                        38      4      0      0    89%
climada/util/test/test_files.py                           77      2      6      0    98%
climada/util/value_representation.py                      49      4     20      2    91%
climada/util/yearsets.py                                  65      3     26      4    92%
----------------------------------------------------------------------------------------
TOTAL                                                  20458   2980   4932    601    82%

56 files skipped due to complete coverage.
Coverage HTML written to dir coverage
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED climada/util/test/test_finance.py::TestWBWealthAccount::test_pca_CUB_2015_pass - AssertionError: 108675513472.0 != 108675762920.0
FAILED climada/util/test/test_finance.py::TestWBWealthAccount::test_tow_IND_1985_pass - AssertionError: 5861186367245.2 not found in [5415188681934.5, 5861193808779.6, 5861186556152.8]
========== 2 failed, 646 passed, 13516 warnings in 474.40s (0:07:54) ===========
make: *** [Makefile:23: unit_test] Error 1

Declarative: Post Actions / Archive JUnit-formatted test results

Warning in junit step, with arguments tests_xml/*.xml.

2 tests failed

Details

  • Declarative: Checkout SCM (3.3 sec)
    • ci (8 min 4 sec)
      • lint (1 ms)
        • lint (4 min 4 sec)
      • unit_test (8 min 3 sec)
        • unit_test (8 min 1 sec)
          Error: script returned exit code 2
    • Declarative: Post Actions (3 sec)
      Unstable: 2 tests failed