Skip to content

Commit

Permalink
Add workshop notebook (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Mar 29, 2024
1 parent 0eaa132 commit ac651a6
Show file tree
Hide file tree
Showing 5 changed files with 2,581 additions and 66 deletions.
13 changes: 7 additions & 6 deletions docs/notebooks/50_cartoee_quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"<a href=\"https://githubtocolab.com/gee-community/geemap/blob/master/examples/notebooks/50_cartoee_quickstart.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open in Colab\"/></a>\n",
"\n",
"Uncomment the following line to install [geemap](https://geemap.org) and [cartopy](https://scitools.org.uk/cartopy/docs/latest/installing.html#installing) if needed. Keep in mind that cartopy can be challenging to install. If you are unable to install cartopy on your computer, you can try Google Colab with this the [notebook example](https://colab.research.google.com/github/gee-community/geemap/blob/master/examples/notebooks/cartoee_colab.ipynb). \n",
"Uncomment the following line to install [geemap](https://geemap.org) and [cartopy](https://scitools.org.uk/cartopy/docs/latest/installing.html#installing) if needed. Keep in mind that cartopy can be challenging to install. If you are unable to install cartopy on your computer, you can try Google Colab with this the [notebook example](https://colab.research.google.com/github/gee-community/geemap/blob/master/examples/notebooks/cartoee_colab.ipynb).\n",
"\n",
"See below the commands to install cartopy and geemap using conda/mamba:\n",
"\n",
Expand Down Expand Up @@ -53,6 +53,7 @@
"\n",
"import ee\n",
"import geemap\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# import the cartoee functionality from geemap\n",
"from geemap import cartoee"
Expand Down Expand Up @@ -122,7 +123,7 @@
"# add coastlines using the cartopy api\n",
"ax.coastlines(color=\"red\")\n",
"\n",
"show()"
"plt.show()"
]
},
{
Expand Down Expand Up @@ -161,7 +162,7 @@
"\n",
"ax.set_title(label=\"Global Elevation Map\", fontsize=15)\n",
"\n",
"show()"
"plt.show()"
]
},
{
Expand Down Expand Up @@ -209,7 +210,7 @@
"# add the coastline\n",
"ax.coastlines(color=\"yellow\")\n",
"\n",
"show()"
"plt.show()"
]
},
{
Expand Down Expand Up @@ -242,7 +243,7 @@
"# add coastline\n",
"ax.coastlines(color=\"yellow\")\n",
"\n",
"show()"
"plt.show()"
]
},
{
Expand Down Expand Up @@ -287,7 +288,7 @@
"\n",
"ax.set_title(label=\"Landsat False Color Composite (Band 5/4/3)\", fontsize=15)\n",
"\n",
"show()"
"plt.show()"
]
},
{
Expand Down
Loading

0 comments on commit ac651a6

Please sign in to comment.