Skip to content

Commit

Permalink
clean up dask examples
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed May 17, 2024
1 parent 21c0ae3 commit 1ca5ae2
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 649 deletions.
23 changes: 21 additions & 2 deletions topics-2024/2024-04-19-dask/Parallel_compute_coiled.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"cells": [
{
"cell_type": "raw",
"id": "d0b0d6a5-2480-47c5-a9d2-6ff509ee11c7",
"metadata": {},
"source": [
"---\n",
"title: \"Run simple coiled example\"\n",
"author: Eli Holmes (NOAA)\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "5d512898-7838-417f-9a7e-3a1db11be17e",
Expand Down Expand Up @@ -66,6 +77,14 @@
"```"
]
},
{
"cell_type": "markdown",
"id": "391c92ac-0bf9-41e2-a29b-c0c607b67329",
"metadata": {},
"source": [
"Now that we have coiled set up, we can run a coiled cluster in Python."
]
},
{
"cell_type": "code",
"execution_count": 9,
Expand Down Expand Up @@ -134,7 +153,7 @@
"id": "c8a6520f-e5a7-4c2e-82a5-9ecb9bd27082",
"metadata": {},
"source": [
"Set up cluster in the cloud where we can grab more workers. These 15 workers will cost about $0.05 a minute and this job from start (set-up) to finish is like 5 minutes so $0.25. Almost all the time is the set-up of the workers. You can go to your dashboard on coiled to see how much compute time you used up."
"Set up cluster in the cloud where we can grab more workers. These 15 workers will cost about 5 cents a minute and this job from start (set-up) to finish is like 5 minutes so 25 cents. Almost all the time is the set-up of the workers. You can go to your dashboard on coiled to see how much compute time you used up."
]
},
{
Expand Down Expand Up @@ -340,7 +359,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 1ca5ae2

Please sign in to comment.