From 3ac43a13284304c271b4eb4c19bd4996640c0108 Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Mon, 21 Mar 2022 17:01:40 +0100 Subject: [PATCH] Small details in the presentation --- notebooks/test-S1-GRD-IW-RTC-Gran-Sasso.ipynb | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/notebooks/test-S1-GRD-IW-RTC-Gran-Sasso.ipynb b/notebooks/test-S1-GRD-IW-RTC-Gran-Sasso.ipynb index d5219c4..d84fd59 100644 --- a/notebooks/test-S1-GRD-IW-RTC-Gran-Sasso.ipynb +++ b/notebooks/test-S1-GRD-IW-RTC-Gran-Sasso.ipynb @@ -16,8 +16,6 @@ "import matplotlib.pyplot as plt\n", "import logging\n", "\n", - "logger = logging.basicConfig(level=logging.INFO)\n", - "\n", "plt.rcParams[\"figure.figsize\"] = (10, 7)\n", "plt.rcParams[\"font.size\"] = 12" ] @@ -271,7 +269,9 @@ "cell_type": "code", "execution_count": null, "id": "ce44debc", - "metadata": {}, + "metadata": { + "scrolled": true + }, "outputs": [], "source": [ "mirror_folder(rtc_fs, rtc_bucket, product_folder)" @@ -285,6 +285,16 @@ "## process" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "ef8d37ee", + "metadata": {}, + "outputs": [], + "source": [ + "logger = logging.basicConfig(level=logging.INFO)" + ] + }, { "cell_type": "markdown", "id": "5a308418", @@ -302,6 +312,8 @@ }, "outputs": [], "source": [ + "%time\n", + "\n", "gtc_path = os.path.basename(product_folder) + \".10m.GTC.tif\"\n", "\n", "apps.backward_geocode_sentinel1(\n", @@ -344,6 +356,8 @@ }, "outputs": [], "source": [ + "%time\n", + "\n", "rtc_gamma_10m_path = os.path.basename(product_folder) + \".10m.RTC.tif\"\n", "\n", "rtc_gamma_10m = apps.backward_geocode_sentinel1(\n", @@ -352,7 +366,7 @@ " dem_10m_UTM_urlpath,\n", " interp_method=\"nearest\",\n", " override_product_files=\"{dirname}/{prefix}{swath}-{polarization}{ext}\",\n", - " correct_radiometry=\"gamma\",\n", + " correct_radiometry=True,\n", " output_urlpath=rtc_gamma_10m_path,\n", " grouping_area_factor=(6, 6),\n", ")\n",