Skip to content

Commit

Permalink
separate imports for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tylere committed May 24, 2024
1 parent 8448c35 commit 3122bc5
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
34 changes: 30 additions & 4 deletions 00_core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,36 @@
"outputs": [],
"source": [
"#| export\n",
"import logging\n",
"\n",
"import coiled\n",
"import dask.distributed\n",
"import logging"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#| export\n",
"import coiled"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#| export\n",
"import dask.distributed"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#| export\n",
"import ee"
]
},
Expand Down
2 changes: 1 addition & 1 deletion _docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</url>
<url>
<loc>https://VorGeo.github.io/earthengine-dask/00_core.html</loc>
<lastmod>2024-05-24T22:35:41.918Z</lastmod>
<lastmod>2024-05-24T22:41:57.513Z</lastmod>
</url>
</urlset>
9 changes: 7 additions & 2 deletions earthengine_dask/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
# %% ../00_core.ipynb 3
import logging

# %% ../00_core.ipynb 4
import coiled

# %% ../00_core.ipynb 5
import dask.distributed

# %% ../00_core.ipynb 6
import ee

# %% ../00_core.ipynb 4
# %% ../00_core.ipynb 7
import google.auth

# %% ../00_core.ipynb 5
# %% ../00_core.ipynb 8
class InitEarthEngine(dask.distributed.WorkerPlugin):
def __init__(self, **kwargs):
logging.info('InitEarthEngine init') # This appears in the notebook output where the cluster is initiated.
Expand Down

0 comments on commit 3122bc5

Please sign in to comment.