diff --git a/.gitignore b/.gitignore index 0d33f8b..5074441 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ notebooks/exports/ notebooks/dask-worker-space/ - +*.DS_Store # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/binder/environment.yml b/binder/environment.yml index 50425bd..6b74942 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -1,12 +1,10 @@ -name: echopype +name: echopype_examples channels: - conda-forge - nodefaults dependencies: - python=3.10 - ipykernel - # Keep the version to the latest release - - echopype==0.8.1 - s3fs - geopandas - cartopy @@ -15,3 +13,9 @@ dependencies: - datashader - holoviews - hvplot + # -- echopype -- + # latest release + - echopype=0.8.4 + # main branch (contains new changes) + # - pip: + # - git+https://github.com/OSOceanAcoustics/echopype diff --git a/notebooks/echopype_tour.ipynb b/notebooks/echopype_tour.ipynb index a9a72e1..08bc91a 100644 --- a/notebooks/echopype_tour.ipynb +++ b/notebooks/echopype_tour.ipynb @@ -54,11 +54,9 @@ " }\n", "\n", " var force = true;\n", - " var py_version = '3.2.2'.replace('rc', '-rc.').replace('.dev', '-dev.');\n", - " var is_dev = py_version.indexOf(\"+\") !== -1 || py_version.indexOf(\"-\") !== -1;\n", + " var py_version = '3.4.1'.replace('rc', '-rc.').replace('.dev', '-dev.');\n", " var reloading = false;\n", " var Bokeh = root.Bokeh;\n", - " var bokeh_loaded = Bokeh != null && (Bokeh.version === py_version || (Bokeh.versions !== undefined && Bokeh.versions.has(py_version)));\n", "\n", " if (typeof (root._bokeh_timeout) === \"undefined\" || force) {\n", " root._bokeh_timeout = Date.now() + 5000;\n", @@ -112,37 +110,8 @@ "\n", " var skip = [];\n", " if (window.requirejs) {\n", - " window.requirejs.config({'packages': {}, 'paths': {'jspanel': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/jspanel', 'jspanel-modal': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/modal/jspanel.modal', 'jspanel-tooltip': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/tooltip/jspanel.tooltip', 'jspanel-hint': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/hint/jspanel.hint', 'jspanel-layout': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/layout/jspanel.layout', 'jspanel-contextmenu': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/contextmenu/jspanel.contextmenu', 'jspanel-dock': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/dock/jspanel.dock', 'gridstack': 'https://cdn.jsdelivr.net/npm/gridstack@7.2.3/dist/gridstack-all', 'notyf': 'https://cdn.jsdelivr.net/npm/notyf@3/notyf.min'}, 'shim': {'jspanel': {'exports': 'jsPanel'}, 'gridstack': {'exports': 'GridStack'}}});\n", - " require([\"jspanel\"], function(jsPanel) {\n", - "\twindow.jsPanel = jsPanel\n", - "\ton_load()\n", - " })\n", - " require([\"jspanel-modal\"], function() {\n", - "\ton_load()\n", - " })\n", - " require([\"jspanel-tooltip\"], function() {\n", - "\ton_load()\n", - " })\n", - " require([\"jspanel-hint\"], function() {\n", - "\ton_load()\n", - " })\n", - " require([\"jspanel-layout\"], function() {\n", - "\ton_load()\n", - " })\n", - " require([\"jspanel-contextmenu\"], function() {\n", - "\ton_load()\n", - " })\n", - " require([\"jspanel-dock\"], function() {\n", - "\ton_load()\n", - " })\n", - " require([\"gridstack\"], function(GridStack) {\n", - "\twindow.GridStack = GridStack\n", - "\ton_load()\n", - " })\n", - " require([\"notyf\"], function() {\n", - "\ton_load()\n", - " })\n", - " root._bokeh_is_loading = css_urls.length + 9;\n", + " window.requirejs.config({'packages': {}, 'paths': {}, 'shim': {}});\n", + " root._bokeh_is_loading = css_urls.length + 0;\n", " } else {\n", " root._bokeh_is_loading = css_urls.length + js_urls.length + js_modules.length + Object.keys(js_exports).length;\n", " }\n", @@ -169,21 +138,6 @@ " element.href = url;\n", " console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n", " document.body.appendChild(element);\n", - " } if (((window['jsPanel'] !== undefined) && (!(window['jsPanel'] instanceof HTMLElement))) || window.requirejs) {\n", - " var urls = ['https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/jspanel.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/modal/jspanel.modal.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/tooltip/jspanel.tooltip.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/hint/jspanel.hint.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/layout/jspanel.layout.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/contextmenu/jspanel.contextmenu.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/dock/jspanel.dock.js'];\n", - " for (var i = 0; i < urls.length; i++) {\n", - " skip.push(urls[i])\n", - " }\n", - " } if (((window['GridStack'] !== undefined) && (!(window['GridStack'] instanceof HTMLElement))) || window.requirejs) {\n", - " var urls = ['https://cdn.holoviz.org/panel/1.2.1/dist/bundled/gridstack/gridstack@7.2.3/dist/gridstack-all.js'];\n", - " for (var i = 0; i < urls.length; i++) {\n", - " skip.push(urls[i])\n", - " }\n", - " } if (((window['Notyf'] !== undefined) && (!(window['Notyf'] instanceof HTMLElement))) || window.requirejs) {\n", - " var urls = ['https://cdn.holoviz.org/panel/1.2.1/dist/bundled/notificationarea/notyf@3/notyf.min.js'];\n", - " for (var i = 0; i < urls.length; i++) {\n", - " skip.push(urls[i])\n", - " }\n", " } var existing_scripts = []\n", " var scripts = document.getElementsByTagName('script')\n", " for (var i = 0; i < scripts.length; i++) {\n", @@ -256,7 +210,7 @@ " document.body.appendChild(element);\n", " }\n", "\n", - " var js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.2.2.min.js\", \"https://cdn.holoviz.org/panel/1.2.1/dist/panel.min.js\"];\n", + " var js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.4.1.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.4.1.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.4.1.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.4.1.min.js\", \"https://cdn.holoviz.org/panel/1.4.2/dist/panel.min.js\"];\n", " var js_modules = [];\n", " var js_exports = {};\n", " var css_urls = [];\n", @@ -269,7 +223,13 @@ " function run_inline_js() {\n", " if ((root.Bokeh !== undefined) || (force === true)) {\n", " for (var i = 0; i < inline_js.length; i++) {\n", - " inline_js[i].call(root, root.Bokeh);\n", + "\ttry {\n", + " inline_js[i].call(root, root.Bokeh);\n", + "\t} catch(e) {\n", + "\t if (!reloading) {\n", + "\t throw e;\n", + "\t }\n", + "\t}\n", " }\n", " // Cache old bokeh versions\n", " if (Bokeh != undefined && !reloading) {\n", @@ -306,11 +266,10 @@ " } else if (root._bokeh_is_initializing || (typeof root._bokeh_is_initializing === \"undefined\" && root._bokeh_onload_callbacks !== undefined)) {\n", " setTimeout(load_or_wait, 100);\n", " } else {\n", - " Bokeh = root.Bokeh;\n", - " bokeh_loaded = Bokeh != null && (Bokeh.version === py_version || (Bokeh.versions !== undefined && Bokeh.versions.has(py_version)));\n", " root._bokeh_is_initializing = true\n", " root._bokeh_onload_callbacks = []\n", - " if (!reloading && (!bokeh_loaded || is_dev)) {\n", + " var bokeh_loaded = Bokeh != null && (Bokeh.version === py_version || (Bokeh.versions !== undefined && Bokeh.versions.has(py_version)));\n", + " if (!reloading && !bokeh_loaded) {\n", "\troot.Bokeh = undefined;\n", " }\n", " load_libs(css_urls, js_urls, js_modules, js_exports, function() {\n", @@ -324,7 +283,7 @@ " setTimeout(load_or_wait, 100)\n", "}(window));" ], - "application/vnd.holoviews_load.v0+json": "(function(root) {\n function now() {\n return new Date();\n }\n\n var force = true;\n var py_version = '3.2.2'.replace('rc', '-rc.').replace('.dev', '-dev.');\n var is_dev = py_version.indexOf(\"+\") !== -1 || py_version.indexOf(\"-\") !== -1;\n var reloading = false;\n var Bokeh = root.Bokeh;\n var bokeh_loaded = Bokeh != null && (Bokeh.version === py_version || (Bokeh.versions !== undefined && Bokeh.versions.has(py_version)));\n\n if (typeof (root._bokeh_timeout) === \"undefined\" || force) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks;\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, js_modules, js_exports, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n if (js_modules == null) js_modules = [];\n if (js_exports == null) js_exports = {};\n\n root._bokeh_onload_callbacks.push(callback);\n\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls.length === 0 && js_modules.length === 0 && Object.keys(js_exports).length === 0) {\n run_callbacks();\n return null;\n }\n if (!reloading) {\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n }\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n window._bokeh_on_load = on_load\n\n function on_error() {\n console.error(\"failed to load \" + url);\n }\n\n var skip = [];\n if (window.requirejs) {\n window.requirejs.config({'packages': {}, 'paths': {'jspanel': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/jspanel', 'jspanel-modal': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/modal/jspanel.modal', 'jspanel-tooltip': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/tooltip/jspanel.tooltip', 'jspanel-hint': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/hint/jspanel.hint', 'jspanel-layout': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/layout/jspanel.layout', 'jspanel-contextmenu': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/contextmenu/jspanel.contextmenu', 'jspanel-dock': 'https://cdn.jsdelivr.net/npm/jspanel4@4.12.0/dist/extensions/dock/jspanel.dock', 'gridstack': 'https://cdn.jsdelivr.net/npm/gridstack@7.2.3/dist/gridstack-all', 'notyf': 'https://cdn.jsdelivr.net/npm/notyf@3/notyf.min'}, 'shim': {'jspanel': {'exports': 'jsPanel'}, 'gridstack': {'exports': 'GridStack'}}});\n require([\"jspanel\"], function(jsPanel) {\n\twindow.jsPanel = jsPanel\n\ton_load()\n })\n require([\"jspanel-modal\"], function() {\n\ton_load()\n })\n require([\"jspanel-tooltip\"], function() {\n\ton_load()\n })\n require([\"jspanel-hint\"], function() {\n\ton_load()\n })\n require([\"jspanel-layout\"], function() {\n\ton_load()\n })\n require([\"jspanel-contextmenu\"], function() {\n\ton_load()\n })\n require([\"jspanel-dock\"], function() {\n\ton_load()\n })\n require([\"gridstack\"], function(GridStack) {\n\twindow.GridStack = GridStack\n\ton_load()\n })\n require([\"notyf\"], function() {\n\ton_load()\n })\n root._bokeh_is_loading = css_urls.length + 9;\n } else {\n root._bokeh_is_loading = css_urls.length + js_urls.length + js_modules.length + Object.keys(js_exports).length;\n }\n\n var existing_stylesheets = []\n var links = document.getElementsByTagName('link')\n for (var i = 0; i < links.length; i++) {\n var link = links[i]\n if (link.href != null) {\n\texisting_stylesheets.push(link.href)\n }\n }\n for (var i = 0; i < css_urls.length; i++) {\n var url = css_urls[i];\n if (existing_stylesheets.indexOf(url) !== -1) {\n\ton_load()\n\tcontinue;\n }\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error;\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n } if (((window['jsPanel'] !== undefined) && (!(window['jsPanel'] instanceof HTMLElement))) || window.requirejs) {\n var urls = ['https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/jspanel.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/modal/jspanel.modal.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/tooltip/jspanel.tooltip.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/hint/jspanel.hint.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/layout/jspanel.layout.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/contextmenu/jspanel.contextmenu.js', 'https://cdn.holoviz.org/panel/1.2.1/dist/bundled/floatpanel/jspanel4@4.12.0/dist/extensions/dock/jspanel.dock.js'];\n for (var i = 0; i < urls.length; i++) {\n skip.push(urls[i])\n }\n } if (((window['GridStack'] !== undefined) && (!(window['GridStack'] instanceof HTMLElement))) || window.requirejs) {\n var urls = ['https://cdn.holoviz.org/panel/1.2.1/dist/bundled/gridstack/gridstack@7.2.3/dist/gridstack-all.js'];\n for (var i = 0; i < urls.length; i++) {\n skip.push(urls[i])\n }\n } if (((window['Notyf'] !== undefined) && (!(window['Notyf'] instanceof HTMLElement))) || window.requirejs) {\n var urls = ['https://cdn.holoviz.org/panel/1.2.1/dist/bundled/notificationarea/notyf@3/notyf.min.js'];\n for (var i = 0; i < urls.length; i++) {\n skip.push(urls[i])\n }\n } var existing_scripts = []\n var scripts = document.getElementsByTagName('script')\n for (var i = 0; i < scripts.length; i++) {\n var script = scripts[i]\n if (script.src != null) {\n\texisting_scripts.push(script.src)\n }\n }\n for (var i = 0; i < js_urls.length; i++) {\n var url = js_urls[i];\n if (skip.indexOf(url) !== -1 || existing_scripts.indexOf(url) !== -1) {\n\tif (!window.requirejs) {\n\t on_load();\n\t}\n\tcontinue;\n }\n var element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error;\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n for (var i = 0; i < js_modules.length; i++) {\n var url = js_modules[i];\n if (skip.indexOf(url) !== -1 || existing_scripts.indexOf(url) !== -1) {\n\tif (!window.requirejs) {\n\t on_load();\n\t}\n\tcontinue;\n }\n var element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error;\n element.async = false;\n element.src = url;\n element.type = \"module\";\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n for (const name in js_exports) {\n var url = js_exports[name];\n if (skip.indexOf(url) >= 0 || root[name] != null) {\n\tif (!window.requirejs) {\n\t on_load();\n\t}\n\tcontinue;\n }\n var element = document.createElement('script');\n element.onerror = on_error;\n element.async = false;\n element.type = \"module\";\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n element.textContent = `\n import ${name} from \"${url}\"\n window.${name} = ${name}\n window._bokeh_on_load()\n `\n document.head.appendChild(element);\n }\n if (!js_urls.length && !js_modules.length) {\n on_load()\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n var js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.2.2.min.js\", \"https://cdn.holoviz.org/panel/1.2.1/dist/panel.min.js\"];\n var js_modules = [];\n var js_exports = {};\n var css_urls = [];\n var inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {} // ensure no trailing comma for IE\n ];\n\n function run_inline_js() {\n if ((root.Bokeh !== undefined) || (force === true)) {\n for (var i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\n // Cache old bokeh versions\n if (Bokeh != undefined && !reloading) {\n\tvar NewBokeh = root.Bokeh;\n\tif (Bokeh.versions === undefined) {\n\t Bokeh.versions = new Map();\n\t}\n\tif (NewBokeh.version !== Bokeh.version) {\n\t Bokeh.versions.set(NewBokeh.version, NewBokeh)\n\t}\n\troot.Bokeh = Bokeh;\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n }\n root._bokeh_is_initializing = false\n }\n\n function load_or_wait() {\n // Implement a backoff loop that tries to ensure we do not load multiple\n // versions of Bokeh and its dependencies at the same time.\n // In recent versions we use the root._bokeh_is_initializing flag\n // to determine whether there is an ongoing attempt to initialize\n // bokeh, however for backward compatibility we also try to ensure\n // that we do not start loading a newer (Panel>=1.0 and Bokeh>3) version\n // before older versions are fully initialized.\n if (root._bokeh_is_initializing && Date.now() > root._bokeh_timeout) {\n root._bokeh_is_initializing = false;\n root._bokeh_onload_callbacks = undefined;\n console.log(\"Bokeh: BokehJS was loaded multiple times but one version failed to initialize.\");\n load_or_wait();\n } else if (root._bokeh_is_initializing || (typeof root._bokeh_is_initializing === \"undefined\" && root._bokeh_onload_callbacks !== undefined)) {\n setTimeout(load_or_wait, 100);\n } else {\n Bokeh = root.Bokeh;\n bokeh_loaded = Bokeh != null && (Bokeh.version === py_version || (Bokeh.versions !== undefined && Bokeh.versions.has(py_version)));\n root._bokeh_is_initializing = true\n root._bokeh_onload_callbacks = []\n if (!reloading && (!bokeh_loaded || is_dev)) {\n\troot.Bokeh = undefined;\n }\n load_libs(css_urls, js_urls, js_modules, js_exports, function() {\n\tconsole.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n\trun_inline_js();\n });\n }\n }\n // Give older versions of the autoload script a head-start to ensure\n // they initialize before we start loading newer version.\n setTimeout(load_or_wait, 100)\n}(window));" + "application/vnd.holoviews_load.v0+json": "(function(root) {\n function now() {\n return new Date();\n }\n\n var force = true;\n var py_version = '3.4.1'.replace('rc', '-rc.').replace('.dev', '-dev.');\n var reloading = false;\n var Bokeh = root.Bokeh;\n\n if (typeof (root._bokeh_timeout) === \"undefined\" || force) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks;\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, js_modules, js_exports, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n if (js_modules == null) js_modules = [];\n if (js_exports == null) js_exports = {};\n\n root._bokeh_onload_callbacks.push(callback);\n\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls.length === 0 && js_modules.length === 0 && Object.keys(js_exports).length === 0) {\n run_callbacks();\n return null;\n }\n if (!reloading) {\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n }\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n window._bokeh_on_load = on_load\n\n function on_error() {\n console.error(\"failed to load \" + url);\n }\n\n var skip = [];\n if (window.requirejs) {\n window.requirejs.config({'packages': {}, 'paths': {}, 'shim': {}});\n root._bokeh_is_loading = css_urls.length + 0;\n } else {\n root._bokeh_is_loading = css_urls.length + js_urls.length + js_modules.length + Object.keys(js_exports).length;\n }\n\n var existing_stylesheets = []\n var links = document.getElementsByTagName('link')\n for (var i = 0; i < links.length; i++) {\n var link = links[i]\n if (link.href != null) {\n\texisting_stylesheets.push(link.href)\n }\n }\n for (var i = 0; i < css_urls.length; i++) {\n var url = css_urls[i];\n if (existing_stylesheets.indexOf(url) !== -1) {\n\ton_load()\n\tcontinue;\n }\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error;\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n } var existing_scripts = []\n var scripts = document.getElementsByTagName('script')\n for (var i = 0; i < scripts.length; i++) {\n var script = scripts[i]\n if (script.src != null) {\n\texisting_scripts.push(script.src)\n }\n }\n for (var i = 0; i < js_urls.length; i++) {\n var url = js_urls[i];\n if (skip.indexOf(url) !== -1 || existing_scripts.indexOf(url) !== -1) {\n\tif (!window.requirejs) {\n\t on_load();\n\t}\n\tcontinue;\n }\n var element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error;\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n for (var i = 0; i < js_modules.length; i++) {\n var url = js_modules[i];\n if (skip.indexOf(url) !== -1 || existing_scripts.indexOf(url) !== -1) {\n\tif (!window.requirejs) {\n\t on_load();\n\t}\n\tcontinue;\n }\n var element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error;\n element.async = false;\n element.src = url;\n element.type = \"module\";\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n for (const name in js_exports) {\n var url = js_exports[name];\n if (skip.indexOf(url) >= 0 || root[name] != null) {\n\tif (!window.requirejs) {\n\t on_load();\n\t}\n\tcontinue;\n }\n var element = document.createElement('script');\n element.onerror = on_error;\n element.async = false;\n element.type = \"module\";\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n element.textContent = `\n import ${name} from \"${url}\"\n window.${name} = ${name}\n window._bokeh_on_load()\n `\n document.head.appendChild(element);\n }\n if (!js_urls.length && !js_modules.length) {\n on_load()\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n var js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.4.1.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.4.1.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.4.1.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.4.1.min.js\", \"https://cdn.holoviz.org/panel/1.4.2/dist/panel.min.js\"];\n var js_modules = [];\n var js_exports = {};\n var css_urls = [];\n var inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {} // ensure no trailing comma for IE\n ];\n\n function run_inline_js() {\n if ((root.Bokeh !== undefined) || (force === true)) {\n for (var i = 0; i < inline_js.length; i++) {\n\ttry {\n inline_js[i].call(root, root.Bokeh);\n\t} catch(e) {\n\t if (!reloading) {\n\t throw e;\n\t }\n\t}\n }\n // Cache old bokeh versions\n if (Bokeh != undefined && !reloading) {\n\tvar NewBokeh = root.Bokeh;\n\tif (Bokeh.versions === undefined) {\n\t Bokeh.versions = new Map();\n\t}\n\tif (NewBokeh.version !== Bokeh.version) {\n\t Bokeh.versions.set(NewBokeh.version, NewBokeh)\n\t}\n\troot.Bokeh = Bokeh;\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n }\n root._bokeh_is_initializing = false\n }\n\n function load_or_wait() {\n // Implement a backoff loop that tries to ensure we do not load multiple\n // versions of Bokeh and its dependencies at the same time.\n // In recent versions we use the root._bokeh_is_initializing flag\n // to determine whether there is an ongoing attempt to initialize\n // bokeh, however for backward compatibility we also try to ensure\n // that we do not start loading a newer (Panel>=1.0 and Bokeh>3) version\n // before older versions are fully initialized.\n if (root._bokeh_is_initializing && Date.now() > root._bokeh_timeout) {\n root._bokeh_is_initializing = false;\n root._bokeh_onload_callbacks = undefined;\n console.log(\"Bokeh: BokehJS was loaded multiple times but one version failed to initialize.\");\n load_or_wait();\n } else if (root._bokeh_is_initializing || (typeof root._bokeh_is_initializing === \"undefined\" && root._bokeh_onload_callbacks !== undefined)) {\n setTimeout(load_or_wait, 100);\n } else {\n root._bokeh_is_initializing = true\n root._bokeh_onload_callbacks = []\n var bokeh_loaded = Bokeh != null && (Bokeh.version === py_version || (Bokeh.versions !== undefined && Bokeh.versions.has(py_version)));\n if (!reloading && !bokeh_loaded) {\n\troot.Bokeh = undefined;\n }\n load_libs(css_urls, js_urls, js_modules, js_exports, function() {\n\tconsole.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n\trun_inline_js();\n });\n }\n }\n // Give older versions of the autoload script a head-start to ensure\n // they initialize before we start loading newer version.\n setTimeout(load_or_wait, 100)\n}(window));" }, "metadata": {}, "output_type": "display_data" @@ -600,6 +559,84 @@ }, "metadata": {}, "output_type": "display_data" + }, + { + "data": { + "application/vnd.holoviews_exec.v0+json": "", + "text/html": [ + "
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 0B\n", "Dimensions: ()\n", "Data variables:\n", " *empty*\n", @@ -1243,12 +1280,12 @@ " title: 2017 Pacific Hake Acoustic Trawl Survey\n", " date_created: 2017-07-28T19:52:19Z\n", " processing_level: Level 1A\n", - " processing_level_url: https://echopype.readthedocs.io/en/stable/pr...
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 30kB\n", "Dimensions: (channel: 3, time1: 523)\n", "Coordinates:\n", - " * channel (channel) <U37 'GPT 18 kHz 009072058c8d 1-1 ES18...\n", - " * time1 (time1) datetime64[ns] 2017-07-28T19:52:19.120309...\n", + " * channel (channel) <U37 444B 'GPT 18 kHz 009072058c8d 1-1...\n", + " * time1 (time1) datetime64[ns] 4kB 2017-07-28T19:52:19.12...\n", "Data variables:\n", - " absorption_indicative (channel, time1) float64 dask.array<chunksize=(3, 523), meta=np.ndarray>\n", - " sound_speed_indicative (channel, time1) float64 dask.array<chunksize=(3, 523), meta=np.ndarray>\n", - " frequency_nominal (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 117kB\n", "Dimensions: (time1: 2769, time2: 523, channel: 3)\n", "Coordinates:\n", - " * time1 (time1) datetime64[ns] 2017-07-28T19:52:22.001629184...\n", - " * time2 (time2) datetime64[ns] 2017-07-28T19:52:19.120309760...\n", - " * channel (channel) <U37 'GPT 18 kHz 009072058c8d 1-1 ES18-11...\n", + " * time1 (time1) datetime64[ns] 22kB 2017-07-28T19:52:22.0016...\n", + " * time2 (time2) datetime64[ns] 4kB 2017-07-28T19:52:19.12031...\n", + " * channel (channel) <U37 444B 'GPT 18 kHz 009072058c8d 1-1 ES...\n", "Data variables: (12/20)\n", - " latitude (time1) float64 dask.array<chunksize=(2769,), meta=np.ndarray>\n", - " longitude (time1) float64 dask.array<chunksize=(2769,), meta=np.ndarray>\n", - " sentence_type (time1) <U3 dask.array<chunksize=(2769,), meta=np.ndarray>\n", - " pitch (time2) float64 dask.array<chunksize=(523,), meta=np.ndarray>\n", - " roll (time2) float64 dask.array<chunksize=(523,), meta=np.ndarray>\n", - " vertical_offset (time2) float64 dask.array<chunksize=(523,), meta=np.ndarray>\n", + " latitude (time1) float64 22kB 43.69 43.69 43.69 ... 43.78 43.78\n", + " longitude (time1) float64 22kB -125.2 -125.2 ... -125.2 -125.2\n", + " sentence_type (time1) <U3 33kB 'GGA' 'GLL' 'GGA' ... 'GLL' 'GGA'\n", + " pitch (time2) float64 4kB -0.4641 -0.2911 ... -1.072 -0.3782\n", + " roll (time2) float64 4kB 0.58 -0.4938 ... 0.6955 -0.03356\n", + " vertical_offset (time2) float64 4kB -0.1959 -0.00136 ... 0.16 -0.1182\n", " ... ...\n", - " position_offset_y float64 nan\n", - " position_offset_z float64 nan\n", - " transducer_offset_x (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " transducer_offset_y (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " transducer_offset_z (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " frequency_nominal (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", + " position_offset_y float64 8B nan\n", + " position_offset_z float64 8B nan\n", + " transducer_offset_x (channel) float64 24B 0.0 0.0 0.0\n", + " transducer_offset_y (channel) float64 24B 0.0 0.0 0.0\n", + " transducer_offset_z (channel) float64 24B 0.0 0.0 0.0\n", + " frequency_nominal (channel) float64 24B 1.8e+04 3.8e+04 1.2e+05\n", "Attributes:\n", " platform_name: Bell M. Shimada\n", " platform_type: Research vessel\n", - " platform_code_ICES: 315
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 9MB\n", "Dimensions: (time1: 29194)\n", "Coordinates:\n", - " * time1 (time1) datetime64[ns] 2017-07-28T19:52:19.120309760 ... 2...\n", + " * time1 (time1) datetime64[ns] 234kB 2017-07-28T19:52:19.120310 .....\n", "Data variables:\n", - " NMEA_datagram (time1) <U73 dask.array<chunksize=(29194,), meta=np.ndarray>\n", + " NMEA_datagram (time1) <U73 9MB '$SDVLW,5063.975,N,5063.975,N' ... '$INHD...\n", "Attributes:\n", - " description: All NMEA sensor datagrams
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 376B\n", "Dimensions: (filenames: 1)\n", "Coordinates:\n", - " * filenames (filenames) int64 0\n", + " * filenames (filenames) int64 8B 0\n", "Data variables:\n", - " source_filenames (filenames) <U92 dask.array<chunksize=(1,), meta=np.ndarray>\n", + " source_filenames (filenames) <U92 368B 's3://ncei-wcsd-archive/data/raw/...\n", "Attributes:\n", " conversion_software_name: echopype\n", - " conversion_software_version: 0.8.1\n", - " conversion_time: 2023-09-04T23:14:26Z
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 568B\n", "Dimensions: (beam_group: 1)\n", "Coordinates:\n", - " * beam_group (beam_group) <U11 'Beam_group1'\n", + " * beam_group (beam_group) <U11 44B 'Beam_group1'\n", "Data variables:\n", - " beam_group_descr (beam_group) <U131 dask.array<chunksize=(1,), meta=np.ndarray>\n", + " beam_group_descr (beam_group) <U131 524B 'contains backscatter power (un...\n", "Attributes:\n", " sonar_manufacturer: Simrad\n", " sonar_model: EK60\n", " sonar_serial_number: \n", " sonar_software_name: ER60\n", " sonar_software_version: 2.4.3\n", - " sonar_type: echosounder
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 37MB\n", "Dimensions: (channel: 3, ping_time: 523,\n", " range_sample: 3957)\n", "Coordinates:\n", - " * channel (channel) <U37 'GPT 18 kHz 009072058c8d 1...\n", - " * ping_time (ping_time) datetime64[ns] 2017-07-28T19:5...\n", - " * range_sample (range_sample) int64 0 1 2 ... 3954 3955 3956\n", + " * channel (channel) <U37 444B 'GPT 18 kHz 009072058...\n", + " * ping_time (ping_time) datetime64[ns] 4kB 2017-07-28T...\n", + " * range_sample (range_sample) int64 32kB 0 1 2 ... 3955 3956\n", "Data variables: (12/29)\n", - " frequency_nominal (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beam_type (channel) int64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beamwidth_twoway_alongship (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beamwidth_twoway_athwartship (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beam_direction_x (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beam_direction_y (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", + " frequency_nominal (channel) float64 24B 1.8e+04 3.8e+04 1.2e+05\n", + " beam_type (channel) int64 24B 1 1 1\n", + " beamwidth_twoway_alongship (channel) float64 24B 10.9 6.81 6.58\n", + " beamwidth_twoway_athwartship (channel) float64 24B 10.82 6.85 6.52\n", + " beam_direction_x (channel) float64 24B nan nan nan\n", + " beam_direction_y (channel) float64 24B nan nan nan\n", " ... ...\n", - " data_type (channel, ping_time) float32 dask.array<chunksize=(3, 523), meta=np.ndarray>\n", - " sample_time_offset (channel, ping_time) float64 dask.array<chunksize=(3, 523), meta=np.ndarray>\n", - " channel_mode (channel, ping_time) int8 dask.array<chunksize=(3, 523), meta=np.ndarray>\n", - " backscatter_r (channel, ping_time, range_sample) float32 dask.array<chunksize=(3, 523, 3957), meta=np.ndarray>\n", - " angle_athwartship (channel, ping_time, range_sample) float32 dask.array<chunksize=(3, 523, 3957), meta=np.ndarray>\n", - " angle_alongship (channel, ping_time, range_sample) float32 dask.array<chunksize=(3, 523, 3957), meta=np.ndarray>\n", + " data_type (channel, ping_time) int8 2kB 3 3 3 ... 3 3 3\n", + " sample_time_offset (channel, ping_time) float64 13kB 0.0 ... 0.0\n", + " channel_mode (channel, ping_time) int8 2kB 0 0 0 ... 0 0 0\n", + " backscatter_r (channel, ping_time, range_sample) float32 25MB ...\n", + " angle_athwartship (channel, ping_time, range_sample) int8 6MB ...\n", + " angle_alongship (channel, ping_time, range_sample) int8 6MB ...\n", "Attributes:\n", " beam_mode: vertical\n", - " conversion_equation_t: type_3
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 868B\n", "Dimensions: (channel: 3, pulse_length_bin: 5)\n", "Coordinates:\n", - " * channel (channel) <U37 'GPT 18 kHz 009072058c8d 1-1 ES18-11' ...\n", - " * pulse_length_bin (pulse_length_bin) int64 0 1 2 3 4\n", + " * channel (channel) <U37 444B 'GPT 18 kHz 009072058c8d 1-1 ES18...\n", + " * pulse_length_bin (pulse_length_bin) int64 40B 0 1 2 3 4\n", "Data variables:\n", - " frequency_nominal (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " sa_correction (channel, pulse_length_bin) float64 dask.array<chunksize=(3, 5), meta=np.ndarray>\n", - " gain_correction (channel, pulse_length_bin) float64 dask.array<chunksize=(3, 5), meta=np.ndarray>\n", - " pulse_length (channel, pulse_length_bin) float64 dask.array<chunksize=(3, 5), meta=np.ndarray>
PandasIndex(Index([0, 1, 2, 3, 4], dtype='int64', name='pulse_length_bin'))
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 11kB\n", "Dimensions: (filenames: 5, echodata_filename: 5)\n", "Coordinates:\n", - " * filenames (filenames) int64 0 1 2 3 4\n", - " * echodata_filename (echodata_filename) <U33 'Summer2017-D201707...\n", + " * filenames (filenames) int64 40B 0 1 2 3 4\n", + " * echodata_filename (echodata_filename) <U33 660B 'Summer2017-D2...\n", "Data variables: (12/26)\n", - " source_filenames (filenames) <U92 's3://ncei-wcsd-archive/dat...\n", - " conventions (echodata_filename) <U35 'CF-1.7, SONAR-netC...\n", - " date_created (echodata_filename) <U20 '2017-07-28T18:16:1...\n", - " keywords (echodata_filename) <U4 'EK60' ... 'EK60'\n", - " processing_level (echodata_filename) <U8 'Level 1A' ... 'Leve...\n", - " processing_level_url (echodata_filename) <U64 'https://echopype.r...\n", + " source_filenames (filenames) <U92 2kB 's3://ncei-wcsd-archive...\n", + " conventions (echodata_filename) <U35 700B 'CF-1.7, SONAR...\n", + " date_created (echodata_filename) <U20 400B '2017-07-28T18...\n", + " keywords (echodata_filename) <U4 80B 'EK60' ... 'EK60'\n", + " processing_level (echodata_filename) <U8 160B 'Level 1A' ... ...\n", + " processing_level_url (echodata_filename) <U64 1kB 'https://echopy...\n", " ... ...\n", - " sonar_serial_number (echodata_filename) <U1 '' '' '' '' ''\n", - " sonar_software_name (echodata_filename) <U4 'ER60' ... 'ER60'\n", - " sonar_software_version (echodata_filename) <U5 '2.4.3' ... '2.4.3'\n", - " sonar_type (echodata_filename) <U11 'echosounder' ... '...\n", - " beam_mode (echodata_filename) <U8 'vertical' ... 'vert...\n", - " conversion_equation_t (echodata_filename) <U6 'type_3' ... 'type_3'\n", + " sonar_serial_number (echodata_filename) <U1 20B '' '' '' '' ''\n", + " sonar_software_name (echodata_filename) <U4 80B 'ER60' ... 'ER60'\n", + " sonar_software_version (echodata_filename) <U5 100B '2.4.3' ... '2....\n", + " sonar_type (echodata_filename) <U11 220B 'echosounder' ...\n", + " beam_mode (echodata_filename) <U8 160B 'vertical' ... ...\n", + " conversion_equation_t (echodata_filename) <U6 120B 'type_3' ... 't...\n", "Attributes:\n", " conversion_software_name: echopype\n", - " conversion_software_version: 0.8.1\n", - " conversion_time: 2023-09-04T23:14:17Z\n", + " conversion_software_version: 0.8.4\n", + " conversion_time: 2024-04-25T21:30:34Z\n", " is_combined: True\n", " combination_software_name: echopype\n", - " combination_software_version: 0.8.1\n", - " combination_time: 2023-09-04T23:14:27Z
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 452MB\n", "Dimensions: (channel: 3, ping_time: 2379,\n", " range_sample: 3957, filenames: 1)\n", "Coordinates:\n", - " * channel (channel) <U37 'GPT 18 kHz 009072058c8d 1...\n", - " * ping_time (ping_time) datetime64[ns] 2017-07-28T18:1...\n", - " * range_sample (range_sample) int64 0 1 2 ... 3954 3955 3956\n", - " * filenames (filenames) int64 0\n", + " * channel (channel) <U37 444B 'GPT 18 kHz 009072058...\n", + " * ping_time (ping_time) datetime64[ns] 19kB 2017-07-28...\n", + " * range_sample (range_sample) int64 32kB 0 1 2 ... 3955 3956\n", + " * filenames (filenames) int64 8B 0\n", "Data variables: (12/16)\n", - " Sv (channel, ping_time, range_sample) float64 ...\n", - " echo_range (channel, ping_time, range_sample) float64 ...\n", - " frequency_nominal (channel) float64 1.8e+04 3.8e+04 1.2e+05\n", - " sound_speed (channel, ping_time) float64 1.481e+03 ......\n", - " sound_absorption (channel, ping_time) float64 0.002822 ... ...\n", - " sa_correction (ping_time, channel) float64 -0.7 ... -0.3\n", + " Sv (channel, ping_time, range_sample) float64 226MB ...\n", + " echo_range (channel, ping_time, range_sample) float64 226MB ...\n", + " frequency_nominal (channel) float64 24B 1.8e+04 3.8e+04 1.2e+05\n", + " sound_speed (channel, ping_time) float64 57kB 1.481e+0...\n", + " sound_absorption (channel, ping_time) float64 57kB 0.002822...\n", + " sa_correction (channel, ping_time) float64 57kB -0.7 ......\n", " ... ...\n", - " angle_sensitivity_alongship (channel) float64 13.89 21.97 23.12\n", - " angle_sensitivity_athwartship (channel) float64 13.89 21.97 23.12\n", - " beamwidth_alongship (channel) float64 10.9 6.81 6.58\n", - " beamwidth_athwartship (channel) float64 10.82 6.85 6.52\n", - " source_filenames (filenames) <U26 'SOURCE FILE NOT IDENTIFIED'\n", - " water_level float64 9.15\n", + " angle_sensitivity_alongship (channel) float64 24B 13.89 21.97 23.12\n", + " angle_sensitivity_athwartship (channel) float64 24B 13.89 21.97 23.12\n", + " beamwidth_alongship (channel) float64 24B 10.9 6.81 6.58\n", + " beamwidth_athwartship (channel) float64 24B 10.82 6.85 6.52\n", + " source_filenames (filenames) <U26 104B 'SOURCE FILE NOT IDE...\n", + " water_level float64 8B 9.15\n", "Attributes:\n", " processing_software_name: echopype\n", - " processing_software_version: 0.8.1\n", - " processing_time: 2023-09-04T23:14:29Z\n", - " processing_function: calibrate.compute_Sv
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 1MB\n", "Dimensions: (channel: 3, ping_time: 391, echo_range: 150)\n", "Coordinates:\n", - " * channel (channel) <U37 'GPT 18 kHz 009072058c8d 1-1 ES18-11' ...\n", - " * ping_time (ping_time) datetime64[ns] 2017-07-28T18:16:00 ... 201...\n", - " * echo_range (echo_range) float64 0.0 5.0 10.0 ... 735.0 740.0 745.0\n", + " * ping_time (ping_time) datetime64[ns] 3kB 2017-07-28T18:16:00 ......\n", + " * channel (channel) <U37 444B 'GPT 18 kHz 009072058c8d 1-1 ES18...\n", + " * echo_range (echo_range) float64 1kB 0.0 5.0 10.0 ... 740.0 745.0\n", "Data variables:\n", - " Sv (channel, ping_time, echo_range) float64 -15.13 ... -5...\n", - " frequency_nominal (channel) float64 1.8e+04 3.8e+04 1.2e+05\n", + " Sv (channel, ping_time, echo_range) float64 1MB -15.13 .....\n", + " water_level float64 8B 9.15\n", + " frequency_nominal (channel) float64 24B 1.8e+04 3.8e+04 1.2e+05\n", "Attributes:\n", " processing_software_name: echopype\n", - " processing_software_version: 0.8.1\n", - " processing_time: 2023-09-04T23:14:30Z\n", - " processing_function: commongrid.compute_MVBS
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 0B\n", "Dimensions: ()\n", "Data variables:\n", " *empty*\n", @@ -1216,12 +1254,12 @@ " sonar_convention_version: 1.0\n", " summary: \n", " title: \n", - " date_created: 2017-08-21T04:57:17Z
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 332kB\n", "Dimensions: (channel: 3, time1: 5923)\n", "Coordinates:\n", - " * channel (channel) <U39 'GPT 38 kHz 00907208dd13 5-1 OOI....\n", - " * time1 (time1) datetime64[ns] 2017-08-21T04:57:17.329287...\n", + " * channel (channel) <U39 468B 'GPT 38 kHz 00907208dd13 5-1...\n", + " * time1 (time1) datetime64[ns] 47kB 2017-08-21T04:57:17.3...\n", "Data variables:\n", - " absorption_indicative (channel, time1) float64 0.009785 ... 0.05269\n", - " sound_speed_indicative (channel, time1) float64 1.494e+03 ... 1.494e+03\n", - " frequency_nominal (channel) float64 3.8e+04 1.2e+05 2e+05
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 190kB\n", "Dimensions: (time1: 1, time2: 5923, channel: 3)\n", "Coordinates:\n", - " * time1 (time1) datetime64[ns] 2017-08-21T04:57:17.329287168\n", - " * time2 (time2) datetime64[ns] 2017-08-21T04:57:17.329287168...\n", - " * channel (channel) <U39 'GPT 38 kHz 00907208dd13 5-1 OOI.38|...\n", + " * time1 (time1) datetime64[ns] 8B 2017-08-21T04:57:17.329287\n", + " * time2 (time2) datetime64[ns] 47kB 2017-08-21T04:57:17.3292...\n", + " * channel (channel) <U39 468B 'GPT 38 kHz 00907208dd13 5-1 OO...\n", "Data variables: (12/20)\n", - " latitude (time1) float64 nan\n", - " longitude (time1) float64 nan\n", - " sentence_type (time1) float64 nan\n", - " pitch (time2) float64 0.0 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0\n", - " roll (time2) float64 0.0 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0\n", - " vertical_offset (time2) float64 0.0 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0\n", + " latitude (time1) float64 8B nan\n", + " longitude (time1) float64 8B nan\n", + " sentence_type (time1) float64 8B nan\n", + " pitch (time2) float64 47kB 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + " roll (time2) float64 47kB 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + " vertical_offset (time2) float64 47kB 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", " ... ...\n", - " position_offset_y float64 nan\n", - " position_offset_z float64 nan\n", - " transducer_offset_x (channel) float64 0.0 0.0 0.0\n", - " transducer_offset_y (channel) float64 0.0 0.0 0.0\n", - " transducer_offset_z (channel) float64 0.0 0.0 0.0\n", - " frequency_nominal (channel) float64 3.8e+04 1.2e+05 2e+05\n", + " position_offset_y float64 8B nan\n", + " position_offset_z float64 8B nan\n", + " transducer_offset_x (channel) float64 24B 0.0 0.0 0.0\n", + " transducer_offset_y (channel) float64 24B 0.0 0.0 0.0\n", + " transducer_offset_z (channel) float64 24B 0.0 0.0 0.0\n", + " frequency_nominal (channel) float64 24B 3.8e+04 1.2e+05 2e+05\n", "Attributes:\n", " platform_name: \n", " platform_type: \n", - " platform_code_ICES:
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 96B\n", "Dimensions: (time1: 1)\n", "Coordinates:\n", - " * time1 (time1) datetime64[ns] 2017-08-21T04:57:17.329287168\n", + " * time1 (time1) datetime64[ns] 8B 2017-08-21T04:57:17.329287\n", "Data variables:\n", - " NMEA_datagram (time1) <U22 '$SDVLW,0.000,N,0.000,N'\n", + " NMEA_datagram (time1) <U22 88B '$SDVLW,0.000,N,0.000,N'\n", "Attributes:\n", - " description: All NMEA sensor datagrams
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 484B\n", "Dimensions: (filenames: 1)\n", "Coordinates:\n", - " * filenames (filenames) int64 0\n", + " * filenames (filenames) int64 8B 0\n", "Data variables:\n", - " source_filenames (filenames) <U119 'https://rawdata.oceanobservatories.o...\n", + " source_filenames (filenames) <U119 476B 'https://rawdata.oceanobservator...\n", "Attributes:\n", " conversion_software_name: echopype\n", - " conversion_software_version: 0.8.1\n", - " conversion_time: 2023-09-05T17:49:44Z
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 568B\n", "Dimensions: (beam_group: 1)\n", "Coordinates:\n", - " * beam_group (beam_group) <U11 'Beam_group1'\n", + " * beam_group (beam_group) <U11 44B 'Beam_group1'\n", "Data variables:\n", - " beam_group_descr (beam_group) <U131 'contains backscatter power (uncalib...\n", + " beam_group_descr (beam_group) <U131 524B 'contains backscatter power (un...\n", "Attributes:\n", " sonar_manufacturer: Simrad\n", " sonar_model: EK60\n", " sonar_serial_number: \n", " sonar_software_name: ER60\n", " sonar_software_version: 2.4.3\n", - " sonar_type: echosounder
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 229MB\n", "Dimensions: (channel: 3, ping_time: 5923,\n", " range_sample: 1072)\n", "Coordinates:\n", - " * channel (channel) <U39 'GPT 38 kHz 00907208dd13 5...\n", - " * ping_time (ping_time) datetime64[ns] 2017-08-21T04:5...\n", - " * range_sample (range_sample) int64 0 1 2 ... 1069 1070 1071\n", + " * channel (channel) <U39 468B 'GPT 38 kHz 00907208d...\n", + " * ping_time (ping_time) datetime64[ns] 47kB 2017-08-21...\n", + " * range_sample (range_sample) int64 9kB 0 1 2 ... 1070 1071\n", "Data variables: (12/29)\n", - " frequency_nominal (channel) float64 3.8e+04 1.2e+05 2e+05\n", - " beam_type (channel) int64 0 1 0\n", - " beamwidth_twoway_alongship (channel) float64 7.1 7.0 7.0\n", - " beamwidth_twoway_athwartship (channel) float64 7.1 7.0 7.0\n", - " beam_direction_x (channel) float64 nan nan nan\n", - " beam_direction_y (channel) float64 nan nan nan\n", + " frequency_nominal (channel) float64 24B 3.8e+04 1.2e+05 2e+05\n", + " beam_type (channel) int64 24B 0 1 0\n", + " beamwidth_twoway_alongship (channel) float64 24B 7.1 7.0 7.0\n", + " beamwidth_twoway_athwartship (channel) float64 24B 7.1 7.0 7.0\n", + " beam_direction_x (channel) float64 24B nan nan nan\n", + " beam_direction_y (channel) float64 24B nan nan nan\n", " ... ...\n", - " data_type (channel, ping_time) float32 1.0 1.0 ... 1.0\n", - " sample_time_offset (channel, ping_time) float64 0.0 0.0 ... 0.0\n", - " channel_mode (channel, ping_time) int8 0 0 0 0 ... 0 0 0 0\n", - " backscatter_r (channel, ping_time, range_sample) float32 ...\n", - " angle_athwartship (channel, ping_time, range_sample) float32 ...\n", - " angle_alongship (channel, ping_time, range_sample) float32 ...\n", + " data_type (channel, ping_time) int8 18kB 1 1 1 ... 1 1\n", + " sample_time_offset (channel, ping_time) float64 142kB 0.0 ......\n", + " channel_mode (channel, ping_time) int8 18kB 0 0 0 ... 0 0\n", + " backscatter_r (channel, ping_time, range_sample) float32 76MB ...\n", + " angle_athwartship (channel, ping_time, range_sample) float32 76MB ...\n", + " angle_alongship (channel, ping_time, range_sample) float32 76MB ...\n", "Attributes:\n", " beam_mode: vertical\n", - " conversion_equation_t: type_3
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 892B\n", "Dimensions: (channel: 3, pulse_length_bin: 5)\n", "Coordinates:\n", - " * channel (channel) <U39 'GPT 38 kHz 00907208dd13 5-1 OOI.38|20...\n", - " * pulse_length_bin (pulse_length_bin) int64 0 1 2 3 4\n", + " * channel (channel) <U39 468B 'GPT 38 kHz 00907208dd13 5-1 OOI....\n", + " * pulse_length_bin (pulse_length_bin) int64 40B 0 1 2 3 4\n", "Data variables:\n", - " frequency_nominal (channel) float64 3.8e+04 1.2e+05 2e+05\n", - " sa_correction (channel, pulse_length_bin) float64 0.0 0.0 ... 0.0 0.0\n", - " gain_correction (channel, pulse_length_bin) float64 24.0 26.0 ... 25.0\n", - " pulse_length (channel, pulse_length_bin) float64 0.000256 ... 0.001024
PandasIndex(Index([0, 1, 2, 3, 4], dtype='int64', name='pulse_length_bin'))
<xarray.Dataset>\n", + "<xarray.Dataset> Size: 305MB\n", "Dimensions: (channel: 3, ping_time: 5923,\n", " range_sample: 1072, filenames: 1)\n", "Coordinates:\n", - " * channel (channel) <U39 'GPT 38 kHz 00907208dd13 5...\n", - " * ping_time (ping_time) datetime64[ns] 2017-08-21T04:5...\n", - " * range_sample (range_sample) int64 0 1 2 ... 1069 1070 1071\n", - " * filenames (filenames) int64 0\n", + " * channel (channel) <U39 468B 'GPT 38 kHz 00907208d...\n", + " * ping_time (ping_time) datetime64[ns] 47kB 2017-08-21...\n", + " * range_sample (range_sample) int64 9kB 0 1 2 ... 1070 1071\n", + " * filenames (filenames) int64 8B 0\n", "Data variables: (12/16)\n", - " Sv (channel, ping_time, range_sample) float64 dask.array<chunksize=(3, 5923, 1072), meta=np.ndarray>\n", - " echo_range (channel, ping_time, range_sample) float64 dask.array<chunksize=(3, 5923, 1072), meta=np.ndarray>\n", - " frequency_nominal (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " sound_speed (channel, ping_time) float64 dask.array<chunksize=(3, 5923), meta=np.ndarray>\n", - " sound_absorption (channel, ping_time) float64 dask.array<chunksize=(3, 5923), meta=np.ndarray>\n", - " sa_correction (ping_time, channel) float64 dask.array<chunksize=(5923, 3), meta=np.ndarray>\n", + " Sv (channel, ping_time, range_sample) float64 152MB ...\n", + " echo_range (channel, ping_time, range_sample) float64 152MB ...\n", + " frequency_nominal (channel) float64 24B 3.8e+04 1.2e+05 2e+05\n", + " sound_speed (channel, ping_time) float64 142kB 1.494e+...\n", + " sound_absorption (channel, ping_time) float64 142kB 0.00978...\n", + " sa_correction (channel, ping_time) float64 142kB 0.0 ......\n", " ... ...\n", - " angle_sensitivity_alongship (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " angle_sensitivity_athwartship (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beamwidth_alongship (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " beamwidth_athwartship (channel) float64 dask.array<chunksize=(3,), meta=np.ndarray>\n", - " source_filenames (filenames) <U119 'https://rawdata.oceanob...\n", - " water_level float64 0.0\n", + " angle_sensitivity_alongship (channel) float64 24B 21.9 23.0 23.0\n", + " angle_sensitivity_athwartship (channel) float64 24B 21.9 23.0 23.0\n", + " beamwidth_alongship (channel) float64 24B 7.1 7.0 7.0\n", + " beamwidth_athwartship (channel) float64 24B 7.1 7.0 7.0\n", + " source_filenames (filenames) <U119 476B 'https://rawdata.oc...\n", + " water_level float64 8B 0.0\n", "Attributes:\n", " processing_software_name: echopype\n", - " processing_software_version: 0.8.1\n", - " processing_time: 2023-09-05T17:49:50Z\n", - " processing_function: calibrate.compute_Sv