Commit 0e57f8f
Feature/custom grid litpop (#1022)
* Add target_grid option in LitPop.from_countries
* Update LitPop tests for target_grid argument
* Add target grid litpop
* Move target grid definition to from_countries()
* Remove unused function in test_litpop
* Update 15 arcsec grid definition and formatting
* Continue refactoring of litpop with target_grid argument
* Uncomment test litpop
* pylint
* pylint
* name arguments
* cosmetics
* name arguments correctly
* move target_grid default into from_shape
* fix some tests
* distribute parts of _define_target_grid to respective helper modules
* make test_from_shape_zurich_pass pass
* test_from_shape_zurich_pass: remove notes about changed excpectations
---------
Co-authored-by: emanuel-schmid <[email protected]>1 parent 456bab9 commit 0e57f8f
File tree
5 files changed
+618
-194
lines changed- climada
- entity/exposures
- litpop
- test
- test
5 files changed
+618
-194
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
0 commit comments