From 0695b43b4acb28d50e9fe1b6279ed4023b935620 Mon Sep 17 00:00:00 2001 From: Rob Fatland Date: Fri, 28 Jun 2024 15:01:29 -0700 Subject: [PATCH] new data2 work --- book/chapters/data2.ipynb | 3741 ++++++++++++++++++++++++++++- book/chapters/documentation.ipynb | 22 +- 2 files changed, 3640 insertions(+), 123 deletions(-) diff --git a/book/chapters/data2.ipynb b/book/chapters/data2.ipynb index 2fc6d62..92d1ead 100755 --- a/book/chapters/data2.ipynb +++ b/book/chapters/data2.ipynb @@ -2,29 +2,19 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 25, "id": "8aa370ef-3ab8-4cf3-bf13-96a783e342f9", - "metadata": {}, - "outputs": [ - { - "ename": "ModuleNotFoundError", - "evalue": "No module named 'netcdf4'", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn[1], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mnetcdf4\u001b[39;00m\n", - "\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'netcdf4'" - ] - } - ], + "metadata": { + "tags": [] + }, + "outputs": [], "source": [ - "import netcdf4" + "import netCDF4" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 26, "id": "2228ec14-bbdb-429b-b19a-49d273c67dbd", "metadata": { "tags": [] @@ -47,9 +37,11 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 27, "id": "c57ef9be-6c75-4d0f-8c9a-a554283e2185", - "metadata": {}, + "metadata": { + "tags": [] + }, "outputs": [], "source": [ "fs = s3fs.S3FileSystem(anon=True)" @@ -57,12 +49,102 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 40, "id": "61658874-bc3f-45b0-918e-4eef06312e17", - "metadata": {}, - "outputs": [], + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "Full stream name: ooi-data/CE04OSPS-SF01B-2A-CTDPFA107-streamed-ctdpf_sbe43_sample\n", + "\n", + "Field breakout: CE 04 OS PS SF 01 B 2A CTDPF A 107 ctdpf_sbe43_sample\n", + "\n", + "The first field has CE for Coastal Endurance or RS for Regional Cabled Array.\n", + "Fields 5, 6 and 7 give us shallow profiler site and choice of profiler or platform.\n", + "\n", + " PC 01 B --> Oregon Offshore 200m Platform\n", + " SF 01 B --> Oregon Offshore Profiler\n", + " SF 01 A --> Oregon Slope Base Profiler\n", + " PC 03 A --> Axial Base 200m Platform\n", + " SF 03 A --> Axial Base Profiler\n", + "\n", + "Non-shallow-profiler examples:\n", + " DP O3 A is the Axial Base Deep Profiler\n", + " LJ 01 A is the Oregon Slope Base Seafloor\n", + "\n" + ] + } + ], + "source": [ + "streamlist = fs.listdir('ooi-data', detail = False)\n", + "\n", + "def InstrumentBreakout(s):\n", + " print('Field breakout:', s[9:11], s[11:13], s[13:15], s[15:17], s[18:20], s[20:22], s[22:23], s[24:26], \\\n", + " s[27:32], s[32:33], s[33:36], s[46:])\n", + "\n", + "stream_choice = 15\n", + "print()\n", + "print('Full stream name:', streamlist[stream_choice])\n", + "print()\n", + "InstrumentBreakout(streamlist[stream_choice])\n", + "print()\n", + "print('The first field has CE for Coastal Endurance or RS for Regional Cabled Array.')\n", + "print('Fields 5, 6 and 7 give us shallow profiler site and choice of profiler or platform.')\n", + "print()\n", + "indenter = 4\n", + "print(' '*indenter + 'PC 01 B --> Oregon Offshore 200m Platform')\n", + "print(' '*indenter + 'SF 01 B --> Oregon Offshore Profiler')\n", + "print(' '*indenter + 'SF 01 A --> Oregon Slope Base Profiler')\n", + "print(' '*indenter + 'PC 03 A --> Axial Base 200m Platform')\n", + "print(' '*indenter + 'SF 03 A --> Axial Base Profiler')\n", + "print()\n", + "print('Non-shallow-profiler examples:')\n", + "print(' DP O3 A is the Axial Base Deep Profiler')\n", + "print(' LJ 01 A is the Oregon Slope Base Seafloor')\n", + "print()" + ] + }, + { + "cell_type": "code", + "execution_count": 47, + "id": "e2f40d77-b640-4f7b-9d7b-48ea8c977ad1", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "ooi-data/RS01SBPS-SF01A-2A-CTDPFA102-streamed-ctdpf_sbe43_sample\n", + "ooi-data/RS01SBPS-SF01A-2D-PHSENA101-streamed-phsen_data_record\n", + "ooi-data/RS01SBPS-SF01A-3A-FLORTD101-streamed-flort_d_data_record\n", + "ooi-data/RS01SBPS-SF01A-3B-OPTAAD101-streamed-optaa_sample\n", + "ooi-data/RS01SBPS-SF01A-3C-PARADA101-streamed-parad_sa_sample\n", + "ooi-data/RS01SBPS-SF01A-3D-SPKIRA101-streamed-spkir_data_record\n", + "ooi-data/RS01SBPS-SF01A-4A-NUTNRA101-streamed-nutnr_a_dark_sample\n", + "ooi-data/RS01SBPS-SF01A-4A-NUTNRA101-streamed-nutnr_a_sample\n", + "ooi-data/RS01SBPS-SF01A-4B-VELPTD102-streamed-velpt_velocity_data\n", + "ooi-data/RS01SBPS-SF01A-4F-PCO2WA101-streamed-pco2w_a_sami_data_record\n", + "\n", + "ooi-data/RS01SBPS-SF01A-2A-CTDPFA102-streamed-ctdpf_sbe43_sample\n", + "\n" + ] + } + ], "source": [ - "fs.listdir('ooi-data', detail = False)" + "osb_profiler_streams = [sname for sname in streamlist if 'SF01A' in sname]\n", + "for s in osb_profiler_streams: \n", + " print(s)\n", + " if 'ctdpf' in s: osb_sp_ctd = s\n", + "print()\n", + "print(osb_sp_ctd)\n", + "print()" ] }, { @@ -77,112 +159,3553 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 48, "id": "a56bc2c6-e16d-49ee-b3cc-8166935f0c42", "metadata": { "tags": [] }, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "
<xarray.Dataset>\n",
+       "Dimensions:                                            (time: 220548447)\n",
+       "Coordinates:\n",
+       "  * time                                               (time) datetime64[ns] ...\n",
+       "Data variables: (12/39)\n",
+       "    conductivity                                       (time) float64 dask.array<chunksize=(12000000,), meta=np.ndarray>\n",
+       "    corrected_dissolved_oxygen                         (time) float64 dask.array<chunksize=(12000000,), meta=np.ndarray>\n",
+       "    corrected_dissolved_oxygen_qartod_executed         (time) <U2 dask.array<chunksize=(12000000,), meta=np.ndarray>\n",
+       "    corrected_dissolved_oxygen_qartod_results          (time) uint8 dask.array<chunksize=(100000000,), meta=np.ndarray>\n",
+       "    corrected_dissolved_oxygen_qc_executed             (time) uint8 dask.array<chunksize=(100000000,), meta=np.ndarray>\n",
+       "    corrected_dissolved_oxygen_qc_results              (time) uint8 dask.array<chunksize=(100000000,), meta=np.ndarray>\n",
+       "    ...                                                 ...\n",
+       "    sea_water_temperature                              (time) float64 dask.array<chunksize=(12000000,), meta=np.ndarray>\n",
+       "    sea_water_temperature_qartod_executed              (time) <U2 dask.array<chunksize=(12000000,), meta=np.ndarray>\n",
+       "    sea_water_temperature_qartod_results               (time) uint8 dask.array<chunksize=(100000000,), meta=np.ndarray>\n",
+       "    sea_water_temperature_qc_executed                  (time) uint8 dask.array<chunksize=(100000000,), meta=np.ndarray>\n",
+       "    sea_water_temperature_qc_results                   (time) uint8 dask.array<chunksize=(100000000,), meta=np.ndarray>\n",
+       "    temperature                                        (time) float64 dask.array<chunksize=(12000000,), meta=np.ndarray>\n",
+       "Attributes: (12/62)\n",
+       "    AssetManagementRecordLastModified:  2024-06-27T13:16:21.544000\n",
+       "    AssetUniqueID:                      ATAPL-66662-00008\n",
+       "    Conventions:                        CF-1.6\n",
+       "    Description:                        CTD Profiler: CTDPF Series A\n",
+       "    FirmwareVersion:                    Not specified.\n",
+       "    Manufacturer:                       Sea-Bird Electronics\n",
+       "    ...                                 ...\n",
+       "    stream:                             ctdpf_sbe43_sample\n",
+       "    subsite:                            RS01SBPS\n",
+       "    summary:                            Dataset Generated by Stream Engine fr...\n",
+       "    time_coverage_end:                  2024-06-28T11:13:24.862212608\n",
+       "    time_coverage_start:                2014-10-06T22:05:23.269171200\n",
+       "    title:                              Data produced by Stream Engine versio...
" + ], + "text/plain": [ + "\n", + "Dimensions: (time: 220548447)\n", + "Coordinates:\n", + " * time (time) datetime64[ns] ...\n", + "Data variables: (12/39)\n", + " conductivity (time) float64 dask.array\n", + " corrected_dissolved_oxygen (time) float64 dask.array\n", + " corrected_dissolved_oxygen_qartod_executed (time) \n", + " corrected_dissolved_oxygen_qartod_results (time) uint8 dask.array\n", + " corrected_dissolved_oxygen_qc_executed (time) uint8 dask.array\n", + " corrected_dissolved_oxygen_qc_results (time) uint8 dask.array\n", + " ... ...\n", + " sea_water_temperature (time) float64 dask.array\n", + " sea_water_temperature_qartod_executed (time) \n", + " sea_water_temperature_qartod_results (time) uint8 dask.array\n", + " sea_water_temperature_qc_executed (time) uint8 dask.array\n", + " sea_water_temperature_qc_results (time) uint8 dask.array\n", + " temperature (time) float64 dask.array\n", + "Attributes: (12/62)\n", + " AssetManagementRecordLastModified: 2024-06-27T13:16:21.544000\n", + " AssetUniqueID: ATAPL-66662-00008\n", + " Conventions: CF-1.6\n", + " Description: CTD Profiler: CTDPF Series A\n", + " FirmwareVersion: Not specified.\n", + " Manufacturer: Sea-Bird Electronics\n", + " ... ...\n", + " stream: ctdpf_sbe43_sample\n", + " subsite: RS01SBPS\n", + " summary: Dataset Generated by Stream Engine fr...\n", + " time_coverage_end: 2024-06-28T11:13:24.862212608\n", + " time_coverage_start: 2014-10-06T22:05:23.269171200\n", + " title: Data produced by Stream Engine versio..." + ] + }, + "execution_count": 48, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "siteData = loadData(zarrFile)\n", + "siteData = loadData(osb_sp_ctd)\n", "siteData" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 49, "id": "6d82a0a7-c1a0-48dc-ae14-f32a41356e99", - "metadata": {}, - "outputs": [], + "metadata": { + "tags": [] + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "
<xarray.DataArray 'time' ()>\n",
+       "array('2024-06-28T11:13:24.862212608', dtype='datetime64[ns]')\n",
+       "Coordinates:\n",
+       "    time     datetime64[ns] 2024-06-28T11:13:24.862212608\n",
+       "Attributes:\n",
+       "    axis:           T\n",
+       "    long_name:      time\n",
+       "    standard_name:  time
" + ], + "text/plain": [ + "\n", + "array('2024-06-28T11:13:24.862212608', dtype='datetime64[ns]')\n", + "Coordinates:\n", + " time datetime64[ns] 2024-06-28T11:13:24.862212608\n", + "Attributes:\n", + " axis: T\n", + " long_name: time\n", + " standard_name: time" + ] + }, + "execution_count": 49, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "siteData.time[-1]" ] }, + { + "cell_type": "code", + "execution_count": 52, + "id": "63311817-6642-4b2e-bd19-d22074072a99", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "data": { + "text/plain": [ + "(\n", + " array('2022-01-01T00:00:00.097717760', dtype='datetime64[ns]')\n", + " Coordinates:\n", + " time datetime64[ns] 2022-01-01T00:00:00.097717760\n", + " Attributes:\n", + " axis: T\n", + " long_name: time\n", + " standard_name: time,\n", + " \n", + " array('2022-01-31T23:59:59.066327552', dtype='datetime64[ns]')\n", + " Coordinates:\n", + " time datetime64[ns] 2022-01-31T23:59:59.066327552\n", + " Attributes:\n", + " axis: T\n", + " long_name: time\n", + " standard_name: time)" + ] + }, + "execution_count": 52, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "t0, t1 = '2022-01-01T00', '2022-01-31T23'\n", + "ds = siteData.sel(time=slice(t0, t1))\n", + "ds.time[0], ds.time[-1]" + ] + }, { "cell_type": "markdown", "id": "6b15a656-09fa-4a70-b3d6-434ecd8e1fc3", "metadata": {}, "source": [ "```\n", - "['ooi-data/CE02SHBP-LJ01D-05-ADCPTB104-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/CE02SHBP-LJ01D-06-CTDBPN106-streamed-ctdbp_no_sample',\r\n", - " 'ooi-data/CE02SHBP-LJ01D-07-VEL3DC108-streamed-vel3d_cd_velocity_data',\r\n", - " 'ooi-data/CE02SHBP-LJ01D-09-PCO2WB103-streamed-pco2w_b_sami_data_record',\r\n", - " 'ooi-data/CE02SHBP-LJ01D-10-PHSEND103-streamed-phsen_data_record',\r\n", - " 'ooi-data/CE04OSBP-LJ01C-05-ADCPSI103-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/CE04OSBP-LJ01C-06-CTDBPO108-streamed-ctdbp_no_sample',\r\n", - " 'ooi-data/CE04OSBP-LJ01C-07-VEL3DC107-streamed-vel3d_cd_velocity_data',\r\n", - " 'ooi-data/CE04OSBP-LJ01C-09-PCO2WB104-streamed-pco2w_b_sami_data_record',\r\n", - " 'ooi-data/CE04OSBP-LJ01C-10-PHSEND107-streamed-phsen_data_record',\r\n", - " 'ooi-data/CE04OSPS-PC01B-4A-CTDPFA109-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/CE04OSPS-PC01B-4A-CTDPFA109-streamed-ctdpf_sbe43_sample',\r\n", - " 'ooi-data/CE04OSPS-PC01B-4B-PHSENA106-streamed-phsen_data_record',\r\n", - " 'ooi-data/CE04OSPS-PC01B-4D-PCO2WA105-streamed-pco2w_a_sami_data_record',\r\n", - " 'ooi-data/CE04OSPS-SF01B-2A-CTDPFA107-streamed-ctdpf_sbe43_sample',\r\n", - " 'ooi-data/CE04OSPS-SF01B-2B-PHSENA108-streamed-phsen_data_record',\r\n", - " 'ooi-data/CE04OSPS-SF01B-3A-FLORTD104-streamed-flort_d_data_record',\r\n", - " 'ooi-data/CE04OSPS-SF01B-3C-PARADA102-streamed-parad_sa_sample',\r\n", - " 'ooi-data/CE04OSPS-SF01B-3D-SPKIRA102-streamed-spkir_data_record',\r\n", - " 'ooi-data/CE04OSPS-SF01B-4A-NUTNRA102-streamed-nutnr_a_dark_sample',\r\n", - " 'ooi-data/CE04OSPS-SF01B-4A-NUTNRA102-streamed-nutnr_a_sample',\r\n", - " 'ooi-data/CE04OSPS-SF01B-4B-VELPTD106-streamed-velpt_velocity_data',\r\n", - " 'ooi-data/CE04OSPS-SF01B-4F-PCO2WA102-streamed-pco2w_a_sami_data_record',\r\n", - " 'ooi-data/RS01SBPS-PC01A-05-ADCPTD102-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/RS01SBPS-PC01A-06-VADCPA101-streamed-vadcp_velocity_beam',\r\n", - " 'ooi-data/RS01SBPS-PC01A-06-VADCPA101-streamed-vadcp_velocity_beam_5',\r\n", - " 'ooi-data/RS01SBPS-PC01A-4A-CTDPFA103-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS01SBPS-PC01A-4A-CTDPFA103-streamed-ctdpf_sbe43_sample',\r\n", - " 'ooi-data/RS01SBPS-PC01A-4B-PHSENA102-streamed-phsen_data_record',\r\n", - " 'ooi-data/RS01SBPS-PC01A-4C-FLORDD103-streamed-flort_d_data_record',\r\n", - " 'ooi-data/RS01SBPS-SF01A-2A-CTDPFA102-streamed-ctdpf_sbe43_sample',\r\n", - " 'ooi-data/RS01SBPS-SF01A-2D-PHSENA101-streamed-phsen_data_record',\r\n", - " 'ooi-data/RS01SBPS-SF01A-3A-FLORTD101-streamed-flort_d_data_record',\r\n", - " 'ooi-data/RS01SBPS-SF01A-3C-PARADA101-streamed-parad_sa_sample',\r\n", - " 'ooi-data/RS01SBPS-SF01A-3D-SPKIRA101-streamed-spkir_data_record',\r\n", - " 'ooi-data/RS01SBPS-SF01A-4A-NUTNRA101-streamed-nutnr_a_dark_sample',\r\n", - " 'ooi-data/RS01SBPS-SF01A-4A-NUTNRA101-streamed-nutnr_a_sample',\r\n", - " 'ooi-data/RS01SBPS-SF01A-4B-VELPTD102-streamed-velpt_velocity_data',\r\n", - " 'ooi-data/RS01SBPS-SF01A-4F-PCO2WA101-streamed-pco2w_a_sami_data_record',\r\n", - " 'ooi-data/RS01SLBS-LJ01A-05-HPIESA101-streamed-echo_sounding',\r\n", - " 'ooi-data/RS01SLBS-LJ01A-10-ADCPTE101-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/RS01SLBS-LJ01A-12-CTDPFB101-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS01SLBS-MJ01A-06-PRESTA101-streamed-prest_real_time',\r\n", - " 'ooi-data/RS01SLBS-MJ01A-12-VEL3DB101-streamed-vel3d_b_sample',\r\n", - " 'ooi-data/RS01SUM1-LJ01B-12-VEL3DB104-streamed-vel3d_b_sample',\r\n", - " 'ooi-data/RS01SUM2-MJ01B-12-ADCPSK101-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/RS03ASHS-MJ03B-07-TMPSFA301-streamed-tmpsf_sample',\r\n", - " 'ooi-data/RS03ASHS-MJ03B-09-BOTPTA304-streamed-botpt_nano_sample_15s',\r\n", - " 'ooi-data/RS03ASHS-MJ03B-10-CTDPFB304-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS03AXBS-LJ03A-05-HPIESA301-streamed-echo_sounding',\r\n", - " 'ooi-data/RS03AXBS-LJ03A-10-ADCPTE303-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/RS03AXBS-LJ03A-11-OPTAAC303-streamed-optaa_sample',\r\n", - " 'ooi-data/RS03AXBS-LJ03A-12-CTDPFB301-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS03AXBS-MJ03A-06-PRESTA301-streamed-prest_real_time',\r\n", - " 'ooi-data/RS03AXBS-MJ03A-12-VEL3DB301-streamed-vel3d_b_sample',\r\n", - " 'ooi-data/RS03AXPS-PC03A-05-ADCPTD302-streamed-adcp_velocity_beam',\r\n", - " 'ooi-data/RS03AXPS-PC03A-06-VADCPA301-streamed-vadcp_velocity_beam',\r\n", - " 'ooi-data/RS03AXPS-PC03A-06-VADCPA301-streamed-vadcp_velocity_beam_5',\r\n", - " 'ooi-data/RS03AXPS-PC03A-4A-CTDPFA303-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS03AXPS-PC03A-4B-PHSENA302-streamed-phsen_data_record',\r\n", - " 'ooi-data/RS03AXPS-PC03A-4C-FLORDD303-streamed-flort_d_data_record',\r\n", - " 'ooi-data/RS03AXPS-SF03A-2A-CTDPFA302-streamed-ctdpf_sbe43_sample',\r\n", - " 'ooi-data/RS03AXPS-SF03A-2D-PHSENA301-streamed-phsen_data_record',\r\n", - " 'ooi-data/RS03AXPS-SF03A-3A-FLORTD301-streamed-flort_d_data_record',\r\n", - " 'ooi-data/RS03AXPS-SF03A-3B-OPTAAD301-streamed-optaa_sample',\r\n", - " 'ooi-data/RS03AXPS-SF03A-3C-PARADA301-streamed-parad_sa_sample',\r\n", - " 'ooi-data/RS03AXPS-SF03A-3D-SPKIRA301-streamed-spkir_data_record',\r\n", - " 'ooi-data/RS03AXPS-SF03A-4A-NUTNRA301-streamed-nutnr_a_dark_sample',\r\n", - " 'ooi-data/RS03AXPS-SF03A-4A-NUTNRA301-streamed-nutnr_a_sample',\r\n", - " 'ooi-data/RS03AXPS-SF03A-4B-VELPTD302-streamed-velpt_velocity_data',\r\n", - " 'ooi-data/RS03AXPS-SF03A-4F-PCO2WA301-streamed-pco2w_a_sami_data_record',\r\n", - " 'ooi-data/RS03CCAL-MJ03F-12-CTDPFB305-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS03ECAL-MJ03E-12-CTDPFB306-streamed-ctdpf_optode_sample',\r\n", - " 'ooi-data/RS03INT1-MJ03C-07-D1000A301-streamed-d1000_sample',\r\n", - " 'ooi-data/RS03INT1-MJ03C-09-TRHPHA302-streamed-trhph_sample',\r\n", - " 'ooi-data/RS03INT1-MJ03C-10-TRHPHA301-streamed-trhph_sample',\r\n", - " 'ooi-data/RS03INT2-MJ03D-12-VEL3DB304-streamed-vel3d_b_sample',\r\n", - " 'ooi-data/annotations',\r\n", - " 'ooi-data/index.json',\r\n", + "['ooi-data/CE02SHBP-LJ01D-05-ADCPTB104-streamed-adcp_velocity_beam',\n", + " 'ooi-data/CE02SHBP-LJ01D-06-CTDBPN106-streamed-ctdbp_no_sample',\n", + " 'ooi-data/CE02SHBP-LJ01D-07-VEL3DC108-streamed-vel3d_cd_velocity_data',\n", + " 'ooi-data/CE02SHBP-LJ01D-09-PCO2WB103-streamed-pco2w_b_sami_data_record',\n", + " 'ooi-data/CE02SHBP-LJ01D-10-PHSEND103-streamed-phsen_data_record',\n", + " 'ooi-data/CE04OSBP-LJ01C-05-ADCPSI103-streamed-adcp_velocity_beam',\n", + " 'ooi-data/CE04OSBP-LJ01C-06-CTDBPO108-streamed-ctdbp_no_sample',\n", + " 'ooi-data/CE04OSBP-LJ01C-07-VEL3DC107-streamed-vel3d_cd_velocity_data',\n", + " 'ooi-data/CE04OSBP-LJ01C-09-PCO2WB104-streamed-pco2w_b_sami_data_record',\n", + " 'ooi-data/CE04OSBP-LJ01C-10-PHSEND107-streamed-phsen_data_record',\n", + " 'ooi-data/CE04OSPS-PC01B-4A-CTDPFA109-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/CE04OSPS-PC01B-4A-CTDPFA109-streamed-ctdpf_sbe43_sample',\n", + " 'ooi-data/CE04OSPS-PC01B-4B-PHSENA106-streamed-phsen_data_record',\n", + " 'ooi-data/CE04OSPS-PC01B-4D-PCO2WA105-streamed-pco2w_a_sami_data_record',\n", + " 'ooi-data/CE04OSPS-SF01B-2A-CTDPFA107-streamed-ctdpf_sbe43_sample',\n", + " 'ooi-data/CE04OSPS-SF01B-2B-PHSENA108-streamed-phsen_data_record',\n", + " 'ooi-data/CE04OSPS-SF01B-3A-FLORTD104-streamed-flort_d_data_record',\n", + " 'ooi-data/CE04OSPS-SF01B-3C-PARADA102-streamed-parad_sa_sample',\n", + " 'ooi-data/CE04OSPS-SF01B-3D-SPKIRA102-streamed-spkir_data_record',\n", + " 'ooi-data/CE04OSPS-SF01B-4A-NUTNRA102-streamed-nutnr_a_dark_sample',\n", + " 'ooi-data/CE04OSPS-SF01B-4A-NUTNRA102-streamed-nutnr_a_sample',\n", + " 'ooi-data/CE04OSPS-SF01B-4B-VELPTD106-streamed-velpt_velocity_data',\n", + " 'ooi-data/CE04OSPS-SF01B-4F-PCO2WA102-streamed-pco2w_a_sami_data_record',\n", + " 'ooi-data/RS01SBPS-PC01A-05-ADCPTD102-streamed-adcp_velocity_beam',\n", + " 'ooi-data/RS01SBPS-PC01A-06-VADCPA101-streamed-vadcp_velocity_beam',\n", + " 'ooi-data/RS01SBPS-PC01A-06-VADCPA101-streamed-vadcp_velocity_beam_5',\n", + " 'ooi-data/RS01SBPS-PC01A-4A-CTDPFA103-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS01SBPS-PC01A-4A-CTDPFA103-streamed-ctdpf_sbe43_sample',\n", + " 'ooi-data/RS01SBPS-PC01A-4B-PHSENA102-streamed-phsen_data_record',\n", + " 'ooi-data/RS01SBPS-PC01A-4C-FLORDD103-streamed-flort_d_data_record',\n", + " 'ooi-data/RS01SBPS-SF01A-2A-CTDPFA102-streamed-ctdpf_sbe43_sample',\n", + " 'ooi-data/RS01SBPS-SF01A-2D-PHSENA101-streamed-phsen_data_record',\n", + " 'ooi-data/RS01SBPS-SF01A-3A-FLORTD101-streamed-flort_d_data_record',\n", + " 'ooi-data/RS01SBPS-SF01A-3C-PARADA101-streamed-parad_sa_sample',\n", + " 'ooi-data/RS01SBPS-SF01A-3D-SPKIRA101-streamed-spkir_data_record',\n", + " 'ooi-data/RS01SBPS-SF01A-4A-NUTNRA101-streamed-nutnr_a_dark_sample',\n", + " 'ooi-data/RS01SBPS-SF01A-4A-NUTNRA101-streamed-nutnr_a_sample',\n", + " 'ooi-data/RS01SBPS-SF01A-4B-VELPTD102-streamed-velpt_velocity_data',\n", + " 'ooi-data/RS01SBPS-SF01A-4F-PCO2WA101-streamed-pco2w_a_sami_data_record',\n", + " 'ooi-data/RS01SLBS-LJ01A-05-HPIESA101-streamed-echo_sounding',\n", + " 'ooi-data/RS01SLBS-LJ01A-10-ADCPTE101-streamed-adcp_velocity_beam',\n", + " 'ooi-data/RS01SLBS-LJ01A-12-CTDPFB101-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS01SLBS-MJ01A-06-PRESTA101-streamed-prest_real_time',\n", + " 'ooi-data/RS01SLBS-MJ01A-12-VEL3DB101-streamed-vel3d_b_sample',\n", + " 'ooi-data/RS01SUM1-LJ01B-12-VEL3DB104-streamed-vel3d_b_sample',\n", + " 'ooi-data/RS01SUM2-MJ01B-12-ADCPSK101-streamed-adcp_velocity_beam',\n", + " 'ooi-data/RS03ASHS-MJ03B-07-TMPSFA301-streamed-tmpsf_sample',\n", + " 'ooi-data/RS03ASHS-MJ03B-09-BOTPTA304-streamed-botpt_nano_sample_15s',\n", + " 'ooi-data/RS03ASHS-MJ03B-10-CTDPFB304-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS03AXBS-LJ03A-05-HPIESA301-streamed-echo_sounding',\n", + " 'ooi-data/RS03AXBS-LJ03A-10-ADCPTE303-streamed-adcp_velocity_beam',\n", + " 'ooi-data/RS03AXBS-LJ03A-11-OPTAAC303-streamed-optaa_sample',\n", + " 'ooi-data/RS03AXBS-LJ03A-12-CTDPFB301-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS03AXBS-MJ03A-06-PRESTA301-streamed-prest_real_time',\n", + " 'ooi-data/RS03AXBS-MJ03A-12-VEL3DB301-streamed-vel3d_b_sample',\n", + " 'ooi-data/RS03AXPS-PC03A-05-ADCPTD302-streamed-adcp_velocity_beam',\n", + " 'ooi-data/RS03AXPS-PC03A-06-VADCPA301-streamed-vadcp_velocity_beam',\n", + " 'ooi-data/RS03AXPS-PC03A-06-VADCPA301-streamed-vadcp_velocity_beam_5',\n", + " 'ooi-data/RS03AXPS-PC03A-4A-CTDPFA303-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS03AXPS-PC03A-4B-PHSENA302-streamed-phsen_data_record',\n", + " 'ooi-data/RS03AXPS-PC03A-4C-FLORDD303-streamed-flort_d_data_record',\n", + " 'ooi-data/RS03AXPS-SF03A-2A-CTDPFA302-streamed-ctdpf_sbe43_sample',\n", + " 'ooi-data/RS03AXPS-SF03A-2D-PHSENA301-streamed-phsen_data_record',\n", + " 'ooi-data/RS03AXPS-SF03A-3A-FLORTD301-streamed-flort_d_data_record',\n", + " 'ooi-data/RS03AXPS-SF03A-3B-OPTAAD301-streamed-optaa_sample',\n", + " 'ooi-data/RS03AXPS-SF03A-3C-PARADA301-streamed-parad_sa_sample',\n", + " 'ooi-data/RS03AXPS-SF03A-3D-SPKIRA301-streamed-spkir_data_record',\n", + " 'ooi-data/RS03AXPS-SF03A-4A-NUTNRA301-streamed-nutnr_a_dark_sample',\n", + " 'ooi-data/RS03AXPS-SF03A-4A-NUTNRA301-streamed-nutnr_a_sample',\n", + " 'ooi-data/RS03AXPS-SF03A-4B-VELPTD302-streamed-velpt_velocity_data',\n", + " 'ooi-data/RS03AXPS-SF03A-4F-PCO2WA301-streamed-pco2w_a_sami_data_record',\n", + " 'ooi-data/RS03CCAL-MJ03F-12-CTDPFB305-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS03ECAL-MJ03E-12-CTDPFB306-streamed-ctdpf_optode_sample',\n", + " 'ooi-data/RS03INT1-MJ03C-07-D1000A301-streamed-d1000_sample',\n", + " 'ooi-data/RS03INT1-MJ03C-09-TRHPHA302-streamed-trhph_sample',\n", + " 'ooi-data/RS03INT1-MJ03C-10-TRHPHA301-streamed-trhph_sample',\n", + " 'ooi-data/RS03INT2-MJ03D-12-VEL3DB304-streamed-vel3d_b_sample',\n", + " 'ooi-data/annotations',\n", + " 'ooi-data/index.json',\n", " 'ooi-data/stats.json']\n", "```" ] @@ -228,7 +3751,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.3" + "version": "3.11.4" } }, "nbformat": 4, diff --git a/book/chapters/documentation.ipynb b/book/chapters/documentation.ipynb index 54e4527..121e4a6 100644 --- a/book/chapters/documentation.ipynb +++ b/book/chapters/documentation.ipynb @@ -8,7 +8,7 @@ "# Documentation\n", "\n", "\n", - "GeoSMART Oceanography Jupyter Book notes \n", + "GeoSMART Oceanography Jupyter Book: Some assembly required, and here is how to deal with these technical details. \n", "\n", "\n", "\n", @@ -16,13 +16,7 @@ "- 1 [Technical Elements](#Technical-Elements)\n", "- 2 [Other Data Resources](#Other-Data-Resources)\n", "- 3 [Computing Infrastructure](#Computing-Infrastructure)\n", - "\n", - "\n", - "\n", - "## JupyterBook To Do\n", - "\n", - "- Shallow profiler dataset rebuild from Zarr / Cloud resources\n", - "- Refactor the contents " + "\n" ] }, { @@ -353,7 +347,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "id": "0ed45d5d-0d15-4894-bc0b-2629205c0cde", "metadata": { "tags": [] @@ -371,7 +365,7 @@ "" ] }, - "execution_count": 1, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -406,7 +400,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 3, "id": "15435601-0c8b-4fdc-a4d3-1f26f3a10ab1", "metadata": { "tags": [] @@ -428,10 +422,10 @@ " " ], "text/plain": [ - "" + "" ] }, - "execution_count": 40, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -2134,7 +2128,7 @@ " - numpy\n", " - pandas\n", " - matplotlib\n", - " - netcdf4\n", + " - netCDF4\n", " - xarray\n", " - ffmpeg\n", "```\n",