From 1a1b7c5f9ebd972974faa19e7efa6befa3dc65eb Mon Sep 17 00:00:00 2001 From: "algodeveloper1@free.fr" <algodeveloper1@free.fr> Date: Fri, 1 Apr 2022 08:28:05 +0000 Subject: [PATCH] detail in comments --- edav/user-data-ingest-from-module.ipynb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/edav/user-data-ingest-from-module.ipynb b/edav/user-data-ingest-from-module.ipynb index c0d6f55..a7f0ba0 100644 --- a/edav/user-data-ingest-from-module.ipynb +++ b/edav/user-data-ingest-from-module.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "c20c96a7", + "id": "72efb2a6", "metadata": {}, "source": [ "<h1>Sample user data ingestion notebook</h1>" @@ -10,7 +10,7 @@ }, { "cell_type": "markdown", - "id": "f5188e6b", + "id": "efed04db", "metadata": {}, "source": [ "As a first step add the ingestion module location to path. In the future the ingestion module could be automatically put in the python module path." @@ -19,7 +19,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e09fede3", + "id": "9826a067", "metadata": {}, "outputs": [], "source": [ @@ -30,12 +30,12 @@ }, { "cell_type": "markdown", - "id": "2608ef04", + "id": "15d6807a", "metadata": {}, "source": [ "Then import the product ingestion utils from the edav_ingest module. The module uses the configuration information set in `/projects/.maap/edav.ini`.\n", "\n", - "It depends on rasterio and ipywidgets libraries that are currently not available in the conda environment. To prepare the environment the following commands were run before importing the script:\n", + "It depends on rasterio and ipywidgets libraries that are currently not available in the conda environment. To prepare the environment the following commands were run before importing the script (please refresh your page after having installed these libraries):\n", "\n", "`conda install --freeze-installed rasterio`\n", "\n", @@ -46,7 +46,7 @@ }, { "cell_type": "markdown", - "id": "cc099be6", + "id": "8f80416a", "metadata": {}, "source": [ "<h3>Local file ingestion</h3>\n", @@ -57,18 +57,18 @@ { "cell_type": "code", "execution_count": null, - "id": "eddc45b7", + "id": "35075423", "metadata": {}, "outputs": [], "source": [ "from edav_form import generateIngestionFormForLocalProduct\n", "\n", - "generateIngestionFormForLocalProduct('/projects/data/georef_UK_classif.tif')" + "generateIngestionFormForLocalProduct('/projects/biomass.tiff')" ] }, { "cell_type": "markdown", - "id": "bbef0ed1", + "id": "6fbf6d79", "metadata": {}, "source": [ "<h3>Remote file ingestion</h3>\n", @@ -79,19 +79,19 @@ { "cell_type": "code", "execution_count": null, - "id": "38621199", + "id": "0397319f", "metadata": {}, "outputs": [], "source": [ "from edav_form import generateIngestionFormForRemoteProduct\n", "\n", - "generateIngestionFormForRemoteProduct('GPU_TEST_TIF/georef_Ecosse_classif_test.tiff')" + "generateIngestionFormForRemoteProduct('GPU/classif_result/georef_UK_classif.tif')" ] }, { "cell_type": "code", "execution_count": null, - "id": "6b397258", + "id": "471308de", "metadata": {}, "outputs": [], "source": [] -- GitLab