From d722b39a167f12160c649c48e8babac7ffe8e497 Mon Sep 17 00:00:00 2001
From: tkerr1 <theodoremkerr@gmail.com>
Date: Mon, 15 Nov 2021 22:18:00 +0000
Subject: [PATCH] removed the SD plots

---
 .../forest_biomass_summary_DRC_output.ipynb   | 92 +++++++++----------
 1 file changed, 46 insertions(+), 46 deletions(-)

diff --git a/country_outputs/forest_biomass_summary_DRC_output.ipynb b/country_outputs/forest_biomass_summary_DRC_output.ipynb
index 44cd4ed..270add9 100644
--- a/country_outputs/forest_biomass_summary_DRC_output.ipynb
+++ b/country_outputs/forest_biomass_summary_DRC_output.ipynb
@@ -2,7 +2,7 @@
  "cells": [
   {
    "cell_type": "markdown",
-   "id": "sharing-writing",
+   "id": "complimentary-accountability",
    "metadata": {},
    "source": [
     "# ESA Biomass Climate Change Initiative global forest aboveground biomass dataset v2.0 2010, 2017, 2018\n",
@@ -18,7 +18,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "future-rebel",
+   "id": "therapeutic-tumor",
    "metadata": {},
    "source": [
     "#### Install these R packages first, and load them into the R session. Source R script with support functions."
@@ -27,7 +27,7 @@
   {
    "cell_type": "code",
    "execution_count": 1,
-   "id": "saved-albert",
+   "id": "stuffed-vegetable",
    "metadata": {
     "collapsed": true,
     "jupyter": {
@@ -205,7 +205,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "lesbian-bibliography",
+   "id": "academic-spelling",
    "metadata": {},
    "source": [
     "#### Set the path to the CCI, JPL, and NCEO Biomass data folders & read in world countries shapefile"
@@ -214,7 +214,7 @@
   {
    "cell_type": "code",
    "execution_count": 16,
-   "id": "cultural-exemption",
+   "id": "musical-english",
    "metadata": {},
    "outputs": [
     {
@@ -248,7 +248,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "level-single",
+   "id": "norwegian-robertson",
    "metadata": {},
    "source": [
     "#### Generate 10x10 degree WGS84 grid that the CCI Biomass and Hansen Forest Cover products are tiled on"
@@ -257,7 +257,7 @@
   {
    "cell_type": "code",
    "execution_count": 3,
-   "id": "confidential-decision",
+   "id": "fantastic-township",
    "metadata": {},
    "outputs": [
     {
@@ -279,7 +279,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "informed-schedule",
+   "id": "increasing-knock",
    "metadata": {},
    "source": [
     "#### Print out country names in Africa to select from"
@@ -288,7 +288,7 @@
   {
    "cell_type": "code",
    "execution_count": 4,
-   "id": "foreign-document",
+   "id": "widespread-going",
    "metadata": {},
    "outputs": [
     {
@@ -596,7 +596,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "unavailable-tenant",
+   "id": "comfortable-asbestos",
    "metadata": {},
    "source": [
     "#### Select a country in Africa to plot with corresponding data tiles"
@@ -605,7 +605,7 @@
   {
    "cell_type": "code",
    "execution_count": 5,
-   "id": "hawaiian-journalism",
+   "id": "expected-ideal",
    "metadata": {},
    "outputs": [
     {
@@ -665,7 +665,7 @@
   {
    "cell_type": "code",
    "execution_count": 6,
-   "id": "light-domestic",
+   "id": "successful-haiti",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -675,7 +675,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "contained-leone",
+   "id": "convenient-ownership",
    "metadata": {},
    "source": [
     "#### Read in the CCI Biomass data for this AOI from the downloaded CCI Biomass tiles, mosaicing multiple tiles as necessary"
@@ -684,7 +684,7 @@
   {
    "cell_type": "code",
    "execution_count": 7,
-   "id": "quarterly-circulation",
+   "id": "absent-haven",
    "metadata": {},
    "outputs": [
     {
@@ -712,7 +712,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "shaped-maldives",
+   "id": "offensive-costa",
    "metadata": {},
    "source": [
     "#### Plot the CCI AGBD for 2020"
@@ -721,7 +721,7 @@
   {
    "cell_type": "code",
    "execution_count": 8,
-   "id": "conceptual-concert",
+   "id": "spare-stanford",
    "metadata": {},
    "outputs": [
     {
@@ -746,7 +746,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "wanted-stone",
+   "id": "vanilla-allah",
    "metadata": {},
    "source": [
     "#### Read in the NCEO Biomass data for this AOI from the downloaded data. NCEO data is stored as a single file for the continent of Africa, rather than multiple tiles."
@@ -755,7 +755,7 @@
   {
    "cell_type": "code",
    "execution_count": 10,
-   "id": "hairy-tiger",
+   "id": "involved-burke",
    "metadata": {},
    "outputs": [
     {
@@ -785,10 +785,10 @@
    ],
    "source": [
     "nceo_file <- 'AGB_map_2017v0m.tif'\n",
-    "nceo_sd_file <- 'SD_map_2017v0m.tif'\n",
+    "# nceo_sd_file <- 'SD_map_2017v0m.tif'\n",
     "\n",
-    "band_names_nceo <- c(paste0('agbd_2017'), paste0('agbd_sd_2017'))\n",
-    "filenames_nceo <- c(file.path(nceo_folder, nceo_file), file.path(nceo_folder, nceo_sd_file))\n",
+    "band_names_nceo <- c(paste0('agbd_2017')   #, paste0('agbd_sd_2017'))\n",
+    "filenames_nceo <- c(file.path(nceo_folder, nceo_file)  #, file.path(nceo_folder, nceo_sd_file))\n",
     "print(filenames_nceo)\n",
     "\n",
     "tile_stack <- stack(filenames_nceo)#, aoi)#, datatype=\"INT1U\", format='GTiff', options=\"COMPRESS=LZW\")\n",
@@ -808,7 +808,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "interpreted-advancement",
+   "id": "thirty-issue",
    "metadata": {},
    "source": [
     "#### Plot the NCEO AGBD for 2017"
@@ -817,7 +817,7 @@
   {
    "cell_type": "code",
    "execution_count": 11,
-   "id": "outside-controversy",
+   "id": "sticky-wilderness",
    "metadata": {},
    "outputs": [
     {
@@ -853,12 +853,12 @@
    ],
    "source": [
     "plot(nceo$agbd_2017, main=\"NCEO AGBD 2017\", zlim = c(0,700) ); plot(aoi, add=T)\n",
-    "plot(nceo$agbd_sd_2017, main=\"NCEO AGBD SD 2017\", zlim = c(0,300) ); plot(aoi, add=T)"
+    "# plot(nceo$agbd_sd_2017, main=\"NCEO AGBD SD 2017\", zlim = c(0,300) ); plot(aoi, add=T)"
    ]
   },
   {
    "cell_type": "markdown",
-   "id": "powerful-gallery",
+   "id": "still-block",
    "metadata": {},
    "source": [
     "#### Read in the JPL Biomass data for this AOI"
@@ -867,7 +867,7 @@
   {
    "cell_type": "code",
    "execution_count": 12,
-   "id": "arranged-handle",
+   "id": "lasting-opposition",
    "metadata": {},
    "outputs": [
     {
@@ -926,7 +926,7 @@
   {
    "cell_type": "code",
    "execution_count": 14,
-   "id": "integrated-candy",
+   "id": "regular-florence",
    "metadata": {},
    "outputs": [
     {
@@ -957,7 +957,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "optical-banana",
+   "id": "coordinated-lodging",
    "metadata": {},
    "source": [
     "#### Plot the JPL AGBD for 2020"
@@ -966,7 +966,7 @@
   {
    "cell_type": "code",
    "execution_count": 15,
-   "id": "interstate-polymer",
+   "id": "integrated-perth",
    "metadata": {},
    "outputs": [
     {
@@ -991,7 +991,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "developed-bracelet",
+   "id": "specified-joint",
    "metadata": {},
    "source": [
     "#### Read in forest cover raster. Currently using 30% forest cover from Hansen product. The cover rasters have been resampled to the resolutions of CCI Biomass, JPL Biomass, and NCEO Biomass for use as a forest cover mask."
@@ -1000,7 +1000,7 @@
   {
    "cell_type": "code",
    "execution_count": 18,
-   "id": "prerequisite-basketball",
+   "id": "specific-japanese",
    "metadata": {
     "collapsed": true,
     "jupyter": {
@@ -1054,7 +1054,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "appointed-dublin",
+   "id": "looking-concord",
    "metadata": {},
    "source": [
     "#### Create 30% cover forest threshold mask for CCI"
@@ -1063,7 +1063,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "other-offense",
+   "id": "nervous-thumbnail",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -1076,7 +1076,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "enabling-citation",
+   "id": "treated-middle",
    "metadata": {},
    "source": [
     "#### Create 30% cover forest threshold mask for JPL"
@@ -1085,7 +1085,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "vertical-aside",
+   "id": "increasing-catch",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -1098,7 +1098,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "common-bulgaria",
+   "id": "spare-pocket",
    "metadata": {},
    "source": [
     "#### Create 30% cover forest threshold mask for NCEO"
@@ -1107,7 +1107,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "prompt-broadcasting",
+   "id": "loaded-snapshot",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -1121,7 +1121,7 @@
   {
    "cell_type": "code",
    "execution_count": 17,
-   "id": "weighted-updating",
+   "id": "polar-abuse",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -1133,14 +1133,14 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "interior-scholarship",
+   "id": "intended-breakdown",
    "metadata": {},
    "outputs": [],
    "source": []
   },
   {
    "cell_type": "markdown",
-   "id": "seeing-number",
+   "id": "laden-efficiency",
    "metadata": {},
    "source": [
     "## The following is old code I'm keeping here for reference purposes"
@@ -1148,7 +1148,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "involved-blink",
+   "id": "ecological-closer",
    "metadata": {},
    "source": [
     "#### Calculate total aboveground biomass and average aboveground biomass density for 2020 CCI and NCEO biomass for the selected country"
@@ -1157,7 +1157,7 @@
   {
    "cell_type": "code",
    "execution_count": 23,
-   "id": "typical-patent",
+   "id": "olive-insurance",
    "metadata": {
     "collapsed": true,
     "jupyter": {
@@ -1369,7 +1369,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "harmful-notification",
+   "id": "asian-feedback",
    "metadata": {},
    "source": [
     "#### Print out basic forest aboveground biomass statistics for the selected country\n",
@@ -1379,7 +1379,7 @@
   {
    "cell_type": "code",
    "execution_count": 24,
-   "id": "specified-label",
+   "id": "competent-validation",
    "metadata": {},
    "outputs": [
     {
@@ -1409,7 +1409,7 @@
   {
    "cell_type": "code",
    "execution_count": 26,
-   "id": "incredible-cable",
+   "id": "painful-avenue",
    "metadata": {},
    "outputs": [
     {
@@ -1456,7 +1456,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "charged-demand",
+   "id": "alpine-chrome",
    "metadata": {},
    "outputs": [],
    "source": []
-- 
GitLab