{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "32d1234b-a1d8-41af-91cd-4a220e8803a9", "metadata": {}, "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", "import netCDF4 as nc\n", "import numpy as np\n", "import xarray as xr\n", "\n", "from salishsea_tools import visualisations as vis\n", "from salishsea_tools import viz_tools\n", "\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "16d5b39f-581d-40e3-9127-07e3df413eec", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n", "Dimensions: (time: 21, depth: 40, gridY: 898, gridX: 398)\n", "Coordinates:\n", " * depth (depth) float32 0.5 1.5 2.5 3.5 4.5 ... 360.7 387.6 414.5 441.5\n", " * gridY (gridY) int64 0 1 2 3 4 5 6 7 8 ... 890 891 892 893 894 895 896 897\n", " * gridX (gridX) int64 0 1 2 3 4 5 6 7 8 ... 390 391 392 393 394 395 396 397\n", " * time (time) datetime64[ns] 2018-11-15 2018-12-16 ... 2020-07-15\n", "Data variables:\n", " outfall (time, depth, gridY, gridX) float32 ...\n", "Attributes:\n", " name: SalishSeaCast_wastewater_month_outfall_20180101_20190930\n", " description: Month-averaged Outfall extracted from SalishSeaCast v202111...\n", " history: 2023-11-14 20:03 -08:00: Generated by `reshapr extract /oce...\n", " Conventions: CF-1.6
<xarray.DataArray 'tmask' (depth: 40, gridY: 898, gridX: 398)>\n", "[14296160 values with dtype=int8]\n", "Dimensions without coordinates: depth, gridY, gridX