Skip to content

Commit

Permalink
Clean up notebook examples (#1918)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Feb 21, 2024
1 parent 9022985 commit a363c84
Show file tree
Hide file tree
Showing 61 changed files with 147 additions and 602 deletions.
10 changes: 6 additions & 4 deletions docs/notebooks/00_ee_auth_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "0",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/gee-community/geemap/blob/master/examples/notebooks/00_ee_auth_colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open in Colab\"/></a>\n",
Expand Down Expand Up @@ -38,6 +39,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -46,6 +48,7 @@
},
{
"cell_type": "markdown",
"id": "2",
"metadata": {},
"source": [
"### Step 4: Automatic Authentication with geemap\n",
Expand All @@ -56,6 +59,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -65,6 +69,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -74,14 +79,11 @@
}
],
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 5
}
12 changes: 0 additions & 12 deletions docs/notebooks/00_geemap_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -380,18 +380,6 @@
"display_name": "Python 3",
"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.11.5"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/100_numpy_to_cog.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,6 @@
"display_name": "Python 3",
"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.11.7"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/104_clip_image.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,18 +202,6 @@
"display_name": "Python 3",
"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.11.7"
}
},
"nbformat": 4,
Expand Down
7 changes: 1 addition & 6 deletions docs/notebooks/114_dynamic_world.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@
"cell_type": "code",
"execution_count": null,
"id": "7",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"# Add legend to the map\n",
Expand Down Expand Up @@ -132,9 +130,6 @@
}
],
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
Expand Down
7 changes: 2 additions & 5 deletions docs/notebooks/122_lidar.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@
{
"cell_type": "markdown",
"id": "17",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"## Histogram analysis"
]
Expand Down Expand Up @@ -276,8 +274,7 @@
"execution_count": null,
"id": "27",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"outputs": [],
"source": [
Expand Down
4 changes: 1 addition & 3 deletions docs/notebooks/132_folium_colorbar.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@
"cell_type": "code",
"execution_count": null,
"id": "17",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"Map = geemap.Map()\n",
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/135_segmentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,6 @@
"display_name": "Python 3",
"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.16"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/136_download_parallel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,6 @@
"display_name": "Python 3",
"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.10.9"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/137_create_grid.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,6 @@
"display_name": "Python 3",
"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.10.8"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/138_draw_control.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,6 @@
"display_name": "Python 3",
"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.11.6"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/139_layer_to_image.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,6 @@
"display_name": "Python 3",
"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.11.5"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/140_ee_to_xarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,6 @@
"display_name": "Python 3",
"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.11.5"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/141_image_array_viz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -198,18 +198,6 @@
"display_name": "Python 3",
"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.11.7"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/14_legends.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -283,18 +283,6 @@
"display_name": "Python 3",
"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.11.5"
}
},
"nbformat": 4,
Expand Down
12 changes: 0 additions & 12 deletions docs/notebooks/25_load_rasters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,6 @@
"display_name": "Python 3",
"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.11.7"
}
},
"nbformat": 4,
Expand Down
14 changes: 1 addition & 13 deletions docs/notebooks/58_add_vector.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -289,21 +289,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "geo",
"display_name": "Python 3",
"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.11.5"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a363c84

Please sign in to comment.