Skip to content

Commit

Permalink
Update Colab notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Oct 3, 2023
1 parent 96f3aa1 commit 0a5ceae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
12 changes: 6 additions & 6 deletions docs/notebooks/00_geemap_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"source": [
"## Install geemap\n",
"\n",
"The geemap package has been pre-installed in Google Colab. However, if you would like to install the latest version, you can uncomment and run the following command:"
"The geemap package is pre-installed in Google Colab and is updated to the latest minor or major release every few weeks. If you would like to install the latest version, you can uncomment and run the following command:"
]
},
{
Expand All @@ -37,7 +37,7 @@
"source": [
"## Import libraries\n",
"\n",
"Import the Earth Engine Python API and geemap."
"Import the Earth Engine Python API."
]
},
{
Expand All @@ -46,8 +46,7 @@
"metadata": {},
"outputs": [],
"source": [
"import ee\n",
"import geemap"
"import ee"
]
},
{
Expand All @@ -56,7 +55,7 @@
"source": [
"## EE Authentication\n",
"\n",
"Run the following cell will start the Earth Engine authentication. Follow the instructions [here](https://book.geemap.org/chapters/01_introduction.html#earth-engine-authentication) to authenticate Earth Engine."
"Running the following cell will start the Earth Engine authentication. Follow the instructions [here](https://book.geemap.org/chapters/01_introduction.html#earth-engine-authentication) to authenticate Earth Engine."
]
},
{
Expand All @@ -65,7 +64,8 @@
"metadata": {},
"outputs": [],
"source": [
"geemap.ee_initialize()"
"ee.Authenticate()",
"ee.Initialize()"
]
},
{
Expand Down
19 changes: 0 additions & 19 deletions examples/notebooks/00_geemap_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a42f90dd",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -114,7 +113,6 @@
},
{
"cell_type": "markdown",
"id": "a6646c08",
"metadata": {},
"source": [
"## Layer Manager\n",
Expand All @@ -125,7 +123,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e006e34d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -145,7 +142,6 @@
},
{
"cell_type": "markdown",
"id": "ef255301",
"metadata": {},
"source": [
"## Inspector\n",
Expand All @@ -156,7 +152,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b046a485",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -182,7 +177,6 @@
},
{
"cell_type": "markdown",
"id": "0b5c4419",
"metadata": {},
"source": [
"## Layer Editor\n",
Expand All @@ -195,7 +189,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d0a9b93c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -213,7 +206,6 @@
},
{
"cell_type": "markdown",
"id": "a41050fe",
"metadata": {},
"source": [
"### Multi-band image"
Expand All @@ -222,7 +214,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b1efa4fc",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -239,7 +230,6 @@
},
{
"cell_type": "markdown",
"id": "d14935ae",
"metadata": {},
"source": [
"### Feature collection"
Expand All @@ -248,7 +238,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7c1b2827",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -261,7 +250,6 @@
},
{
"cell_type": "markdown",
"id": "62909102",
"metadata": {},
"source": [
"## Draw control\n",
Expand All @@ -276,7 +264,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e7acf5c4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -294,7 +281,6 @@
},
{
"cell_type": "markdown",
"id": "acb0c10a",
"metadata": {},
"source": [
"Use the draw control to draw a polygon on the map."
Expand All @@ -303,7 +289,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e5b90766",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -314,7 +299,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9e381aca",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -325,7 +309,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "461101b1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -335,7 +318,6 @@
},
{
"cell_type": "markdown",
"id": "4589f391",
"metadata": {},
"source": [
"Clip the DEM data using the drawn polygon."
Expand All @@ -344,7 +326,6 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ef4882bc",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 0a5ceae

Please sign in to comment.