{ "cells": [ { "cell_type": "markdown", "id": "cc59a522-e4a1-45a4-8d31-4420cce96395", "metadata": {}, "source": [ "# Combining tiles" ] }, { "cell_type": "code", "execution_count": 8, "id": "5de0a880-6c27-47b2-a31b-38cddd194d56", "metadata": {}, "outputs": [], "source": [ "import glob\n", "import distributed\n", "import numpy as np\n", "\n", "dirname = \"/glade/campaign/cgd/oce/people/bachman/ETP_1_20_tides/SHELF\"" ] }, { "cell_type": "markdown", "id": "dfdab307-7dfb-434f-a1a7-d69b228e1c0e", "metadata": {}, "source": [ "## Request resources" ] }, { "cell_type": "code", "execution_count": 2, "id": "ceb50410-0209-4db0-89cf-888080e4c736", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/glade/u/home/dcherian/miniconda3/envs/pump/lib/python3.10/site-packages/dask_jobqueue/core.py:20: FutureWarning: tmpfile is deprecated and will be removed in a future release. Please use dask.utils.tmpfile instead.\n", " from distributed.utils import tmpfile\n", "/glade/u/home/dcherian/miniconda3/envs/pump/lib/python3.10/site-packages/distributed/node.py:179: UserWarning: Port 8787 is already in use.\n", "Perhaps you already have a cluster running?\n", "Hosting the HTTP server on port 42221 instead\n", " warnings.warn(\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "3a1c95647d9046a99d2aa5866d3d4546", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Tab(children=(HTML(value='
Client-4f4fb284-2301-11ed-ad92-3cecef1acbfa
\n", "| Connection method: Cluster object | \n", "Cluster type: dask_jobqueue.PBSCluster | \n", " \n", "
| \n", " Dashboard: https://jupyterhub.hpc.ucar.edu/stable/user/dcherian/proxy/42221/status\n", " | \n", "\n", " |
06d36d7c
\n", "| \n", " Dashboard: https://jupyterhub.hpc.ucar.edu/stable/user/dcherian/proxy/42221/status\n", " | \n", "\n", " Workers: 0\n", " | \n", "
| \n", " Total threads: 0\n", " | \n", "\n", " Total memory: 0 B\n", " | \n", "
Scheduler-c90756ae-e4be-4602-89f2-cf116b242062
\n", "| \n", " Comm: tcp://10.12.206.63:35854\n", " | \n", "\n", " Workers: 0\n", " | \n", "
| \n", " Dashboard: https://jupyterhub.hpc.ucar.edu/stable/user/dcherian/proxy/42221/status\n", " | \n", "\n", " Total threads: 0\n", " | \n", "
| \n", " Started: 5 minutes ago\n", " | \n", "\n", " Total memory: 0 B\n", " | \n", "