diff --git a/examples/ADCP_Delft3D_TRTS_example.ipynb b/examples/ADCP_Delft3D_TRTS_example.ipynb index 6347594ff..fcd1ab43a 100644 --- a/examples/ADCP_Delft3D_TRTS_example.ipynb +++ b/examples/ADCP_Delft3D_TRTS_example.ipynb @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "id": "447c788c-a042-4649-81c6-532fcd464c0e", "metadata": {}, "outputs": [], @@ -81,6 +81,88 @@ "Reading file data/river/ADCP_transect/tanana_transects_08_10_10_0_003_10-08-10_143335.PD0 ...\n" ] }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for join will change from join='outer' to join='exact'. This change will result in the following ValueError: cannot be aligned with join='exact' because index/labels/sizes are not equal along these coordinates (dimensions): 'time' ('time',) The recommendation is to set join explicitly for this case.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for join will change from join='outer' to join='exact'. This change will result in the following ValueError: cannot be aligned with join='exact' because index/labels/sizes are not equal along these coordinates (dimensions): 'time_gps' ('time_gps',) The recommendation is to set join explicitly for this case.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n", + "C:\\Users\\ashly\\AppData\\Local\\Temp\\ipykernel_37088\\3829104822.py:9: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.\n", + " transect_1_2 = xr.merge([transect_1_raw, transect_2_raw])\n" + ] + }, { "data": { "text/html": [ @@ -99,9 +181,7 @@ "\n", "\n", "\n", - "
<xarray.Dataset> Size: 83MB\n",
- "Dimensions: (time: 55000, time_b5: 55000, range: 28, range_b5: 28,\n",
- " beam: 4, dir: 4, dirIMU: 3, earth: 3, inst: 3, q: 4,\n",
- " x1: 4, x2: 4)\n",
- "Coordinates:\n",
- " * time (time) datetime64[ns] 440kB 2020-08-15T00:20:00.5009...\n",
- " * time_b5 (time_b5) datetime64[ns] 440kB 2020-08-15T00:20:00.4...\n",
- " * range (range) float64 224B 0.6 1.1 1.6 2.1 ... 13.1 13.6 14.1\n",
- " * range_b5 (range_b5) float64 224B 0.6 1.1 1.6 ... 13.1 13.6 14.1\n",
- " * beam (beam) int32 16B 1 2 3 4\n",
- " * dir (dir) <U2 32B 'E' 'N' 'U1' 'U2'\n",
- " * dirIMU (dirIMU) <U1 12B 'E' 'N' 'U'\n",
- " * earth (earth) <U1 12B 'E' 'N' 'U'\n",
- " * inst (inst) <U1 12B 'X' 'Y' 'Z'\n",
- " * q (q) <U1 16B 'w' 'x' 'y' 'z'\n",
- " * x1 (x1) int32 16B 1 2 3 4\n",
- " * x2 (x2) int32 16B 1 2 3 4\n",
- "Data variables: (12/38)\n",
- " c_sound (time) float32 220kB 1.502e+03 1.502e+03 ... 1.498e+03\n",
- " temp (time) float32 220kB 14.55 14.55 14.55 ... 13.47 13.47\n",
- " pressure (time) float32 220kB 9.713 9.718 9.718 ... 9.594 9.596\n",
- " mag (dirIMU, time) float32 660kB 72.5 72.7 ... -195.7\n",
- " accel (dirIMU, time) float32 660kB -0.00479 ... 9.729\n",
- " batt (time) float32 220kB 16.6 16.6 16.6 ... 16.4 16.4 15.2\n",
- " ... ...\n",
- " telemetry_data (time) uint8 55kB 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0\n",
- " boost_running (time) uint8 55kB 0 0 0 0 0 0 0 0 1 ... 1 0 0 0 0 0 0 1\n",
- " heading (time) float32 220kB -12.52 -12.51 ... -12.52 -12.5\n",
- " pitch (time) float32 220kB -0.065 -0.06 -0.06 ... -0.05 -0.05\n",
- " roll (time) float32 220kB -7.425 -7.42 -7.42 ... -6.45 -6.45\n",
- " beam2inst_orientmat (x1, x2) float32 64B 1.183 0.0 -1.183 ... 0.0 0.5518\n",
- "Attributes: (12/34)\n",
- " filehead_config: {"CLOCKSTR": {"TIME": "\\"2020-08-13 13:56:21\\""}, ...\n",
- " inst_model: Signature1000\n",
- " inst_make: Nortek\n",
- " inst_type: ADCP\n",
- " burst_config: {"press_valid": true, "temp_valid": true, "compass...\n",
- " n_cells: 28\n",
- " ... ...\n",
- " proc_idle_less_12pct: 0\n",
- " rotate_vars: ['vel', 'accel', 'accel_b5', 'angrt', 'angrt_b5', ...\n",
- " coord_sys: earth\n",
- " fs: 1\n",
- " has_imu: 1\n",
- " beam_angle: 25"
- ],
- "text/plain": [
- "<xarray.DataArray 'range' (range: 28)> Size: 224B\n", - "array([ 1.2, 1.7, 2.2, 2.7, 3.2, 3.7, 4.2, 4.7, 5.2, 5.7, 6.2, 6.7,\n", - " 7.2, 7.7, 8.2, 8.7, 9.2, 9.7, 10.2, 10.7, 11.2, 11.7, 12.2, 12.7,\n", - " 13.2, 13.7, 14.2, 14.7])\n", - "Coordinates:\n", - " * range (range) float64 224B 1.2 1.7 2.2 2.7 3.2 ... 13.2 13.7 14.2 14.7\n", - "Attributes:\n", - " coverage_content_type: coordinate\n", - " units: m\n", - " long_name: Profile Range\n", - " description: Distance to the center of each depth bin
<xarray.Dataset> Size: 83MB\n",
+ "Dimensions: (time: 55000, time_b5: 55000, range: 28, range_b5: 28,\n",
+ " beam: 4, dir: 4, dirIMU: 3, earth: 3, inst: 3, q: 4,\n",
+ " x1: 4, x2: 4)\n",
+ "Coordinates:\n",
+ " * time (time) datetime64[ns] 440kB 2020-08-15T00:20:00.5009...\n",
+ " * time_b5 (time_b5) datetime64[ns] 440kB 2020-08-15T00:20:00.4...\n",
+ " * range (range) float64 224B 0.6 1.1 1.6 2.1 ... 13.1 13.6 14.1\n",
+ " * range_b5 (range_b5) float64 224B 0.6 1.1 1.6 ... 13.1 13.6 14.1\n",
+ " * beam (beam) int32 16B 1 2 3 4\n",
+ " * dir (dir) <U2 32B 'E' 'N' 'U1' 'U2'\n",
+ " * dirIMU (dirIMU) <U1 12B 'E' 'N' 'U'\n",
+ " * earth (earth) <U1 12B 'E' 'N' 'U'\n",
+ " * inst (inst) <U1 12B 'X' 'Y' 'Z'\n",
+ " * q (q) <U1 16B 'w' 'x' 'y' 'z'\n",
+ " * x1 (x1) int32 16B 1 2 3 4\n",
+ " * x2 (x2) int32 16B 1 2 3 4\n",
+ "Data variables: (12/38)\n",
+ " c_sound (time) float32 220kB 1.502e+03 1.502e+03 ... 1.498e+03\n",
+ " temp (time) float32 220kB 14.55 14.55 14.55 ... 13.47 13.47\n",
+ " pressure (time) float32 220kB 9.713 9.718 9.718 ... 9.594 9.596\n",
+ " mag (dirIMU, time) float32 660kB 72.5 72.7 ... -195.7\n",
+ " accel (dirIMU, time) float32 660kB -0.00479 ... 9.729\n",
+ " batt (time) float32 220kB 16.6 16.6 16.6 ... 16.4 16.4 15.2\n",
+ " ... ...\n",
+ " telemetry_data (time) uint8 55kB 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0\n",
+ " boost_running (time) uint8 55kB 0 0 0 0 0 0 0 0 1 ... 1 0 0 0 0 0 0 1\n",
+ " heading (time) float32 220kB -12.52 -12.51 ... -12.52 -12.5\n",
+ " pitch (time) float32 220kB -0.065 -0.06 -0.06 ... -0.05 -0.05\n",
+ " roll (time) float32 220kB -7.425 -7.42 -7.42 ... -6.45 -6.45\n",
+ " beam2inst_orientmat (x1, x2) float32 64B 1.183 0.0 -1.183 ... 0.0 0.5518\n",
+ "Attributes: (12/34)\n",
+ " filehead_config: {"CLOCKSTR": {"TIME": "\\"2020-08-13 13:56:21\\""}, ...\n",
+ " inst_model: Signature1000\n",
+ " inst_make: Nortek\n",
+ " inst_type: ADCP\n",
+ " burst_config: {"press_valid": true, "temp_valid": true, "compass...\n",
+ " n_cells: 28\n",
+ " ... ...\n",
+ " proc_idle_less_12pct: 0\n",
+ " rotate_vars: ['vel', 'accel', 'accel_b5', 'angrt', 'angrt_b5', ...\n",
+ " coord_sys: earth\n",
+ " fs: 1\n",
+ " has_imu: 1\n",
+ " beam_angle: 25<xarray.Dataset> Size: 379kB\n",
- "Dimensions: (time: 183, dirIMU: 3, dir: 4, range: 28, beam: 4,\n",
- " earth: 3, inst: 3, q: 4, time_b5: 183, range_b5: 28)\n",
- "Coordinates:\n",
- " * time (time) datetime64[ns] 1kB 2020-08-15T00:22:30.001030683 ....\n",
- " * dirIMU (dirIMU) <U10 120B 'streamwise' 'x-stream' 'vert'\n",
- " * dir (dir) <U10 160B 'streamwise' 'x-stream' 'vert1' 'vert2'\n",
- " * range (range) float64 224B 1.2 1.7 2.2 2.7 ... 13.2 13.7 14.2 14.7\n",
- " * beam (beam) int32 16B 1 2 3 4\n",
- " * earth (earth) <U1 12B 'E' 'N' 'U'\n",
- " * inst (inst) <U1 12B 'X' 'Y' 'Z'\n",
- " * q (q) <U1 16B 'w' 'x' 'y' 'z'\n",
- " * time_b5 (time_b5) datetime64[ns] 1kB 2020-08-15T00:22:29.93849515...\n",
- " * range_b5 (range_b5) float64 224B 1.2 1.7 2.2 2.7 ... 13.7 14.2 14.7\n",
- "Data variables: (12/38)\n",
- " c_sound (time) float32 732B 1.502e+03 1.502e+03 ... 1.498e+03\n",
- " temp (time) float32 732B 14.49 14.59 14.54 ... 13.62 13.56 13.5\n",
- " pressure (time) float32 732B 9.712 9.699 9.685 ... 9.58 9.584 9.591\n",
- " mag (dirIMU, time) float32 2kB 3.534 3.565 ... -197.1 -197.1\n",
- " accel (dirIMU, time) float32 2kB -1.261 -1.263 ... 9.714 9.712\n",
- " batt (time) float32 732B 16.48 16.48 16.48 ... 16.25 16.26 16.26\n",
- " ... ...\n",
- " heading (time) float32 732B 3.287 3.261 3.337 ... 3.331 3.352 3.352\n",
- " pitch (time) float32 732B -0.05523 -0.07217 ... -0.04288 -0.0429\n",
- " roll (time) float32 732B -7.414 -7.424 -7.404 ... -6.433 -6.436\n",
- " water_density (time) float32 732B 1.023e+03 1.023e+03 ... 1.023e+03\n",
- " depth (time) float32 732B 10.28 10.26 10.25 ... 10.14 10.15 10.15\n",
- " U_std (range, time) float32 20kB 0.04232 0.04293 ... nan nan\n",
- "Attributes: (12/41)\n",
- " fs: 1\n",
- " n_bin: 300\n",
- " n_fft: 300\n",
- " description: Binned averages calculated from ensembles of s...\n",
- " filehead_config: {"CLOCKSTR": {"TIME": "\\"2020-08-13 13:56:21\\"...\n",
- " inst_model: Signature1000\n",
- " ... ...\n",
- " has_imu: 1\n",
- " beam_angle: 25\n",
- " range_offset: 0.6\n",
- " declination: 15.8\n",
- " declination_in_orientmat: 1\n",
- " principal_heading: 11.1898<xarray.DataArray 'range' (range: 28)> Size: 224B\n", + "array([ 1.2, 1.7, 2.2, 2.7, 3.2, 3.7, 4.2, 4.7, 5.2, 5.7, 6.2, 6.7,\n", + " 7.2, 7.7, 8.2, 8.7, 9.2, 9.7, 10.2, 10.7, 11.2, 11.7, 12.2, 12.7,\n", + " 13.2, 13.7, 14.2, 14.7])\n", + "Coordinates:\n", + " * range (range) float64 224B 1.2 1.7 2.2 2.7 3.2 ... 13.2 13.7 14.2 14.7\n", + "Attributes:\n", + " coverage_content_type: coordinate\n", + " units: m\n", + " long_name: Profile Range\n", + " description: Distance to the center of each depth bin" ], - "source": [ - "ds_avg" + "text/plain": [ + "
<xarray.Dataset> Size: 84MB\n",
+ "Dimensions: (time: 55000, time_b5: 55000, range: 28, range_b5: 28,\n",
+ " beam: 4, dir: 4, dirIMU: 3, earth: 3, inst: 3, q: 4,\n",
+ " x1: 4, x2: 4)\n",
+ "Coordinates:\n",
+ " * time (time) datetime64[ns] 440kB 2020-08-15T00:20:00.5009...\n",
+ " * time_b5 (time_b5) datetime64[ns] 440kB 2020-08-15T00:20:00.4...\n",
+ " * range (range) float64 224B 1.2 1.7 2.2 2.7 ... 13.7 14.2 14.7\n",
+ " * range_b5 (range_b5) float64 224B 1.2 1.7 2.2 ... 13.7 14.2 14.7\n",
+ " * beam (beam) int32 16B 1 2 3 4\n",
+ " * dir (dir) <U2 32B 'E' 'N' 'U1' 'U2'\n",
+ " * dirIMU (dirIMU) <U1 12B 'E' 'N' 'U'\n",
+ " * earth (earth) <U1 12B 'E' 'N' 'U'\n",
+ " * inst (inst) <U1 12B 'X' 'Y' 'Z'\n",
+ " * q (q) <U1 16B 'w' 'x' 'y' 'z'\n",
+ " * x1 (x1) int32 16B 1 2 3 4\n",
+ " * x2 (x2) int32 16B 1 2 3 4\n",
+ "Data variables: (12/40)\n",
+ " c_sound (time) float32 220kB 1.502e+03 1.502e+03 ... 1.498e+03\n",
+ " temp (time) float32 220kB 14.55 14.55 14.55 ... 13.47 13.47\n",
+ " pressure (time) float32 220kB 9.713 9.718 9.718 ... 9.594 9.596\n",
+ " mag (dirIMU, time) float32 660kB 72.5 72.7 ... -195.7\n",
+ " accel (dirIMU, time) float32 660kB -0.00479 ... 9.729\n",
+ " batt (time) float32 220kB 16.6 16.6 16.6 ... 16.4 16.4 15.2\n",
+ " ... ...\n",
+ " heading (time) float32 220kB -12.52 -12.51 ... -12.52 -12.5\n",
+ " pitch (time) float32 220kB -0.065 -0.06 -0.06 ... -0.05 -0.05\n",
+ " roll (time) float32 220kB -7.425 -7.42 -7.42 ... -6.45 -6.45\n",
+ " beam2inst_orientmat (x1, x2) float32 64B 1.183 0.0 -1.183 ... 0.0 0.5518\n",
+ " water_density (time) float32 220kB 1.023e+03 1.023e+03 ... 1.023e+03\n",
+ " depth (time) float32 220kB 10.28 10.28 10.28 ... 10.16 10.16\n",
+ "Attributes: (12/35)\n",
+ " filehead_config: {"CLOCKSTR": {"TIME": "\\"2020-08-13 13:56:21\\""}, ...\n",
+ " inst_model: Signature1000\n",
+ " inst_make: Nortek\n",
+ " inst_type: ADCP\n",
+ " burst_config: {"press_valid": true, "temp_valid": true, "compass...\n",
+ " n_cells: 28\n",
+ " ... ...\n",
+ " rotate_vars: ['vel', 'accel', 'accel_b5', 'angrt', 'angrt_b5', ...\n",
+ " coord_sys: earth\n",
+ " fs: 1\n",
+ " has_imu: 1\n",
+ " beam_angle: 25\n",
+ " range_offset: 0.6<xarray.Dataset> Size: 379kB\n",
+ "Dimensions: (time: 183, dirIMU: 3, dir: 4, range: 28, beam: 4,\n",
+ " earth: 3, inst: 3, q: 4, time_b5: 183, range_b5: 28)\n",
+ "Coordinates:\n",
+ " * time (time) datetime64[ns] 1kB 2020-08-15T00:22:30.001030683 ....\n",
+ " * dirIMU (dirIMU) <U10 120B 'streamwise' 'x-stream' 'vert'\n",
+ " * dir (dir) <U10 160B 'streamwise' 'x-stream' 'vert1' 'vert2'\n",
+ " * range (range) float64 224B 1.2 1.7 2.2 2.7 ... 13.2 13.7 14.2 14.7\n",
+ " * beam (beam) int32 16B 1 2 3 4\n",
+ " * earth (earth) <U1 12B 'E' 'N' 'U'\n",
+ " * inst (inst) <U1 12B 'X' 'Y' 'Z'\n",
+ " * q (q) <U1 16B 'w' 'x' 'y' 'z'\n",
+ " * time_b5 (time_b5) datetime64[ns] 1kB 2020-08-15T00:22:29.93849515...\n",
+ " * range_b5 (range_b5) float64 224B 1.2 1.7 2.2 2.7 ... 13.7 14.2 14.7\n",
+ "Data variables: (12/38)\n",
+ " c_sound (time) float32 732B 1.502e+03 1.502e+03 ... 1.498e+03\n",
+ " temp (time) float32 732B 14.49 14.59 14.54 ... 13.62 13.56 13.5\n",
+ " pressure (time) float32 732B 9.712 9.699 9.685 ... 9.58 9.584 9.591\n",
+ " mag (dirIMU, time) float32 2kB 3.534 3.565 ... -197.1 -197.1\n",
+ " accel (dirIMU, time) float32 2kB -1.261 -1.263 ... 9.714 9.712\n",
+ " batt (time) float32 732B 16.48 16.48 16.48 ... 16.25 16.26 16.26\n",
+ " ... ...\n",
+ " heading (time) float32 732B 3.287 3.261 3.337 ... 3.331 3.352 3.352\n",
+ " pitch (time) float32 732B -0.05523 -0.07217 ... -0.04288 -0.0429\n",
+ " roll (time) float32 732B -7.414 -7.424 -7.404 ... -6.433 -6.436\n",
+ " water_density (time) float32 732B 1.023e+03 1.023e+03 ... 1.023e+03\n",
+ " depth (time) float32 732B 10.28 10.26 10.25 ... 10.14 10.15 10.15\n",
+ " U_std (range, time) float32 20kB 0.04232 0.04293 ... nan nan\n",
+ "Attributes: (12/41)\n",
+ " fs: 1\n",
+ " n_bin: 300\n",
+ " n_fft: 300\n",
+ " description: Binned averages calculated from ensembles of s...\n",
+ " filehead_config: {"CLOCKSTR": {"TIME": "\\"2020-08-13 13:56:21\\"...\n",
+ " inst_model: Signature1000\n",
+ " ... ...\n",
+ " has_imu: 1\n",
+ " beam_angle: 25\n",
+ " range_offset: 0.6\n",
+ " declination: 15.8\n",
+ " declination_in_orientmat: 1\n",
+ " principal_heading: 11.1898| \n", + " | Statistic | \n", + "Value | \n", + "
|---|---|---|
| 0 | \n", + "mean | \n", + "0.024059 | \n", + "
| 1 | \n", + "std | \n", + "0.007032 | \n", + "
| 2 | \n", + "min | \n", + "0.013010 | \n", + "
| 3 | \n", + "max | \n", + "0.046780 | \n", + "