Closed alaws-USGS closed 1 week ago
# check for existing Dask cluster if "client" in locals(): print("Shutting down existing Dask cluster.") cluster.close() client.close()
cluster = LocalCluster() client = Client(cluster)
print(f"The link to the Dask dashboard is {client.dashboard_link}. If on HPC, this may not be available.")
- [x] Add Markdown cell that setting up a Dask cluster for other environments will be added later
cluster = LocalCluster() client = Client(cluster)
print(f"The link to the Dask dashboard is {client.dashboard_link}. If on HPC, this may not be available.")