Skip to content

Commit 668503b

Browse files
committed
proof reading changes
1 parent 0a51136 commit 668503b

2 files changed

Lines changed: 22 additions & 16 deletions

File tree

docs/user-guide/tutorials/ADCP_transects.ipynb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"\n",
1010
"This notebook demonstrates a simple plotting exercise for ADCP data across a transect, using the output of a VirtualShip expedition. There are example plots embedded at the end, but these will ultimately be replaced by your own versions as you work through the notebook.\n",
1111
"\n",
12-
"The plot(s) we will produce are simple plots which follow the trajectory of the expedition as a function of distance from the start, and are intended to be a starting point for your analysis. Because the `ADCP` instrument is an underway/onboard instrument, this means we benefit from continous recordings across the length of the ship's track (unlike overboard instruments such as CTDs which have to deployed at individual sampling sites).\n",
12+
"The plot(s) we will produce are simple plots which follow the trajectory of the expedition as a function of distance from the start, and are intended to be a starting point for your analysis. Because the `ADCP` instrument is an underway/onboard instrument, this means we benefit from continuous recordings across the length of the ship's track (unlike overboard instruments such as CTDs which have to deployed at individual sampling sites).\n",
1313
"\n",
1414
"<div class=\"alert alert-block alert-info\"> \n",
1515
"<b>NOTE:</b> This notebook assumes that each point along the expedition track is further from the start than the previous point. The code will still work if not, but the resultant plots might not be very intuitive.\n",
@@ -23,6 +23,8 @@
2323
"source": [
2424
"## Set up\n",
2525
"\n",
26+
"#### Imports\n",
27+
"\n",
2628
"The first step is to import the Python packages required for post-processing the data and plotting. "
2729
]
2830
},
@@ -46,6 +48,9 @@
4648
"id": "360f84ce",
4749
"metadata": {},
4850
"source": [
51+
"\n",
52+
"#### Data directory\n",
53+
"\n",
4954
"Next, you should set `data_dir` to be the path to your expedition results in the code block below. You should replace `\"/path/to/EXPEDITION/results/\"` with the path for your machine.\n",
5055
"\n",
5156
"<div class=\"alert alert-block alert-success\"> \n",
@@ -55,13 +60,12 @@
5560
},
5661
{
5762
"cell_type": "code",
58-
"execution_count": 2,
63+
"execution_count": 7,
5964
"id": "0cb630f6",
6065
"metadata": {},
6166
"outputs": [],
6267
"source": [
63-
"data_dir = \"/path/to/EXPEDITION/results/\" # set this to be where your expedition output data is located on your (virtual) machine\n",
64-
"data_dir = \"/Users/Atkin004/Documents/test_expeditions/sept_course/NORTH/results/\""
68+
"data_dir = \"/path/to/EXPEDITION/results/\" # set this to be where your expedition output data is located on your (virtual) machine"
6569
]
6670
},
6771
{
@@ -148,6 +152,7 @@
148152
"id": "88062e97",
149153
"metadata": {},
150154
"source": [
155+
"\n",
151156
"Now we will execute the various post-processing calculations, plus define some extra useful arrays to be used for the plotting..."
152157
]
153158
},
@@ -287,7 +292,7 @@
287292
"id": "f2ada2b1",
288293
"metadata": {},
289294
"source": [
290-
"The resultant figure shows three components of velocity recorded by the ADCP instrument.\n",
295+
"The resultant figure shows various components of the velocity field, derived from ADCP data.\n",
291296
"\n",
292297
"1) Absolute velocity\n",
293298
"2) Along-track velocity (where positive values indicate flow in the direction of the ship's track across the the transect)\n",

docs/user-guide/tutorials/CTD_transects.ipynb

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"The plot(s) we will produce are simple plots which follow the trajectory of the expedition as a function of distance from the first waypoint, and are intended to be a starting point for your analysis. \n",
1515
"\n",
1616
"<div class=\"alert alert-block alert-info\"> \n",
17-
"<b>NOTE:</b> This notebook assumes that each waypoint in the expedition is further from the start than the last waypoint. The code will still work if not, but the resultant plots might not be very intuitive.\n",
17+
"<b>Note:</b> This notebook assumes that each waypoint in the expedition is further from the start than the last waypoint. The code will still work if not, but the resultant plots might not be very intuitive.\n",
1818
"</div>"
1919
]
2020
},
@@ -25,6 +25,8 @@
2525
"source": [
2626
"## Set up\n",
2727
"\n",
28+
"#### Imports\n",
29+
"\n",
2830
"The first step is to import the Python packages required for post-processing the data and plotting. "
2931
]
3032
},
@@ -48,6 +50,9 @@
4850
"id": "4f387780",
4951
"metadata": {},
5052
"source": [
53+
"\n",
54+
"#### Data directory\n",
55+
"\n",
5156
"Next, you should set `data_dir` to be the path to your expedition results in the code block below. You should replace `\"/path/to/EXPEDITION/results/\"` with the path for your machine.\n",
5257
"\n",
5358
"<div class=\"alert alert-block alert-success\"> \n",
@@ -70,6 +75,8 @@
7075
"id": "a499ebe2",
7176
"metadata": {},
7277
"source": [
78+
"#### Variable choice\n",
79+
"\n",
7380
"You should now consider which variable from your CTD casts you would like to plot. Which ones are available to you will depend on whether you have used the `CTD` (physical variables) or `CTD_BGC` (biogeochemical) instrument, or both. Below is a list of all valid variable choices for both instruments...\n",
7481
"\n",
7582
"`CTD` (physical):\n",
@@ -104,7 +111,8 @@
104111
"id": "a05fad14",
105112
"metadata": {},
106113
"source": [
107-
"We also define the `VARIABLES` dictionary here, which we use to store some parameters for the plots (e.g. variable labels, what units each is in, and which colour map we should use for the plots).\n",
114+
"\n",
115+
"We also define the `VARIABLES` dictionary here, which we use to store some parameters for the plots related to each variable choice (e.g. labels, what units each is in, and which colour map we should use for the plots).\n",
108116
"\n",
109117
"<div class=\"alert alert-block alert-success\"> \n",
110118
"<b>Tip:</b> You don't need to change anything here, but should you wish to change the colour scheme (`cmap`) for any CTD variable you can do so. At the moment it's set to use relevant cmaps from the cmocean Python package, which has developed specialist colour schemes for oceanographic data applications.\n",
@@ -306,6 +314,7 @@
306314
"id": "2bdf98e6",
307315
"metadata": {},
308316
"source": [
317+
"\n",
309318
"Now we will execute the utility functions, plus define some extra useful arrays to be used for the plotting..."
310319
]
311320
},
@@ -409,7 +418,7 @@
409418
"We can also also plot a 'filled' version without the distance bins, to give an alternative view of the evolution across the transect which is not dominated by gaps and white space. This time we will also add a 'sea bed' to the plot.\n",
410419
"\n",
411420
"<div class=\"alert alert-block alert-info\"> \n",
412-
"<b>NOTE:</b> It is important to always remember that the gaps do actually exist in reality and this is a caveat which must be considered when interpreting the transect derived from CTD casts. Indeed, if you look at the x-axis of the plot below you will see that the deployments are not necessarily regularly spaced and some gaps are larger than others.\n",
421+
"<b>Note:</b> It is important to remember that the gaps do actually exist in reality and this is a caveat which must be considered when interpreting the transect derived from CTD casts. Indeed, if you look at the x-axis of the plot below you will see that the deployments are not necessarily regularly spaced and some gaps are larger than others.\n",
413422
"</div>"
414423
]
415424
},
@@ -460,14 +469,6 @@
460469
"plt.colorbar(mesh, ax=ax, label=VARIABLES[plot_variable][\"label\"])\n",
461470
"plt.tight_layout()"
462471
]
463-
},
464-
{
465-
"cell_type": "code",
466-
"execution_count": null,
467-
"id": "97e62cec",
468-
"metadata": {},
469-
"outputs": [],
470-
"source": []
471472
}
472473
],
473474
"metadata": {

0 commit comments

Comments
 (0)