Skip to content

Add classes for calibrating average ensemble and ensemble of tragedies#1048

Merged
emanuel-schmid merged 126 commits into
developfrom
cross-calibrate-impact-functions
Sep 29, 2025
Merged

Add classes for calibrating average ensemble and ensemble of tragedies#1048
emanuel-schmid merged 126 commits into
developfrom
cross-calibrate-impact-functions

Merge branch 'cross-calibrate-impact-functions' of github.com:CLIMADA…

e3da3ec
Select commit
Loading
Failed to load commit list.
Jenkins - WCR / Pylint succeeded Sep 3, 2025 in 0s

21 new issues, 879 total

Total New Outstanding Fixed Trend
879 21 858 26 👍

Reference build: climada_branches » develop #1260

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 3 18

Annotations

Check warning on line 292 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-complex

LOW:
'plot_shiny' is too complex. The McCabe rating is 11
Raw output
no description found

Check warning on line 287 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

invalid-name

LOW:
Variable name "ax" doesn't conform to '(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$' pattern
Raw output
Used when the name doesn't match the regular expression associated to its type(constant, variable, class...).

Check warning on line 292 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-arguments

LOW:
Too many arguments (8/7)
Raw output
Used when a function or method takes too many arguments.

Check warning on line 292 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-positional-arguments

LOW:
Too many positional arguments (8/5)
Raw output
no description found

Check warning on line 292 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-locals

LOW:
Too many local variables (23/15)
Raw output
Used when a function or method has too many local variables.

Check warning on line 361 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

invalid-name

LOW:
Variable name "ax" doesn't conform to '(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$' pattern
Raw output
Used when the name doesn't match the regular expression associated to its type(constant, variable, class...).

Check warning on line 418 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-positional-arguments

LOW:
Too many positional arguments (6/5)
Raw output
no description found

Check warning on line 418 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-locals

LOW:
Too many local variables (18/15)
Raw output
Used when a function or method has too many local variables.

Check warning on line 457 in climada/util/calibrate/ensemble.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

invalid-name

LOW:
Variable name "ax" doesn't conform to '(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$' pattern
Raw output
Used when the name doesn't match the regular expression associated to its type(constant, variable, class...).

Check warning on line 674 in climada/util/calibrate/bayesian_optimizer.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

logging-fstring-interpolation

NORMAL:
Use lazy % formatting in logging functions
Raw output
no description found

Check warning on line 607 in climada/hazard/io.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-complex

LOW:
'_check_and_cast_attrs' is too complex. The McCabe rating is 13
Raw output
no description found

Check warning on line 313 in climada/hazard/io.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-arguments

LOW:
Too many arguments (10/7)
Raw output
Used when a function or method takes too many arguments.

Check warning on line 483 in climada/hazard/storm_europe.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

consider-using-in

LOW:
Consider merging these comparisons with 'in' by using 'run_datetime.hour in (0, 12)'. Use a set instead if elements are hashable.
Raw output
no description found

Check warning on line 27 in climada/hazard/xarray.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

deprecated-class

NORMAL:
Using deprecated class Hashable of module typing
Raw output
no description found

Check warning on line 140 in climada/hazard/xarray.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-positional-arguments

LOW:
Too many positional arguments (6/5)
Raw output
no description found

Check warning on line 144 in climada/hazard/trop_cyclone/trop_cyclone.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-arguments

LOW:
Too many arguments (14/7)
Raw output
Used when a function or method takes too many arguments.

Check warning on line 144 in climada/hazard/trop_cyclone/trop_cyclone.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-positional-arguments

LOW:
Too many positional arguments (14/5)
Raw output
no description found

Check warning on line 144 in climada/hazard/trop_cyclone/trop_cyclone.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-locals

LOW:
Too many local variables (32/15)
Raw output
Used when a function or method has too many local variables.

Check warning on line 494 in climada/hazard/centroids/centr.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

unidiomatic-typecheck

LOW:
Use isinstance() rather than type() for a typecheck.
Raw output
The idiomatic way to perform an explicit typecheck in Python is to useisinstance(x, Y) rather than type(x) == Y, type(x) is Y. Though there areunusual situations where these give different results.

Check warning on line 491 in climada/hazard/centroids/centr.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

unused-variable

NORMAL:
Unused variable 'fig'
Raw output
Used when a variable is defined but not used.

Check warning on line 1083 in climada/engine/cost_benefit.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

use-dict-literal

LOW:
Consider using '{}' instead of a call to 'dict'.
Raw output
no description found