Skip to content

Commit

Permalink
removed unnecessary pkgs in cfc-atm
Browse files Browse the repository at this point in the history
  • Loading branch information
jhordannej committed Jun 14, 2024
1 parent c8872ec commit 6979fd1
Showing 1 changed file with 23 additions and 36 deletions.
59 changes: 23 additions & 36 deletions notebooks/cfc-atm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@
"import numpy as np\n",
"import pandas as pd\n",
"import xarray as xr\n",
"import zarr\n",
"import fsspec\n",
"import nc_time_axis\n",
"import regionmask\n",
"import intake\n",
"import xesmf as xe\n",
Expand Down Expand Up @@ -154,20 +151,10 @@
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_8748/595459257.py:3: TqdmExperimentalWarning: Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)\n",
" from tqdm.autonotebook import tqdm\n"
]
}
],
"outputs": [],
"source": [
"import os\n",
"import sys\n",
"from tqdm.autonotebook import tqdm\n",
"from dask_gateway import Gateway\n",
"from dask.distributed import Client\n",
"\n",
Expand All @@ -192,7 +179,7 @@
" <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <h3 style=\"margin-bottom: 0px;\">Client</h3>\n",
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-420caf40-2a91-11ef-a22c-3692df5af438</p>\n",
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-a3e66d81-2a98-11ef-a441-3692df5af438</p>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
"\n",
" <tr>\n",
Expand Down Expand Up @@ -227,7 +214,7 @@
" </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <h3 style=\"margin-bottom: 0px; margin-top: 0px;\">LocalCluster</h3>\n",
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">b5a0c1f1</p>\n",
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">28aaab7e</p>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
Expand Down Expand Up @@ -264,11 +251,11 @@
" <div style=\"width: 24px; height: 24px; background-color: #FFF7E5; border: 3px solid #FF6132; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <h3 style=\"margin-bottom: 0px;\">Scheduler</h3>\n",
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-d64316d3-4cb8-4755-8781-1fd64f10ca57</p>\n",
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-df445065-3a85-4d9c-944a-38e0b0e038e2</p>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Comm:</strong> tcp://127.0.0.1:42465\n",
" <strong>Comm:</strong> tcp://127.0.0.1:36509\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Workers:</strong> 4\n",
Expand Down Expand Up @@ -310,29 +297,29 @@
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Comm: </strong> tcp://127.0.0.1:42109\n",
" <strong>Comm: </strong> tcp://127.0.0.1:44589\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 1\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:41373/status\" target=\"_blank\">http://127.0.0.1:41373/status</a>\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:44981/status\" target=\"_blank\">http://127.0.0.1:44981/status</a>\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 3.71 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:39519\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:38807\n",
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-buuendun\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-3yc472ps\n",
" </td>\n",
" </tr>\n",
"\n",
Expand All @@ -355,29 +342,29 @@
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Comm: </strong> tcp://127.0.0.1:37541\n",
" <strong>Comm: </strong> tcp://127.0.0.1:41909\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 1\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:44597/status\" target=\"_blank\">http://127.0.0.1:44597/status</a>\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:45889/status\" target=\"_blank\">http://127.0.0.1:45889/status</a>\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 3.71 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:42805\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:35021\n",
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-pnarl6ri\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-gxgzgdgt\n",
" </td>\n",
" </tr>\n",
"\n",
Expand All @@ -400,29 +387,29 @@
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Comm: </strong> tcp://127.0.0.1:39965\n",
" <strong>Comm: </strong> tcp://127.0.0.1:38759\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 1\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:38929/status\" target=\"_blank\">http://127.0.0.1:38929/status</a>\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:44385/status\" target=\"_blank\">http://127.0.0.1:44385/status</a>\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 3.71 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:36327\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:40613\n",
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-ahj56kvr\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-0uhrvx_6\n",
" </td>\n",
" </tr>\n",
"\n",
Expand All @@ -445,29 +432,29 @@
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Comm: </strong> tcp://127.0.0.1:45597\n",
" <strong>Comm: </strong> tcp://127.0.0.1:36809\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 1\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:38071/status\" target=\"_blank\">http://127.0.0.1:38071/status</a>\n",
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:33031/status\" target=\"_blank\">http://127.0.0.1:33031/status</a>\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 3.71 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:36545\n",
" <strong>Nanny: </strong> tcp://127.0.0.1:38135\n",
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-noigakf_\n",
" <strong>Local directory: </strong> /tmp/dask-scratch-space/worker-y2jnv98k\n",
" </td>\n",
" </tr>\n",
"\n",
Expand All @@ -494,7 +481,7 @@
"</div>"
],
"text/plain": [
"<Client: 'tcp://127.0.0.1:42465' processes=4 threads=4, memory=14.84 GiB>"
"<Client: 'tcp://127.0.0.1:36509' processes=4 threads=4, memory=14.84 GiB>"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -2883,7 +2870,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 6979fd1

Please sign in to comment.