{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", "import numpy as np\n", "import netCDF4 as nc\n", "import datetime as dt\n", "from salishsea_tools import evaltools as et, viz_tools, geo_tools\n", "from pandas.plotting import register_matplotlib_converters\n", "register_matplotlib_converters()\n", "\n", "%matplotlib inline" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Year | \n", "Month | \n", "Day | \n", "Hour | \n", "Lat | \n", "Lon | \n", "Pressure | \n", "Depth | \n", "Ammonium | \n", "Ammonium_units | \n", "Chlorophyll_Extracted | \n", "Chlorophyll_Extracted_units | \n", "N | \n", "Si | \n", "Silicate_units | \n", "AbsSal | \n", "ConsT | \n", "Z | \n", "dtUTC | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "1982.0 | \n", "7.0 | \n", "16.0 | \n", "1.35 | \n", "49.25 | \n", "-123.943 | \n", "NaN | \n", "12.0 | \n", "NaN | \n", "None | \n", "5.28 | \n", "mg/m^3 | \n", "6.6 | \n", "13.6 | \n", "umol/L | \n", "NaN | \n", "NaN | \n", "12.0 | \n", "1982-07-16 01:21:00 | \n", "
1 | \n", "1982.0 | \n", "7.0 | \n", "16.0 | \n", "1.35 | \n", "49.25 | \n", "-123.943 | \n", "NaN | \n", "21.5 | \n", "NaN | \n", "None | \n", "0.61 | \n", "mg/m^3 | \n", "21.2 | \n", "45.0 | \n", "umol/L | \n", "NaN | \n", "NaN | \n", "21.5 | \n", "1982-07-16 01:21:00 | \n", "
2 | \n", "1982.0 | \n", "7.0 | \n", "16.0 | \n", "1.35 | \n", "49.25 | \n", "-123.943 | \n", "NaN | \n", "30.5 | \n", "NaN | \n", "None | \n", "NaN | \n", "mg/m^3 | \n", "23.5 | \n", "47.4 | \n", "umol/L | \n", "NaN | \n", "NaN | \n", "30.5 | \n", "1982-07-16 01:21:00 | \n", "
3 | \n", "1982.0 | \n", "7.0 | \n", "16.0 | \n", "1.35 | \n", "49.25 | \n", "-123.943 | \n", "NaN | \n", "52.3 | \n", "NaN | \n", "None | \n", "NaN | \n", "mg/m^3 | \n", "28.0 | \n", "50.2 | \n", "umol/L | \n", "NaN | \n", "NaN | \n", "52.3 | \n", "1982-07-16 01:21:00 | \n", "
4 | \n", "1982.0 | \n", "7.0 | \n", "16.0 | \n", "1.35 | \n", "49.25 | \n", "-123.943 | \n", "NaN | \n", "75.4 | \n", "NaN | \n", "None | \n", "NaN | \n", "mg/m^3 | \n", "26.5 | \n", "49.1 | \n", "umol/L | \n", "NaN | \n", "NaN | \n", "75.4 | \n", "1982-07-16 01:21:00 | \n", "
\n", " | Year | \n", "Month | \n", "Day | \n", "Hour | \n", "Lat | \n", "Lon | \n", "Pressure | \n", "Depth | \n", "Ammonium | \n", "Ammonium_units | \n", "Chlorophyll_Extracted | \n", "Chlorophyll_Extracted_units | \n", "N | \n", "Si | \n", "Silicate_units | \n", "AbsSal | \n", "ConsT | \n", "Z | \n", "dtUTC | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6731 | \n", "1995.0 | \n", "7.0 | \n", "5.0 | \n", "23.216667 | \n", "48.693000 | \n", "-123.505 | \n", "0.2 | \n", "NaN | \n", "0.20 | \n", "umol/L | \n", "NaN | \n", "None | \n", "0.2 | \n", "5.6 | \n", "umol/L | \n", "27.996839 | \n", "17.559562 | \n", "0.198309 | \n", "1995-07-05 23:13:00 | \n", "
6732 | \n", "1995.0 | \n", "7.0 | \n", "5.0 | \n", "23.216667 | \n", "48.693000 | \n", "-123.505 | \n", "5.2 | \n", "NaN | \n", "0.26 | \n", "umol/L | \n", "NaN | \n", "None | \n", "5.6 | \n", "18.3 | \n", "umol/L | \n", "28.561329 | \n", "14.012140 | \n", "5.155979 | \n", "1995-07-05 23:13:00 | \n", "
6733 | \n", "1995.0 | \n", "7.0 | \n", "5.0 | \n", "23.216667 | \n", "48.693000 | \n", "-123.505 | \n", "10.2 | \n", "NaN | \n", "0.24 | \n", "umol/L | \n", "NaN | \n", "None | \n", "8.6 | \n", "21.8 | \n", "umol/L | \n", "28.733937 | \n", "13.288506 | \n", "10.113529 | \n", "1995-07-05 23:13:00 | \n", "
6734 | \n", "1995.0 | \n", "7.0 | \n", "5.0 | \n", "23.216667 | \n", "48.693000 | \n", "-123.505 | \n", "15.1 | \n", "NaN | \n", "0.20 | \n", "umol/L | \n", "NaN | \n", "None | \n", "11.2 | \n", "25.4 | \n", "umol/L | \n", "28.903706 | \n", "13.070437 | \n", "14.971810 | \n", "1995-07-05 23:13:00 | \n", "
6735 | \n", "1995.0 | \n", "7.0 | \n", "5.0 | \n", "23.216667 | \n", "48.693000 | \n", "-123.505 | \n", "20.2 | \n", "NaN | \n", "0.18 | \n", "umol/L | \n", "NaN | \n", "None | \n", "13.0 | \n", "27.8 | \n", "umol/L | \n", "29.068438 | \n", "12.762858 | \n", "20.028267 | \n", "1995-07-05 23:13:00 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
38129 | \n", "2003.0 | \n", "2.0 | \n", "28.0 | \n", "15.860556 | \n", "49.007167 | \n", "-123.385 | \n", "125.4 | \n", "NaN | \n", "0.00 | \n", "umol/L | \n", "NaN | \n", "mg/m^3 | \n", "27.3 | \n", "51.5 | \n", "umol/L | \n", "30.585648 | \n", "8.557020 | \n", "124.298603 | \n", "2003-02-28 15:51:38 | \n", "
38130 | \n", "2003.0 | \n", "2.0 | \n", "28.0 | \n", "15.860556 | \n", "49.007167 | \n", "-123.385 | \n", "161.5 | \n", "NaN | \n", "0.01 | \n", "umol/L | \n", "NaN | \n", "mg/m^3 | \n", "29.3 | \n", "56.0 | \n", "umol/L | \n", "30.861703 | \n", "8.875833 | \n", "160.067538 | \n", "2003-02-28 15:51:38 | \n", "
38131 | \n", "2003.0 | \n", "2.0 | \n", "28.0 | \n", "15.860556 | \n", "49.007167 | \n", "-123.385 | \n", "174.9 | \n", "NaN | \n", "0.00 | \n", "umol/L | \n", "NaN | \n", "mg/m^3 | \n", "29.8 | \n", "57.5 | \n", "umol/L | \n", "30.939630 | \n", "8.951475 | \n", "173.343060 | \n", "2003-02-28 15:51:38 | \n", "
38132 | \n", "2003.0 | \n", "2.0 | \n", "28.0 | \n", "15.860556 | \n", "49.007167 | \n", "-123.385 | \n", "199.6 | \n", "NaN | \n", "0.00 | \n", "umol/L | \n", "NaN | \n", "mg/m^3 | \n", "30.6 | \n", "60.6 | \n", "umol/L | \n", "31.084543 | \n", "9.059098 | \n", "197.811359 | \n", "2003-02-28 15:51:38 | \n", "
38133 | \n", "2003.0 | \n", "2.0 | \n", "28.0 | \n", "15.860556 | \n", "49.007167 | \n", "-123.385 | \n", "257.0 | \n", "NaN | \n", "0.02 | \n", "umol/L | \n", "NaN | \n", "mg/m^3 | \n", "30.5 | \n", "61.7 | \n", "umol/L | \n", "31.185513 | \n", "9.132899 | \n", "254.661639 | \n", "2003-02-28 15:51:38 | \n", "
97 rows × 19 columns
\n", "