Commit 487a51b
New implementation of Knutson scaling incl. fix to negative freqs and double counting (#734)
* avoid negative frequencies
* remove frequency correction
* remove intensity correction factors
* remove use of "variable" key
* add non-signficant changes plus correct error in increase percentage change
* fix freq correction
* fix bug in test: assert true should be assert equal
* update test due to application of only freq changes - and sometime new ones
* adapt tests in TropCyclone
* fix name and adapt climate scenario test
* reinsert check that no neg freq are modeled
* test_trop_cyclone: adaptation to tag refactoring
* pylint
* throw warning when negative freq
* handle neg freq_scaling; refactor code
* new tc scaling
* (partial) tests update
* changes in docstrings, gsmt output as dict, percentiles as string
* fix typo in dict assignment
* add info on available percentiles
* add lost function
* coherent baseline argument
* adapt tests to new implementation
* update tutorial
* update tests
* change docstring order, remove default values, change ref_year to target_year
* update tests
* add correct license statement
* spell out dict
* changes to docstring
* update percentiles docstring
* update RCP values for better consistency and get rid of renaming dictionary
* adjust file description
* spell out variables for operation
* spell out GMST
* spell out number of rcps
* make windows_props as default params
* simplify code
* apply no changes for basins we have no info for
* allow retrieving yearly projections and simplify use of constants
* beautification
* add docstring for new variable
* update license statement and better error raise
* fix typo
* update gmst info dictionary docstring
* explicit basin short names
* remove use of baseline argument
* remove tab, add default, shorten lines
* update test
* refactor gmst_info dictionary
* add ref for gmst data
* remove trailing whitespaces
* change Knutson data structure
* bring back new functions lost after merging develop
* update tutorial
* update unit tests tc_cc
* simply var name and code
* improve unit tests for cc scaling factors
* update tests for rescaled future tropical cyclones
* update var names
* update docstring
* update docstrng
* add warning when no categories
* Update CHANGELOG.md
* bring back original notebook
* update notebook
---------
Co-authored-by: emanuel-schmid <[email protected]>
Co-authored-by: Benoit P. Guillod <[email protected]>1 parent 4ae9abd commit 487a51b
File tree
6 files changed
+632
-330
lines changed- climada/hazard
- test
- trop_cyclone
- doc/tutorial
6 files changed
+632
-330
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments