Skip to content

Commit 45e9b01

Browse files
committed
more proof reading
1 parent d14f26e commit 45e9b01

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/user-guide/tutorials/ADCP_transects.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@
142142
" dlat = np.deg2rad(ds_surface[\"lat\"].differentiate(\"obs\"))\n",
143143
" lat = np.deg2rad(ds_surface[\"lat\"])\n",
144144
" alpha = np.arctan(dlat / (dlon * np.cos(lat))).mean(\"obs\") # cruise direction angle\n",
145-
" Uparallel = np.cos(alpha) * ds[\"U\"] + np.sin(alpha) * ds[\"V\"] # cross-shore vel\n",
146-
" Uperp = -np.sin(alpha) * ds[\"U\"] + np.cos(alpha) * ds[\"V\"] # long-shore vel\n",
145+
" Uparallel = np.cos(alpha) * ds[\"U\"] + np.sin(alpha) * ds[\"V\"]\n",
146+
" Uperp = -np.sin(alpha) * ds[\"U\"] + np.cos(alpha) * ds[\"V\"]\n",
147147
" direction_rad = np.arctan2(\n",
148148
" ds[\"U\"], ds[\"V\"]\n",
149149
" ) # direction of flow [degrees from north]\n",
@@ -194,7 +194,7 @@
194194
},
195195
{
196196
"cell_type": "code",
197-
"execution_count": 8,
197+
"execution_count": 10,
198198
"id": "93693258",
199199
"metadata": {},
200200
"outputs": [
@@ -299,7 +299,7 @@
299299
"The resultant figure shows various components of the velocity field, derived from ADCP data.\n",
300300
"\n",
301301
"1) Absolute velocity\n",
302-
"2) Along-track velocity (where positive values indicate flow in the direction of the ship's track across the the transect)\n",
302+
"2) Along-track velocity (where positive values indicate flow in the overall direction of the ship's track across the the transect)\n",
303303
"3) Cross-track velocity (where postive values indicate flow to the left of the ship's direction).\n",
304304
"4) The direction of the flow, expressed as degrees from North.\n",
305305
"\n",

0 commit comments

Comments
 (0)