From 0d3f3986b42c0c7ffafea69d8fb189a221da09d7 Mon Sep 17 00:00:00 2001 From: giumas Date: Sat, 25 May 2019 12:19:37 -0400 Subject: [PATCH 1/5] updated index --- index.ipynb | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/index.ipynb b/index.ipynb index f1e7b4f..67da2a0 100644 --- a/index.ipynb +++ b/index.ipynb @@ -74,14 +74,9 @@ "\n", "* [Semme Dijkstra](mailto:semmed@ccom.unh.edu>)\n", "\n", - "* [Jordan Chadwick](mailto:jordan.chadwick@gmail.com>)" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Code and Text License" + "* [Jordan Chadwick](mailto:jordan.chadwick@gmail.com>)\n", + "\n", + "* [Tyanne Faulkes](mailto:tyanne.faulkes@noaa.gov>)" ] }, { @@ -96,28 +91,21 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Code Repository" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "GitHub url: [https://github.com/hydroffice/python_basics](https://github.com/hydroffice/python_basics)" + "Version: 1.1.2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "## Version" + "GitHub repository: [https://github.com/hydroffice/python_basics](https://github.com/hydroffice/python_basics)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "1.1.1" + "Documentation: [https://www.hydroffice.org/manuals/epom/index.html](https://www.hydroffice.org/manuals/epom/index.html)" ] }, { From 120df112babc3df659609511831364d35307a436 Mon Sep 17 00:00:00 2001 From: giumas Date: Mon, 5 Aug 2019 14:38:24 -0400 Subject: [PATCH 2/5] minor fix --- 002_Lists_of_Variables.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/002_Lists_of_Variables.ipynb b/002_Lists_of_Variables.ipynb index c8044ff..30627ed 100644 --- a/002_Lists_of_Variables.ipynb +++ b/002_Lists_of_Variables.ipynb @@ -737,7 +737,7 @@ "outputs": [], "source": [ "cetaceans_list = [\"Bowhead whale\", \"North Atlantic right whale\", \"North Pacific right whale\", \"Southern right whale\"]\n", - "cetaceans_list.remove(\"North Atlantic right whale\")\n", + "cetaceans_list.remove(\"North Pacific right whale\")\n", "nr_or_cetaceans = len(cetaceans_list)\n", "print(nr_or_cetaceans)" ] From 3e2756c84b11e2b2f9312bf8926f16f5d853ae3a Mon Sep 17 00:00:00 2001 From: giumas Date: Mon, 5 Aug 2019 14:40:49 -0400 Subject: [PATCH 3/5] bug fix --- 003_Conditional_Execution.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/003_Conditional_Execution.ipynb b/003_Conditional_Execution.ipynb index 9a28bdf..504deb9 100644 --- a/003_Conditional_Execution.ipynb +++ b/003_Conditional_Execution.ipynb @@ -689,14 +689,14 @@ "outputs": [], "source": [ "cur_strength = 5.5 # m/s\n", - "cur_type = \"unknown\"\n", + "cur_type = \"Unknown\"\n", "\n", "if cur_strength < 1.0:\n", - " cur_type = \"weak\"\n", + " cur_type = \"Weak\"\n", "elif cur_strength < 5.0:\n", - " cur_type = \"moderate\"\n", + " cur_type = \"Moderate\"\n", "else: # any current >= 5.0\n", - " cur_type = \"strong\"\n", + " cur_type = \"Strong\"\n", " \n", "print(cur_type)" ] @@ -708,7 +708,7 @@ "outputs": [], "source": [ "cur_strength = 5.5 # m/s\n", - "cur_type = \"unknown\"" + "cur_type = \"Unknown\"" ] }, { From 63e092755c4c001d493d74be4ed06ec73e61b625 Mon Sep 17 00:00:00 2001 From: giumas Date: Fri, 9 Aug 2019 12:28:57 -0400 Subject: [PATCH 4/5] minor fix --- 004_Loops.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/004_Loops.ipynb b/004_Loops.ipynb index bde728a..2785e43 100644 --- a/004_Loops.ipynb +++ b/004_Loops.ipynb @@ -303,7 +303,7 @@ " if (ss_value < 1400.0) or (ss_value > 1600.0):\n", " continue\n", " \n", - " print(\"Sound speed: \" + str(ss_value) + \" m/sec.\")" + " print(\"Sound speed: \" + str(ss_value) + \" m/s.\")" ] }, { From 69be12d16bbaf567b67b7dc805b27a6e56b4dc10 Mon Sep 17 00:00:00 2001 From: giumas Date: Sat, 17 Aug 2019 15:21:54 -0400 Subject: [PATCH 5/5] fixed broken link to Ocean Data Science notebooks --- 008_A_Class_as_a_Data_Container.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/008_A_Class_as_a_Data_Container.ipynb b/008_A_Class_as_a_Data_Container.ipynb index b32e0d0..24eb6b1 100644 --- a/008_A_Class_as_a_Data_Container.ipynb +++ b/008_A_Class_as_a_Data_Container.ipynb @@ -349,7 +349,7 @@ "source": [ "\n", "\n", - "If you are interested in learning more about classes, you may want to explore the [Foundations of Ocean Data Science](https://www.hydroffice.org/manuals/epom/foundations_of_ocean_data_science.html) notebooks." + "If you are interested in learning more about classes, you may want to explore the [Introduction to Ocean Data Science](https://www.hydroffice.org/manuals/epom/ocean_data_science_quickstart.html) notebooks." ] }, {