Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Hülsen <[email protected]>
  • Loading branch information
ValentinGebhart and sarah-hlsn authored Nov 4, 2024
1 parent 928f24e commit 685b6c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions climada/util/interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ def preprocess_and_interpolate_ev(
Parameters
----------
test_frequency : array_like
1-D array of test frequencies for which values (e.g., intensities) should be assigned.
1-D array of test frequencies for which values (e.g., intensities or impacts) should be assigned.

Check warning on line 47 in climada/util/interpolation.py

View check run for this annotation

Jenkins - WCR / Pylint

line-too-long

LOW: Line too long (105/100)
Raw output
Used when a line is longer than a given number of characters.
test_values : array_like
1-D array of test values (e.g., intensities) for which frequencies should be assigned.
1-D array of test values (e.g., intensities or impacts) for which frequencies should be assigned.

Check warning on line 49 in climada/util/interpolation.py

View check run for this annotation

Jenkins - WCR / Pylint

line-too-long

LOW: Line too long (105/100)
Raw output
Used when a line is longer than a given number of characters.
frequency : array_like
1-D array of frequencies to be interpolated.
values : array_like
1-D array of values (e.g., intensities) to be interpolated.
1-D array of values (e.g., intensities or impacts) to be interpolated.
log_frequency : bool, optional
If set to True, frequencies are interpolated on log scale. Defaults to False.
log_values : bool, optional
If set to True, values (e.g., intensities) are interpolated on log scale.
Defaults to False.
value_threshold : float, optional
Lower threshold to filter values (e.g., intensities). Defaults to None.
Lower threshold to filter values (e.g., intensities or impacts). Defaults to None.
method : str, optional
Method to interpolate to test x values. Currently available are
"interpolate", "extrapolate", "extrapolate_constant" and "stepfunction". If set to
Expand Down

0 comments on commit 685b6c8

Please sign in to comment.