Skip to content

Commit

Permalink
Back to NA
Browse files Browse the repository at this point in the history
  • Loading branch information
spjuhel committed Jun 26, 2024
1 parent 32166b2 commit 1e2e382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion climada/engine/impact_trajectories.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def get_eai_exp(eai_exp, group_map):
eai_region_id[group_name] = (np.sum(eai_exp[:,exp_indices],axis=1))
return eai_region_id

def bayesian_mixer(start_snapshot, end_snapshot, metrics, return_periods, groups=None, all_groups_name="all"):
def bayesian_mixer(start_snapshot, end_snapshot, metrics, return_periods, groups=None, all_groups_name=pd.NA):

Check warning on line 188 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

line-too-long

LOW: Line too long (110/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 188 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

missing-function-docstring

LOW: Missing function or method docstring
Raw output
no description found

Check warning on line 188 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

too-many-locals

LOW: Too many local variables (31/15)
Raw output
Used when a function or method has too many local variables.
# 1. Interpolate in between years
prop_H0, prop_H1 = bayesian_viktypliers(start_snapshot.year, end_snapshot.year)

Check warning on line 190 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

invalid-name

LOW: Variable name "prop_H0" 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 190 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

invalid-name

LOW: Variable name "prop_H1" 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...).
imp_E0H0, imp_E1H0, imp_E0H1, imp_E1H1 = snapshot_combinaisons(

Check warning on line 191 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

invalid-name

LOW: Variable name "imp_E0H0" 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 191 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

invalid-name

LOW: Variable name "imp_E1H0" 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 191 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

invalid-name

LOW: Variable name "imp_E0H1" 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 191 in climada/engine/impact_trajectories.py

View check run for this annotation

Jenkins - WCR / Pylint

invalid-name

LOW: Variable name "imp_E1H1" 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...).
Expand Down

0 comments on commit 1e2e382

Please sign in to comment.