diff --git a/notebooks/worldcereal_v1_demo_custom_cropland.ipynb b/notebooks/worldcereal_v1_demo_custom_cropland.ipynb index ac9eecb..61c682e 100644 --- a/notebooks/worldcereal_v1_demo_custom_cropland.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_cropland.ipynb @@ -330,6 +330,26 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# The results contain the openeo job id...\n", + "print(f\"Job id: {job_results.job_id}\")\n", + "print(f\"Location of metadata: {job_results.metadata}\")\n", + "#... a list of products that were downloaded...\n", + "print(f\"Products: {job_results.products.keys()}\")\n", + "# ... for each product:\n", + "print('-- For each product --')\n", + "print(f\"Type: {job_results.products['cropland']['type']}\")\n", + "print(f\"Temporal extent: {job_results.products['cropland']['temporal_extent']}\")\n", + "print(f\"Look-up table: {job_results.products['cropland']['lut']}\")\n", + "print(f\"URL: {job_results.products['cropland']['url']}\")\n", + "print(f\"Local path: {job_results.products['cropland']['path']}\")" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/notebooks/worldcereal_v1_demo_custom_cropland_extended.ipynb b/notebooks/worldcereal_v1_demo_custom_cropland_extended.ipynb index 2181a71..ce41661 100644 --- a/notebooks/worldcereal_v1_demo_custom_cropland_extended.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_cropland_extended.ipynb @@ -352,6 +352,26 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# The results contain the openeo job id...\n", + "print(f\"Job id: {job_results.job_id}\")\n", + "print(f\"Location of metadata: {job_results.metadata}\")\n", + "#... a list of products that were downloaded...\n", + "print(f\"Products: {job_results.products.keys()}\")\n", + "# ... for each product:\n", + "print('-- For each product --')\n", + "print(f\"Type: {job_results.products['cropland']['type']}\")\n", + "print(f\"Temporal extent: {job_results.products['cropland']['temporal_extent']}\")\n", + "print(f\"Look-up table: {job_results.products['cropland']['lut']}\")\n", + "print(f\"URL: {job_results.products['cropland']['url']}\")\n", + "print(f\"Local path: {job_results.products['cropland']['path']}\")" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/notebooks/worldcereal_v1_demo_custom_croptype.ipynb b/notebooks/worldcereal_v1_demo_custom_croptype.ipynb index 6e52002..f214c81 100644 --- a/notebooks/worldcereal_v1_demo_custom_croptype.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_croptype.ipynb @@ -330,6 +330,26 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# The results contain the openeo job id...\n", + "print(f\"Job id: {job_results.job_id}\")\n", + "print(f\"Location of metadata: {job_results.metadata}\")\n", + "#... a list of products that were downloaded...\n", + "print(f\"Products: {job_results.products.keys()}\")\n", + "# ... for each product:\n", + "print('-- For each product --')\n", + "print(f\"Type: {job_results.products['croptype']['type']}\")\n", + "print(f\"Temporal extent: {job_results.products['croptype']['temporal_extent']}\")\n", + "print(f\"Look-up table: {job_results.products['croptype']['lut']}\")\n", + "print(f\"URL: {job_results.products['croptype']['url']}\")\n", + "print(f\"Local path: {job_results.products['croptype']['path']}\")" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb b/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb index d995f0c..7e92e7c 100644 --- a/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb @@ -355,6 +355,26 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# The results contain the openeo job id...\n", + "print(f\"Job id: {job_results.job_id}\")\n", + "print(f\"Location of metadata: {job_results.metadata}\")\n", + "#... a list of products that were downloaded...\n", + "print(f\"Products: {job_results.products.keys()}\")\n", + "# ... for each product:\n", + "print('-- For each product --')\n", + "print(f\"Type: {job_results.products['croptype']['type']}\")\n", + "print(f\"Temporal extent: {job_results.products['croptype']['temporal_extent']}\")\n", + "print(f\"Look-up table: {job_results.products['croptype']['lut']}\")\n", + "print(f\"URL: {job_results.products['croptype']['url']}\")\n", + "print(f\"Local path: {job_results.products['croptype']['path']}\")" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/notebooks/worldcereal_v1_demo_default_cropland.ipynb b/notebooks/worldcereal_v1_demo_default_cropland.ipynb index 34a55f6..801c2e1 100644 --- a/notebooks/worldcereal_v1_demo_default_cropland.ipynb +++ b/notebooks/worldcereal_v1_demo_default_cropland.ipynb @@ -194,6 +194,26 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# The results contain the openeo job id...\n", + "print(f\"Job id: {results.job_id}\")\n", + "print(f\"Location of metadata: {results.metadata}\")\n", + "#... a list of products that were downloaded...\n", + "print(f\"Products: {results.products.keys()}\")\n", + "# ... for each product:\n", + "print('-- For each product --')\n", + "print(f\"Type: {results.products['cropland']['type']}\")\n", + "print(f\"Temporal extent: {results.products['cropland']['temporal_extent']}\")\n", + "print(f\"Look-up table: {results.products['cropland']['lut']}\")\n", + "print(f\"URL: {results.products['cropland']['url']}\")\n", + "print(f\"Local path: {results.products['cropland']['path']}\")" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/notebooks/worldcereal_v1_demo_default_cropland_extended.ipynb b/notebooks/worldcereal_v1_demo_default_cropland_extended.ipynb index 2c1d0d6..37f0d25 100644 --- a/notebooks/worldcereal_v1_demo_default_cropland_extended.ipynb +++ b/notebooks/worldcereal_v1_demo_default_cropland_extended.ipynb @@ -216,6 +216,26 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# The results contain the openeo job id...\n", + "print(f\"Job id: {results.job_id}\")\n", + "print(f\"Location of metadata: {results.metadata}\")\n", + "#... a list of products that were downloaded...\n", + "print(f\"Products: {results.products.keys()}\")\n", + "# ... for each product:\n", + "print('-- For each product --')\n", + "print(f\"Type: {results.products['cropland']['type']}\")\n", + "print(f\"Temporal extent: {results.products['cropland']['temporal_extent']}\")\n", + "print(f\"Look-up table: {results.products['cropland']['lut']}\")\n", + "print(f\"URL: {results.products['cropland']['url']}\")\n", + "print(f\"Local path: {results.products['cropland']['path']}\")" + ] + }, { "cell_type": "markdown", "metadata": {},