File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
climada/hazard/trop_cyclone Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ def apply_climate_scenario_knu(
380380 percentile : str = "50" ,
381381 scenario : str = "4.5" ,
382382 target_year : int = 2050 ,
383- ** kwargs ,
383+ yearly_steps : int = 5 ,
384384 ):
385385 """
386386 From current TC hazard instance, return new hazard set with future events
@@ -422,6 +422,9 @@ def apply_climate_scenario_knu(
422422 '8.5' for RCP 8.5
423423 target_year : int
424424 future year to be simulated, between 2000 and 2100. Default: 2050.
425+ yearly_steps : int
426+ yearly resolution at which projections are provided. Default is 5 years.
427+
425428 Returns
426429 -------
427430 haz_cc : climada.hazard.TropCyclone
@@ -450,11 +453,11 @@ def apply_climate_scenario_knu(
450453 for basin in np .unique (tc_cc .basin ):
451454 scale_year_rcp_05 , scale_year_rcp_45 = [
452455 get_knutson_scaling_factor (
453- percentile = percentile ,
454456 variable = variable ,
457+ percentile = percentile ,
455458 basin = basin ,
456459 baseline = (np .min (years ), np .max (years )),
457- ** kwargs ,
460+ yearly_steps = yearly_steps ,
458461 ).loc [target_year , scenario ]
459462 for variable in ["cat05" , "cat45" ]
460463 ]
You can’t perform that action at this time.
0 commit comments