Skip to content

Commit 680f99d

Browse files
Update documentation
1 parent ef46fd3 commit 680f99d

3 files changed

Lines changed: 20 additions & 20 deletions

File tree

_sources/notebooks/geopandas_flood_frequency.ipynb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
{
4646
"cell_type": "code",
47-
"execution_count": 5,
47+
"execution_count": null,
4848
"id": "cell-3",
4949
"metadata": {
5050
"id": "cell-3"
@@ -81,7 +81,7 @@
8181
},
8282
{
8383
"cell_type": "code",
84-
"execution_count": 6,
84+
"execution_count": null,
8585
"id": "cell-5",
8686
"metadata": {
8787
"colab": {
@@ -155,7 +155,7 @@
155155
},
156156
{
157157
"cell_type": "code",
158-
"execution_count": 7,
158+
"execution_count": null,
159159
"id": "cell-8",
160160
"metadata": {
161161
"colab": {
@@ -334,7 +334,7 @@
334334
},
335335
{
336336
"cell_type": "code",
337-
"execution_count": 8,
337+
"execution_count": null,
338338
"id": "3981b6fb",
339339
"metadata": {
340340
"id": "3981b6fb"
@@ -347,7 +347,7 @@
347347
},
348348
{
349349
"cell_type": "code",
350-
"execution_count": 9,
350+
"execution_count": null,
351351
"id": "c9fczvktoyq",
352352
"metadata": {
353353
"colab": {
@@ -394,7 +394,7 @@
394394
},
395395
{
396396
"cell_type": "code",
397-
"execution_count": 10,
397+
"execution_count": null,
398398
"id": "o8froym44w",
399399
"metadata": {
400400
"colab": {
@@ -450,7 +450,7 @@
450450
},
451451
{
452452
"cell_type": "code",
453-
"execution_count": 12,
453+
"execution_count": null,
454454
"id": "cell-12",
455455
"metadata": {
456456
"colab": {
@@ -670,7 +670,7 @@
670670
},
671671
{
672672
"cell_type": "code",
673-
"execution_count": 13,
673+
"execution_count": null,
674674
"id": "14e27496",
675675
"metadata": {
676676
"colab": {
@@ -881,7 +881,7 @@
881881
},
882882
{
883883
"cell_type": "code",
884-
"execution_count": 14,
884+
"execution_count": null,
885885
"id": "78efc197",
886886
"metadata": {
887887
"colab": {
@@ -915,7 +915,7 @@
915915
"source": [
916916
"## Duplicate Flood Event Detection\n",
917917
"\n",
918-
"One of the problems with the dataset is the presence of many duplicate records for the same flood event. While Google did perform some spatio-temporal aggregation, the dataset still has overlapping records from the same flood event that have different geographic extent (captured from different articles) and/or slightly varying dates. Our goal is to count the total unique flood events aggregated for each grid. Such duplicates would show up as spatially intersecting polygons with `start_date` values within a few days of each other. We use a vectorized `STRtree` bulk query to find all such candidate pairs efficiently."
918+
"One of the problems with aggregating this dataset over a grid is the presense of overlapping polygons for the same flood event. While Google did perform some spatio-temporal aggregation, the dataset still has overlapping records from the same flood event that have different geographic extent and slightly varying dates (an article may talk about flooding in the city while another will talk about the same flood in a neighborhood). Our goal is to count the total unique flood events aggregated for each grid and we want to only count unique flood events. We apply a pre-processing step to find all pairs of spatially intersecting polygons with `start_date` values within a few days of each other and assign the the same `flood_event` id."
919919
]
920920
},
921921
{
@@ -980,7 +980,7 @@
980980
"outputId": "af1ac87d-96ca-4c43-9287-bab18c0be48c"
981981
},
982982
"id": "6cjv4TsaBl_K",
983-
"execution_count": 24,
983+
"execution_count": null,
984984
"outputs": [
985985
{
986986
"output_type": "stream",
@@ -1187,7 +1187,7 @@
11871187
},
11881188
{
11891189
"cell_type": "code",
1190-
"execution_count": 25,
1190+
"execution_count": null,
11911191
"id": "mqi2zhq5h4",
11921192
"metadata": {
11931193
"colab": {
@@ -1227,7 +1227,7 @@
12271227
},
12281228
{
12291229
"cell_type": "code",
1230-
"execution_count": 31,
1230+
"execution_count": null,
12311231
"id": "d89e6286",
12321232
"metadata": {
12331233
"colab": {
@@ -1486,7 +1486,7 @@
14861486
},
14871487
{
14881488
"cell_type": "code",
1489-
"execution_count": 32,
1489+
"execution_count": null,
14901490
"id": "76c29140",
14911491
"metadata": {
14921492
"id": "76c29140"
@@ -1508,7 +1508,7 @@
15081508
},
15091509
{
15101510
"cell_type": "code",
1511-
"execution_count": 33,
1511+
"execution_count": null,
15121512
"id": "86dbb465",
15131513
"metadata": {
15141514
"id": "86dbb465"
@@ -1531,7 +1531,7 @@
15311531
},
15321532
{
15331533
"cell_type": "code",
1534-
"execution_count": 34,
1534+
"execution_count": null,
15351535
"id": "2f8f25dc",
15361536
"metadata": {
15371537
"colab": {
@@ -1709,7 +1709,7 @@
17091709
},
17101710
{
17111711
"cell_type": "code",
1712-
"execution_count": 41,
1712+
"execution_count": null,
17131713
"id": "9fcba691",
17141714
"metadata": {
17151715
"colab": {
@@ -1782,7 +1782,7 @@
17821782
},
17831783
{
17841784
"cell_type": "code",
1785-
"execution_count": 37,
1785+
"execution_count": null,
17861786
"id": "2f53ca54",
17871787
"metadata": {
17881788
"id": "2f53ca54"

notebooks/geopandas_flood_frequency.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ <h2>Pre-Processing Flood Data<a class="headerlink" href="#pre-processing-flood-d
11151115
</section>
11161116
<section id="duplicate-flood-event-detection">
11171117
<h2>Duplicate Flood Event Detection<a class="headerlink" href="#duplicate-flood-event-detection" title="Link to this heading">#</a></h2>
1118-
<p>One of the problems with the dataset is the presence of many duplicate records for the same flood event. While Google did perform some spatio-temporal aggregation, the dataset still has overlapping records from the same flood event that have different geographic extent (captured from different articles) and/or slightly varying dates. Our goal is to count the total unique flood events aggregated for each grid. Such duplicates would show up as spatially intersecting polygons with <code class="docutils literal notranslate"><span class="pre">start_date</span></code> values within a few days of each other. We use a vectorized <code class="docutils literal notranslate"><span class="pre">STRtree</span></code> bulk query to find all such candidate pairs efficiently.</p>
1118+
<p>One of the problems with aggregating this dataset over a grid is the presense of overlapping polygons for the same flood event. While Google did perform some spatio-temporal aggregation, the dataset still has overlapping records from the same flood event that have different geographic extent and slightly varying dates (an article may talk about flooding in the city while another will talk about the same flood in a neighborhood). Our goal is to count the total unique flood events aggregated for each grid and we want to only count unique flood events. We apply a pre-processing step to find all pairs of spatially intersecting polygons with <code class="docutils literal notranslate"><span class="pre">start_date</span></code> values within a few days of each other and assign the the same <code class="docutils literal notranslate"><span class="pre">flood_event</span></code> id.</p>
11191119
<div class="cell docutils container">
11201120
<div class="cell_input docutils container">
11211121
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="c1"># This step is computationally expensive and may take a few minutes</span>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)