Skip to content

Commit

Permalink
Clean up headings
Browse files Browse the repository at this point in the history
  • Loading branch information
tylere committed May 24, 2024
1 parent ffb9219 commit 4d4885c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ documentation.
- A [Coiled](https://www.coiled.io/) account that is [setup to use the
GCP project](https://docs.coiled.io/user_guide/setup/gcp/cli.html).

## Install with PIP
# Installation

``` sh
pip install earthengine_dask
TODO...
```

## How to use
# How to use

## Import Python packages

Expand All @@ -46,7 +46,7 @@ except google.auth.exceptions.DefaultCredentialsError:
ee.Initialize(credentials=credentials, project=project_id)
```

# Start Dask Cluster
## Start Dask Cluster

Start up a Earth Engine enabled cluster. This may take a few minutes to
complete.
Expand All @@ -67,7 +67,7 @@ client = cluster.get_client()
client
```

# Submit Jobs
## Submit Jobs

Test it out by: - Defining a function that can be distributed, -
Submitting jobs running the function to workers, - Gathering the results
Expand Down Expand Up @@ -103,7 +103,7 @@ df = pd.DataFrame(results)
df
```

# Shut down the cluster
## Shut down the cluster

``` python
cluster.shutdown()
Expand Down
19 changes: 6 additions & 13 deletions index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Install with PIP"
"# Installation"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```sh\n",
"pip install earthengine_dask\n",
"TODO...\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## How to use"
"# How to use"
]
},
{
Expand Down Expand Up @@ -112,7 +112,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Start Dask Cluster\n",
"## Start Dask Cluster\n",
"\n",
"Start up a Earth Engine enabled cluster. This may take a few minutes to complete."
]
Expand Down Expand Up @@ -152,7 +152,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Submit Jobs\n",
"## Submit Jobs\n",
"\n",
"Test it out by:\n",
"- Defining a function that can be distributed,\n",
Expand Down Expand Up @@ -200,7 +200,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Shut down the cluster"
"## Shut down the cluster"
]
},
{
Expand All @@ -211,13 +211,6 @@
"source": [
"cluster.shutdown()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 4d4885c

Please sign in to comment.