Skip to content

Commit a9a3e33

Browse files
committed
edits to text
1 parent 2df62cc commit a9a3e33

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

doc/user-guide/climada_engine_Impact.ipynb

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -170,22 +170,20 @@
170170
"cell_type": "markdown",
171171
"metadata": {},
172172
"source": [
173-
"Reminder: The exposures must be defined according to your problem either using CLIMADA exposures such as __[BlackMarble](https://climada-petals.readthedocs.io/en/stable/tutorial/climada_entity_BlackMarble.html)__, __[LitPop](climada_entity_LitPop.ipynb), [OSM](https://climada-petals.readthedocs.io/en/stable/tutorial/climada_exposures_openstreetmap.html)__, extracted from external sources (imported via csv, excel, api, ...) or directly user defined.\n",
173+
"Exposures are geopandas dataframes with at least columns 'latitude', 'longitude' and 'value' of exposures. They are either defined as a series of (latitude/longitude) points or as a raster of (latitude/longitude) points. Fundamentally, this changes nothing for the impact computations. Note that for larger number of points, consider using a raster which might be more efficient (computationally). For a low number of points, avoid using a raster if this adds a lot of exposures values equal to 0. \n",
174174
"\n",
175-
"As a reminder, exposures are geopandas dataframes with at least columns 'latitude', 'longitude' and 'value' of exposures.\n",
175+
"We shall here use a raster example.\n",
176176
"\n",
177-
"For impact calculations, for each exposure values of the corresponding impact function to use (defined by the column `impf_`) and the associated hazard centroids must be defined. This is done after defining the impact function(s) and the hazard(s).\n",
178-
"\n",
179-
"See tutorials on __[Exposures](climada_entity_Exposures.ipynb)__ , __[Hazard](climada_hazard_Hazard.ipynb)__, __[ImpactFuncSet](climada_entity_ImpactFuncSet.ipynb)__ for more details."
177+
"Reminder: The exposures must be defined according to your problem either using CLIMADA exposures such as __[BlackMarble](https://climada-petals.readthedocs.io/en/stable/tutorial/climada_entity_BlackMarble.html)__, __[LitPop](climada_entity_LitPop.ipynb), [OSM](https://climada-petals.readthedocs.io/en/stable/tutorial/climada_exposures_openstreetmap.html)__, extracted from external sources (imported via csv, excel, api, ...) or directly user defined."
180178
]
181179
},
182180
{
183181
"cell_type": "markdown",
184182
"metadata": {},
185183
"source": [
186-
"Exposures are either defined as a series of (latitude/longitude) points or as a raster of (latitude/longitude) points. Fundamentally, this changes nothing for the impact computations. Note that for larger number of points, consider using a raster which might be more efficient (computationally). For a low number of points, avoid using a raster if this adds a lot of exposures values equal to 0. \n",
184+
"For impact calculations, for each exposure values of the corresponding impact function to use (defined by the column `impf_`) and the associated hazard centroids must be defined. This is done after defining the impact function(s) and the hazard(s).\n",
187185
"\n",
188-
"We shall here use a raster example."
186+
"See tutorials on __[Exposures](climada_entity_Exposures.ipynb)__ , __[Hazard](climada_hazard_Hazard.ipynb)__, __[ImpactFuncSet](climada_entity_ImpactFuncSet.ipynb)__ for more details."
189187
]
190188
},
191189
{
@@ -597,6 +595,13 @@
597595
"Hint: computing the wind speeds in many locations for many tc tracks is a computationally costly operation. Thus, we should define centroids only where we also have an exposure."
598596
]
599597
},
598+
{
599+
"cell_type": "markdown",
600+
"metadata": {},
601+
"source": [
602+
"Hint: The operation of computing the windspeed in different location is in general computationally expensive. Hence, if you have a lot of tropical cyclone tracks, you should first make sure that all your tropical cyclones actually affect your exposure (remove those that don't). Then, be careful when defining the centroids. For a large country like China, there is no need for centroids 500km inland (no tropical cyclones gets so far)."
603+
]
604+
},
600605
{
601606
"cell_type": "code",
602607
"execution_count": 5,
@@ -647,18 +652,6 @@
647652
"tc.check()"
648653
]
649654
},
650-
{
651-
"cell_type": "markdown",
652-
"metadata": {
653-
"ExecuteTime": {
654-
"end_time": "2020-10-16T12:28:38.751677Z",
655-
"start_time": "2020-10-16T12:28:38.747250Z"
656-
}
657-
},
658-
"source": [
659-
"Hint: The operation of computing the windspeed in different location is in general computationally expensive. Hence, if you have a lot of tropical cyclone tracks, you should first make sure that all your tropical cyclones actually affect your exposure (remove those that don't). Then, be careful when defining the centroids. For a large country like China, there is no need for centroids 500km inland (no tropical cyclones gets so far)."
660-
]
661-
},
662655
{
663656
"cell_type": "markdown",
664657
"metadata": {},

0 commit comments

Comments
 (0)