From c81884ae76867fd64f3abb609d89508dbe66aa9e Mon Sep 17 00:00:00 2001 From: Laura Brenskelle <160157051+laurabrenskelle@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:09:31 -0400 Subject: [PATCH] Adding more markdown content --- .../2024-09-13-OBIS_EOVs.ipynb | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/jupyterbook/content/code_gallery/data_analysis_and_visualization_notebooks/2024-09-13-OBIS_EOVs.ipynb b/jupyterbook/content/code_gallery/data_analysis_and_visualization_notebooks/2024-09-13-OBIS_EOVs.ipynb index 9d66c95d..6a9c42bd 100644 --- a/jupyterbook/content/code_gallery/data_analysis_and_visualization_notebooks/2024-09-13-OBIS_EOVs.ipynb +++ b/jupyterbook/content/code_gallery/data_analysis_and_visualization_notebooks/2024-09-13-OBIS_EOVs.ipynb @@ -5,11 +5,17 @@ "id": "ad98f7a1-d7a1-4a51-a9a2-0da9da7fe042", "metadata": {}, "source": [ - "# Using aphiaIDs to download OBIS occurrences for Bio/Eco EOVs\n", + "# Using AphiaIDs to download OBIS occurrences for Bio/Eco EOVs\n", "\n", "Created: 2024-09-13\n", "\n", - "The [IOOS Marine Life Data Network](https://ioos.github.io/marine_life_data_network/) has developed a list of aphiaIDs for taxa mentioned in the [GOOS Biology and Ecosystems Variables](https://goosocean.org/what-we-do/framework/essential-ocean-variables/). These lists are meant to assist in querying OBIS to evaluate the abundance and distribution of these taxa. Here is an R notebook of how this might work using mangroves as an example." + "The Global Ocean Observing System (GOOS) is a global network of ocean observing systems led by the Intergovernmental Oceanographic Commission of UNESCO. NOAA's U.S. Integrated Ocean Observing System (IOOS) is a part of this global network. GOOS has developed Essential Ocean Variables (EOVs) to help harmonize data that is collected across various ocean observing systems around the globe. The [GOOS Biology and Ecosystems Variables](https://goosocean.org/what-we-do/framework/essential-ocean-variables/) are focused on the abundance and distribution of specific groups of aquatic organisms that are important for ecosystems. \n", + "\n", + "The [IOOS Marine Life Data Network](https://ioos.github.io/marine_life_data_network/) has developed [lists of biological taxa](https://https://github.com/ioos/marine_life_data_network/tree/main/eov_taxonomy) and their identifiers (in this case, aphiaIDs) that can be used to query published biological occurrence data in the [Ocean Biodiversity Information System](https://www.obis.org/) (OBIS).\n", + "\n", + "OBIS uses the [World Register of Marine Species](https://marinespecies.org) (WoRMS) to provide a taxonomic backbone for all of the records in the database, and WoRMS only contains marine species. Therefore, the lists developed by the IOOS Marine Life Data Network leverage the taxonomic scope of WoRMS to perform high-level queries without requiring a detailed list of every species of seabird, for example. Once a query is complete, users can begin analyzing OBIS occurrence data to assess the abundance, distribution, and other characteristics of the taxa in these BioEco Variables.\n", + "\n", + "This notebook provides an example in R for how to use the Marine Life Data Network's list of AphiaIDs for the GOOS BioEco Variables to perform an OBIS query. This particular notebook uses mangroves as an example, but the query could be edited for any of the BioEco EOVs." ] }, { @@ -35,7 +41,9 @@ "id": "3089302a", "metadata": {}, "source": [ - "First, we will pull the file with the mangrove aphiaIDs from the Marine Life Data Network GitHub repo. **Note**: the acceptedTaxonIds in these files are based on what was up-to-date in the [WoRMS](https://marinespecies.org/) database as of the date this script was written." + "First, we will pull the file with the mangrove aphiaIDs from the Marine Life Data Network GitHub repo.\n", + "\n", + "**Note**: the acceptedTaxonIds in these files are based on what was up-to-date in the WoRMS database as of the date this script was written." ] }, { @@ -57,7 +65,7 @@ "id": "45fa26db", "metadata": {}, "source": [ - "Now we will do a bit of cleanup to get a list of aphiaIDs for mangroves so we can run our `robis` query using these as taxon identifiers." + "Now we will do a bit of cleanup to get a list of aphiaIDs for mangroves so we can run our [`robis`](https://iobis.github.io/robis/articles/getting-started.html) query using these as taxon identifiers." ] }, { @@ -81,7 +89,12 @@ "id": "8a6cefa9", "metadata": {}, "source": [ - "Using the taxonIDs from the last step, let's query OBIS for occurrence data for mangroves. This step may take a bit of time to run. When this script was written, there were over 130,000 records for mangroves in OBIS." + "Using the taxonIDs from the last step, let's query OBIS for occurrence data for mangroves. This step may take a bit of time to run. When this script was written, there were over 130,000 records for mangroves in OBIS.\n", + "\n", + "\n", + "**Note**: You can edit this query to pull down less data if you are not planning to use every field. Here is how that might look.\n", + "\n", + "`mangrove_occ <- robis::occurrence(taxonid = mangroveIdentifiers, fields = c(\"occurrenceID\", \"species\", \"decimalLongitude\", \"decimalLatitude\", \"date_year\"))`" ] }, { @@ -154,6 +167,10 @@ "id": "31bf8a8b", "metadata": {}, "source": [ + "From here, you could further subset the data by species or year to run more detailed analyses about mangrove biology. You could also use the map of mangrove species to identify geographic gaps where more occurrence data might be needed to better, or to identify errors in the data. Do you see the dot on the mangrove map in the Arctic?\n", + "\n", + "The purpose of this notebook is that, because you used the AphiaIDs to search for all families and genera of known mangrove species, you can be assured that you have all of the mangrove data currently published to OBIS. This could be repeated for any of the other lists of AphiaIDs for BioEco EOVs. This is a beginning step to many possible analyses.\n", + "\n", "For more information and code about how to get EOV data from OBIS, see the [NOAA GIS For The Ocean GitHub project](https://github.com/NOAA-GIS4Ocean/BioEco_EOV)." ] }