{ "cells": [ { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import xarray as xr\n", "import matplotlib.pyplot as plt\n", "import pandas as pd\n", "from salishsea_tools import viz_tools\n", "import cmocean as cm" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Import data" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n", "Dimensions: (y: 826, x: 710, deptht: 39, time_counter: 1)\n", "Coordinates:\n", " nav_lon (y, x) float32 ...\n", " nav_lat (y, x) float32 ...\n", " * deptht (deptht) float32 0.5 1.5 2.5 3.5 ... 333.8 360.7 387.6 414.5\n", " * time_counter (time_counter) datetime64[ns] 2023-04-01T00:00:19\n", "Dimensions without coordinates: y, x\n", "Data variables: (12/14)\n", " vosaline (time_counter, deptht, y, x) float32 ...\n", " votemper (time_counter, deptht, y, x) float32 ...\n", " sossheig (time_counter, y, x) float32 ...\n", " vozocrtx (time_counter, deptht, y, x) float32 ...\n", " vomecrty (time_counter, deptht, y, x) float32 ...\n", " vovecrtz (time_counter, deptht, y, x) float32 ...\n", " ... ...\n", " soshfldo (time_counter, y, x) float32 ...\n", " soicecov (time_counter, y, x) float32 ...\n", " sozotaux (time_counter, y, x) float32 ...\n", " sometauy (time_counter, y, x) float32 ...\n", " vovvldep (time_counter, deptht, y, x) float32 ...\n", " vovvle3t (time_counter, deptht, y, x) float32 ...\n", "Attributes:\n", " Conventions: CF-1.1\n", " production: An IPSL model\n", " TimeStamp: 19/12/2024 18:18:36 -0800\n", " file_name: output.abort.nc