Skip to content

Commit

Permalink
clear new notebooks...
Browse files Browse the repository at this point in the history
  • Loading branch information
elbeejay committed Jun 14, 2024
1 parent 997916e commit a35943b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 185 deletions.
177 changes: 7 additions & 170 deletions notebooks/Implementations/MENA_Benchmarking/NTL_zonal_stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -33,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": 83,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -61,7 +61,7 @@
},
{
"cell_type": "code",
"execution_count": 108,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -72,165 +72,16 @@
},
{
"cell_type": "code",
"execution_count": 85,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>eFUA_ID</th>\n",
" <th>UC_num</th>\n",
" <th>UC_IDs</th>\n",
" <th>eFUA_name</th>\n",
" <th>Commuting</th>\n",
" <th>Cntry_ISO</th>\n",
" <th>Cntry_name</th>\n",
" <th>FUA_area</th>\n",
" <th>UC_area</th>\n",
" <th>FUA_p_2015</th>\n",
" <th>UC_p_2015</th>\n",
" <th>Com_p_2015</th>\n",
" <th>geometry</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>5959</td>\n",
" <td>Herat</td>\n",
" <td>1.0</td>\n",
" <td>AFG</td>\n",
" <td>Afghanistan</td>\n",
" <td>139.0</td>\n",
" <td>60.0</td>\n",
" <td>888811.175807</td>\n",
" <td>844574.564331</td>\n",
" <td>44236.611476</td>\n",
" <td>MULTIPOLYGON (((5529000.000 4155000.000, 55310...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>192.0</td>\n",
" <td>1.0</td>\n",
" <td>5964</td>\n",
" <td>Guzarah</td>\n",
" <td>1.0</td>\n",
" <td>AFG</td>\n",
" <td>Afghanistan</td>\n",
" <td>32.0</td>\n",
" <td>16.0</td>\n",
" <td>169489.573231</td>\n",
" <td>160204.260864</td>\n",
" <td>9285.312366</td>\n",
" <td>MULTIPOLYGON (((5541000.000 4139000.000, 55420...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>354.0</td>\n",
" <td>1.0</td>\n",
" <td>5968</td>\n",
" <td>Shindand</td>\n",
" <td>0.0</td>\n",
" <td>AFG</td>\n",
" <td>Afghanistan</td>\n",
" <td>12.0</td>\n",
" <td>12.0</td>\n",
" <td>147553.403870</td>\n",
" <td>147553.403870</td>\n",
" <td>0.000000</td>\n",
" <td>MULTIPOLYGON (((5573000.000 4030000.000, 55740...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>505.0</td>\n",
" <td>1.0</td>\n",
" <td>5970</td>\n",
" <td>Qala i Naw</td>\n",
" <td>0.0</td>\n",
" <td>AFG</td>\n",
" <td>Afghanistan</td>\n",
" <td>3.0</td>\n",
" <td>3.0</td>\n",
" <td>79809.722656</td>\n",
" <td>79809.722656</td>\n",
" <td>0.000000</td>\n",
" <td>MULTIPOLYGON (((5592000.000 4221000.000, 55900...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>648.0</td>\n",
" <td>1.0</td>\n",
" <td>5973</td>\n",
" <td>Farah</td>\n",
" <td>1.0</td>\n",
" <td>AFG</td>\n",
" <td>Afghanistan</td>\n",
" <td>32.0</td>\n",
" <td>16.0</td>\n",
" <td>131508.797060</td>\n",
" <td>122843.460327</td>\n",
" <td>8665.336733</td>\n",
" <td>MULTIPOLYGON (((5607000.000 3923000.000, 56080...</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" eFUA_ID UC_num UC_IDs eFUA_name Commuting Cntry_ISO Cntry_name \\\n",
"0 1.0 1.0 5959 Herat 1.0 AFG Afghanistan \n",
"1 192.0 1.0 5964 Guzarah 1.0 AFG Afghanistan \n",
"2 354.0 1.0 5968 Shindand 0.0 AFG Afghanistan \n",
"3 505.0 1.0 5970 Qala i Naw 0.0 AFG Afghanistan \n",
"4 648.0 1.0 5973 Farah 1.0 AFG Afghanistan \n",
"\n",
" FUA_area UC_area FUA_p_2015 UC_p_2015 Com_p_2015 \\\n",
"0 139.0 60.0 888811.175807 844574.564331 44236.611476 \n",
"1 32.0 16.0 169489.573231 160204.260864 9285.312366 \n",
"2 12.0 12.0 147553.403870 147553.403870 0.000000 \n",
"3 3.0 3.0 79809.722656 79809.722656 0.000000 \n",
"4 32.0 16.0 131508.797060 122843.460327 8665.336733 \n",
"\n",
" geometry \n",
"0 MULTIPOLYGON (((5529000.000 4155000.000, 55310... \n",
"1 MULTIPOLYGON (((5541000.000 4139000.000, 55420... \n",
"2 MULTIPOLYGON (((5573000.000 4030000.000, 55740... \n",
"3 MULTIPOLYGON (((5592000.000 4221000.000, 55900... \n",
"4 MULTIPOLYGON (((5607000.000 3923000.000, 56080... "
]
},
"execution_count": 85,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"inF.head()"
]
},
{
"cell_type": "code",
"execution_count": 113,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -248,22 +99,8 @@
}
],
"metadata": {
"kernelspec": {
"display_name": "urban_test",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"name": "python"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,8 @@
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"name": "python"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a35943b

Please sign in to comment.