Skip to content

Commit

Permalink
update notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Hagellach37 committed May 19, 2023
1 parent 74508fe commit c43c9cc
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 51 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/completeness_per_month_by_region_rf_adjusted_with_ci.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/local_morans_europe_and_africa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions notebooks/Figure 3,4 - inequality measures of completeness.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"text": [
"/home/h9b/GIT_REPOS/global-urban-building-completeness-analysis/venv/lib/python3.10/site-packages/geopandas/_compat.py:123: UserWarning: The Shapely GEOS version (3.11.1-CAPI-1.17.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.4-CAPI-1.16.2). Conversions between both will be slow.\n",
" warnings.warn(\n",
"/tmp/ipykernel_43963/2472761831.py:5: UserWarning: Shapely 2.0 is installed, but because PyGEOS is also installed, GeoPandas will still use PyGEOS by default for now. To force to use and test Shapely 2.0, you have to set the environment variable USE_PYGEOS=0. You can do this before starting the Python process, or in your code before importing geopandas:\n",
"/tmp/ipykernel_26499/2472761831.py:5: UserWarning: Shapely 2.0 is installed, but because PyGEOS is also installed, GeoPandas will still use PyGEOS by default for now. To force to use and test Shapely 2.0, you have to set the environment variable USE_PYGEOS=0. You can do this before starting the Python process, or in your code before importing geopandas:\n",
"\n",
"import os\n",
"os.environ['USE_PYGEOS'] = '0'\n",
Expand Down Expand Up @@ -94,7 +94,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"id": "3dc97cb0",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -1531,7 +1531,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 4,
"id": "9d2fd5a0",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1763,7 +1763,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 5,
"id": "ee735884",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1910,7 +1910,7 @@
"\n",
"\n",
"plt.savefig(\n",
" f\"../figures/completeness_inequality_per_month_by_region_{model_name}.png\",\n",
" f\"../figures/completeness_inequality_per_month_by_region_{model_name}.pdf\",\n",
" dpi=300,\n",
" bbox_inches = 'tight',\n",
" pad_inches = 0.25\n",
Expand Down
50 changes: 25 additions & 25 deletions notebooks/Figure 5,6 and Table 10 - agglomerative clustering.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 6,
"id": "cf8393b5",
"metadata": {
"scrolled": false
Expand All @@ -566,7 +566,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_48495/2895984109.py:52: MatplotlibDeprecationWarning: Auto-removal of overlapping axes is deprecated since 3.6 and will be removed two minor releases later; explicitly call ax.remove() as needed.\n",
"/tmp/ipykernel_26727/127198776.py:52: MatplotlibDeprecationWarning: Auto-removal of overlapping axes is deprecated since 3.6 and will be removed two minor releases later; explicitly call ax.remove() as needed.\n",
" ax = plt.subplot(gs1[i])\n"
]
},
Expand Down Expand Up @@ -696,7 +696,7 @@
" ax.grid()\n",
"\n",
"plt.savefig(\n",
" \"../figures/temporal_evolution_urban_completeness_clustering_plot.png\",\n",
" \"../figures/temporal_evolution_urban_completeness_clustering_plot.pdf\",\n",
" dpi=300,\n",
" bbox_inches = 'tight',\n",
" pad_inches = 0.75\n",
Expand Down
15 changes: 8 additions & 7 deletions notebooks/Figure 8 Table 4 - scatterplot of residuals.ipynb

Large diffs are not rendered by default.

0 comments on commit c43c9cc

Please sign in to comment.