From d00cc743954ed462469c1cdda3e4844949131bbc Mon Sep 17 00:00:00 2001 From: glibesyck Date: Sun, 27 Oct 2024 21:45:31 +0200 Subject: [PATCH 1/2] updated activities --- .../W1D2_Tutorial1.ipynb | 22 +++++++++++++++---- tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb | 4 +++- tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb | 10 +++------ 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb b/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb index 063dfa99..6b7a46c9 100644 --- a/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb +++ b/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb @@ -1163,17 +1163,31 @@ " \"Expected\n", "\n", "4. You can take a little time to breeze through the text and code in the Notebook, but keep in mind that this lesson assumes a lot of prior knowledge, so it’s ok if you don’t understand everything. You can still appreciate the nice plots you’re about to make!\n", - "5. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n", + "5. This notebook lacks one important line of code, so we would like to ask you to add one in the very first cell on top of all of the statements!\n", + "\n", + "`!pip install backports.tarfile`\n", + "\n", + "Thus, the first cell should look like this:\n", + "\n", + "```\n", + "!pip install backports.tarfile\n", + "import cartopy.crs as ccrs\n", + "import matplotlib.pyplot as plt\n", + "import xarray as xr\n", + "from pythia_datasets import DATASETS\n", + "```\n", + "\n", + "6. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n", "\n", " \"Run\n", "\n", - "6. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:
*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n", + "7. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:
*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n", "\n", " \"Expected\n", "\n", " \"Expected\n", "\n", - "7. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n", + "8. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n", "\n", "You can peruse more of the Project Pythia Python learning resources via their [Foundations Book](https://foundations.projectpythia.org/landing-page.html), and you can view more advanced example research workflows in the geosciences that use computational notebooks (which they call \"[Cookbooks](https://cookbooks.projectpythia.org/)\") to see more examples of how notebooks are used in science. If you are interested in the geosciences, you can even contribute your own notebook if you have a notebook you'd like to share!\n", "\n", @@ -1504,7 +1518,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.20" + "version": "3.11.5" } }, "nbformat": 4, diff --git a/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb b/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb index 26f13446..e37368e7 100644 --- a/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb +++ b/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb @@ -1130,6 +1130,8 @@ "\n", "Take a look at the examples of a public data management plan from [New Jersey Institute of Technology](https://dmptool.org/plans/102783/export.pdf?export%5Bpub%5D=true&export%5Bquestion_headings%5D=true) and from [University of California San Diego](https://library.ucsd.edu/research-and-collections/research-data/_files/dmpsample/DMP-Example-Psych.doc).\n", "\n", + "If direct link for the University of California San Diego doesn't work for you, please visit the [following link](https://library.ucsd.edu/research-and-collections/research-data/plan-and-manage/sample-nsf-data-management-plans.html), scroll to the end of the page and open `DMP Example Psych.doc` document.\n", + "\n", "Answer the following questions regarding these DMPs in a group:\n", "\n", "1. What: Data formats and (where relevant) standards.\n", @@ -1294,7 +1296,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.20" + "version": "3.11.5" } }, "nbformat": 4, diff --git a/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb b/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb index 7e869db9..b12020a0 100644 --- a/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb +++ b/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb @@ -484,9 +484,7 @@ "\n", "*Estimated time for activity: 7 minutes*\n", "\n", - "In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! \n", - "\n", - "Share your search story in the group by proposing the queries you entered to find this precious software. " + "In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! " ] }, { @@ -1533,9 +1531,7 @@ "\n", "- Find and browse through the websites associated with two communities of practice listed in the previous section, \"Connect with Communities,\" or explore more of the options if the proposed ones are not of particular interest to you.\n", " \n", - "- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc.\n", - "\n", - "Discuss your findings in a group." + "- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc." ] }, { @@ -1661,7 +1657,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.20" + "version": "3.11.5" } }, "nbformat": 4, From 29100a6c067bb15c54546ad536bb6a4cbde81615 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 27 Oct 2024 19:49:02 +0000 Subject: [PATCH 2/2] Process tutorial notebooks --- .../W1D2_Tutorial1.ipynb | 2 +- .../instructor/W1D2_Tutorial1.ipynb | 20 ++++++++++++++++--- .../student/W1D2_Tutorial1.ipynb | 20 ++++++++++++++++--- tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb | 2 +- .../instructor/W1D3_Tutorial1.ipynb | 2 ++ .../student/W1D3_Tutorial1.ipynb | 2 ++ tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb | 2 +- .../instructor/W1D4_Tutorial1.ipynb | 8 ++------ .../student/W1D4_Tutorial1.ipynb | 8 ++------ 9 files changed, 45 insertions(+), 21 deletions(-) diff --git a/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb b/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb index 6b7a46c9..308026d4 100644 --- a/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb +++ b/tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb @@ -1518,7 +1518,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.9.20" } }, "nbformat": 4, diff --git a/tutorials/W1D2_OpenToolsAndResources/instructor/W1D2_Tutorial1.ipynb b/tutorials/W1D2_OpenToolsAndResources/instructor/W1D2_Tutorial1.ipynb index 063dfa99..308026d4 100644 --- a/tutorials/W1D2_OpenToolsAndResources/instructor/W1D2_Tutorial1.ipynb +++ b/tutorials/W1D2_OpenToolsAndResources/instructor/W1D2_Tutorial1.ipynb @@ -1163,17 +1163,31 @@ " \"Expected\n", "\n", "4. You can take a little time to breeze through the text and code in the Notebook, but keep in mind that this lesson assumes a lot of prior knowledge, so it’s ok if you don’t understand everything. You can still appreciate the nice plots you’re about to make!\n", - "5. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n", + "5. This notebook lacks one important line of code, so we would like to ask you to add one in the very first cell on top of all of the statements!\n", + "\n", + "`!pip install backports.tarfile`\n", + "\n", + "Thus, the first cell should look like this:\n", + "\n", + "```\n", + "!pip install backports.tarfile\n", + "import cartopy.crs as ccrs\n", + "import matplotlib.pyplot as plt\n", + "import xarray as xr\n", + "from pythia_datasets import DATASETS\n", + "```\n", + "\n", + "6. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n", "\n", " \"Run\n", "\n", - "6. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:
*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n", + "7. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:
*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n", "\n", " \"Expected\n", "\n", " \"Expected\n", "\n", - "7. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n", + "8. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n", "\n", "You can peruse more of the Project Pythia Python learning resources via their [Foundations Book](https://foundations.projectpythia.org/landing-page.html), and you can view more advanced example research workflows in the geosciences that use computational notebooks (which they call \"[Cookbooks](https://cookbooks.projectpythia.org/)\") to see more examples of how notebooks are used in science. If you are interested in the geosciences, you can even contribute your own notebook if you have a notebook you'd like to share!\n", "\n", diff --git a/tutorials/W1D2_OpenToolsAndResources/student/W1D2_Tutorial1.ipynb b/tutorials/W1D2_OpenToolsAndResources/student/W1D2_Tutorial1.ipynb index 063dfa99..308026d4 100644 --- a/tutorials/W1D2_OpenToolsAndResources/student/W1D2_Tutorial1.ipynb +++ b/tutorials/W1D2_OpenToolsAndResources/student/W1D2_Tutorial1.ipynb @@ -1163,17 +1163,31 @@ " \"Expected\n", "\n", "4. You can take a little time to breeze through the text and code in the Notebook, but keep in mind that this lesson assumes a lot of prior knowledge, so it’s ok if you don’t understand everything. You can still appreciate the nice plots you’re about to make!\n", - "5. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n", + "5. This notebook lacks one important line of code, so we would like to ask you to add one in the very first cell on top of all of the statements!\n", + "\n", + "`!pip install backports.tarfile`\n", + "\n", + "Thus, the first cell should look like this:\n", + "\n", + "```\n", + "!pip install backports.tarfile\n", + "import cartopy.crs as ccrs\n", + "import matplotlib.pyplot as plt\n", + "import xarray as xr\n", + "from pythia_datasets import DATASETS\n", + "```\n", + "\n", + "6. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n", "\n", " \"Run\n", "\n", - "6. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:
*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n", + "7. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:
*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n", "\n", " \"Expected\n", "\n", " \"Expected\n", "\n", - "7. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n", + "8. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n", "\n", "You can peruse more of the Project Pythia Python learning resources via their [Foundations Book](https://foundations.projectpythia.org/landing-page.html), and you can view more advanced example research workflows in the geosciences that use computational notebooks (which they call \"[Cookbooks](https://cookbooks.projectpythia.org/)\") to see more examples of how notebooks are used in science. If you are interested in the geosciences, you can even contribute your own notebook if you have a notebook you'd like to share!\n", "\n", diff --git a/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb b/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb index e37368e7..39a9cd1f 100644 --- a/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb +++ b/tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb @@ -1296,7 +1296,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.9.20" } }, "nbformat": 4, diff --git a/tutorials/W1D3_OpenData/instructor/W1D3_Tutorial1.ipynb b/tutorials/W1D3_OpenData/instructor/W1D3_Tutorial1.ipynb index 26f13446..39a9cd1f 100644 --- a/tutorials/W1D3_OpenData/instructor/W1D3_Tutorial1.ipynb +++ b/tutorials/W1D3_OpenData/instructor/W1D3_Tutorial1.ipynb @@ -1130,6 +1130,8 @@ "\n", "Take a look at the examples of a public data management plan from [New Jersey Institute of Technology](https://dmptool.org/plans/102783/export.pdf?export%5Bpub%5D=true&export%5Bquestion_headings%5D=true) and from [University of California San Diego](https://library.ucsd.edu/research-and-collections/research-data/_files/dmpsample/DMP-Example-Psych.doc).\n", "\n", + "If direct link for the University of California San Diego doesn't work for you, please visit the [following link](https://library.ucsd.edu/research-and-collections/research-data/plan-and-manage/sample-nsf-data-management-plans.html), scroll to the end of the page and open `DMP Example Psych.doc` document.\n", + "\n", "Answer the following questions regarding these DMPs in a group:\n", "\n", "1. What: Data formats and (where relevant) standards.\n", diff --git a/tutorials/W1D3_OpenData/student/W1D3_Tutorial1.ipynb b/tutorials/W1D3_OpenData/student/W1D3_Tutorial1.ipynb index 26f13446..39a9cd1f 100644 --- a/tutorials/W1D3_OpenData/student/W1D3_Tutorial1.ipynb +++ b/tutorials/W1D3_OpenData/student/W1D3_Tutorial1.ipynb @@ -1130,6 +1130,8 @@ "\n", "Take a look at the examples of a public data management plan from [New Jersey Institute of Technology](https://dmptool.org/plans/102783/export.pdf?export%5Bpub%5D=true&export%5Bquestion_headings%5D=true) and from [University of California San Diego](https://library.ucsd.edu/research-and-collections/research-data/_files/dmpsample/DMP-Example-Psych.doc).\n", "\n", + "If direct link for the University of California San Diego doesn't work for you, please visit the [following link](https://library.ucsd.edu/research-and-collections/research-data/plan-and-manage/sample-nsf-data-management-plans.html), scroll to the end of the page and open `DMP Example Psych.doc` document.\n", + "\n", "Answer the following questions regarding these DMPs in a group:\n", "\n", "1. What: Data formats and (where relevant) standards.\n", diff --git a/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb b/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb index b12020a0..2cd15ad6 100644 --- a/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb +++ b/tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb @@ -1657,7 +1657,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.9.20" } }, "nbformat": 4, diff --git a/tutorials/W1D4_OpenCode/instructor/W1D4_Tutorial1.ipynb b/tutorials/W1D4_OpenCode/instructor/W1D4_Tutorial1.ipynb index 7e869db9..2cd15ad6 100644 --- a/tutorials/W1D4_OpenCode/instructor/W1D4_Tutorial1.ipynb +++ b/tutorials/W1D4_OpenCode/instructor/W1D4_Tutorial1.ipynb @@ -484,9 +484,7 @@ "\n", "*Estimated time for activity: 7 minutes*\n", "\n", - "In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! \n", - "\n", - "Share your search story in the group by proposing the queries you entered to find this precious software. " + "In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! " ] }, { @@ -1533,9 +1531,7 @@ "\n", "- Find and browse through the websites associated with two communities of practice listed in the previous section, \"Connect with Communities,\" or explore more of the options if the proposed ones are not of particular interest to you.\n", " \n", - "- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc.\n", - "\n", - "Discuss your findings in a group." + "- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc." ] }, { diff --git a/tutorials/W1D4_OpenCode/student/W1D4_Tutorial1.ipynb b/tutorials/W1D4_OpenCode/student/W1D4_Tutorial1.ipynb index 7e869db9..2cd15ad6 100644 --- a/tutorials/W1D4_OpenCode/student/W1D4_Tutorial1.ipynb +++ b/tutorials/W1D4_OpenCode/student/W1D4_Tutorial1.ipynb @@ -484,9 +484,7 @@ "\n", "*Estimated time for activity: 7 minutes*\n", "\n", - "In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! \n", - "\n", - "Share your search story in the group by proposing the queries you entered to find this precious software. " + "In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! " ] }, { @@ -1533,9 +1531,7 @@ "\n", "- Find and browse through the websites associated with two communities of practice listed in the previous section, \"Connect with Communities,\" or explore more of the options if the proposed ones are not of particular interest to you.\n", " \n", - "- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc.\n", - "\n", - "Discuss your findings in a group." + "- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc." ] }, {