From 11fc59a7c848566ddd207bf8c3d3cd18527569e4 Mon Sep 17 00:00:00 2001 From: "algodeveloper1@free.fr" <algodeveloper1@free.fr> Date: Fri, 4 Mar 2022 12:55:50 +0000 Subject: [PATCH] s3-download ingest notebook BIOMASS-2371 --- edav/user-data-ingest-from-module.ipynb | 58 ++++++------------------- 1 file changed, 14 insertions(+), 44 deletions(-) diff --git a/edav/user-data-ingest-from-module.ipynb b/edav/user-data-ingest-from-module.ipynb index da11d4a..c0d6f55 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": "4de51eb6", + "id": "c20c96a7", "metadata": {}, "source": [ "<h1>Sample user data ingestion notebook</h1>" @@ -10,7 +10,7 @@ }, { "cell_type": "markdown", - "id": "8b45f9ee", + "id": "f5188e6b", "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." @@ -18,8 +18,8 @@ }, { "cell_type": "code", - "execution_count": 11, - "id": "5a994d73", + "execution_count": null, + "id": "e09fede3", "metadata": {}, "outputs": [], "source": [ @@ -30,7 +30,7 @@ }, { "cell_type": "markdown", - "id": "11cb449a", + "id": "2608ef04", "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", @@ -46,7 +46,7 @@ }, { "cell_type": "markdown", - "id": "3987a8cd", + "id": "cc099be6", "metadata": {}, "source": [ "<h3>Local file ingestion</h3>\n", @@ -56,25 +56,10 @@ }, { "cell_type": "code", - "execution_count": 12, - "id": "a089ae96", + "execution_count": null, + "id": "eddc45b7", "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "b97de56bbeea4429b6e7caf1a2739756", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "VBox(children=(HBox(children=(Text(value='georef_UK_classif', description='Dataset ID*:', layout=Layout(width=…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "from edav_form import generateIngestionFormForLocalProduct\n", "\n", @@ -83,7 +68,7 @@ }, { "cell_type": "markdown", - "id": "bb1cbec4", + "id": "bbef0ed1", "metadata": {}, "source": [ "<h3>Remote file ingestion</h3>\n", @@ -93,25 +78,10 @@ }, { "cell_type": "code", - "execution_count": 9, - "id": "13f4e740", + "execution_count": null, + "id": "38621199", "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "5f1d32eb92124389907392e2f02baf15", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "VBox(children=(HBox(children=(Text(value='georef_Ecosse_classif_test', description='Dataset ID*:', layout=Layo…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "from edav_form import generateIngestionFormForRemoteProduct\n", "\n", @@ -121,7 +91,7 @@ { "cell_type": "code", "execution_count": null, - "id": "87872c47", + "id": "6b397258", "metadata": {}, "outputs": [], "source": [] -- GitLab