From f045cab601cef1a88f71292ecce2748f52244069 Mon Sep 17 00:00:00 2001 From: j08lue Date: Thu, 1 Feb 2024 11:58:52 +0100 Subject: [PATCH 1/2] Clean up imports --- cloud-optimized-geotiffs/cogs-overview_resampling.ipynb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb b/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb index d2642d3..6c2a565 100644 --- a/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb +++ b/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb @@ -89,17 +89,14 @@ } ], "source": [ - "import subprocess\n", "import os\n", "\n", "import earthaccess\n", - "\n", "import matplotlib.pyplot as plt\n", - "\n", "import rasterio as rio\n", "from rasterio.session import AWSSession\n", "from rasterio.plot import show\n", - "from rio_cogeo import cog_translate, cog_profiles\n" + "from rio_cogeo import cog_translate, cog_profiles" ] }, { From e9edeac7a1a9617787f995eb2e1b239c86f07f87 Mon Sep 17 00:00:00 2001 From: j08lue Date: Fri, 2 Feb 2024 12:39:16 +0100 Subject: [PATCH 2/2] Add back newline --- cloud-optimized-geotiffs/cogs-overview_resampling.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb b/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb index 6c2a565..d14d75a 100644 --- a/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb +++ b/cloud-optimized-geotiffs/cogs-overview_resampling.ipynb @@ -96,7 +96,7 @@ "import rasterio as rio\n", "from rasterio.session import AWSSession\n", "from rasterio.plot import show\n", - "from rio_cogeo import cog_translate, cog_profiles" + "from rio_cogeo import cog_translate, cog_profiles\n" ] }, {