{
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "# Installation\n",
        "\n",
        "Max Mustermann (Ruhr-Universität Bochum)  \n",
        "2025-09-14\n",
        "\n",
        "<img src=\"images/CdecLogoBlackBanner3.jpg\" width=\"300\" style=\"float:right\"/>\n",
        "\n",
        "Auflistung der installierten Bibliotheken. Zum Auszuführen, muss der\n",
        "Zelltyp in Code geändert werden.\n",
        "\n",
        "`!pip freeze`"
      ],
      "id": "a616079a-da95-43a6-b0be-b8e9869eadc3"
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "# Zur Anzeige von Kartenfenstern für Geemap. Wird ggf. auch bei der Installation von Geemap mitinstalliert.\n",
        "!pip install ipyleaflet"
      ],
      "id": "c2cd8c34-0769-42fa-a97e-5b0e23bc6749"
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "# Prüfen, ob ipyleaflet funktioniert.\n",
        "import ipyleaflet\n",
        "m = ipyleaflet.Map()\n",
        "m"
      ],
      "id": "4446ee1d-6f6e-4141-b5e3-a4d5161c5ed7"
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "# Installation von Geemap. Die Earth Engine API ee wird mitinstalliert.\n",
        "!pip install geemap"
      ],
      "id": "0e23c3f8-e1eb-4ba8-93ff-8939c6309109"
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "# Prüfen, ob Geemap funktioniert und Login bei Google, um die Earth Engine API zu nutzen.\n",
        "import geemap\n",
        "m = geemap.Map()\n",
        "m"
      ],
      "id": "94725d86-8032-48d0-bf2e-866d9cdc4a6c"
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "# Installation von pygis, damit das GEE Inspector Tool funktioniert.\n",
        "!pip install pygis"
      ],
      "id": "12975927-5df9-456c-a9ce-89c9901adba0"
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "# Installation von ipyshee zur Anzeige von Tabellen.\n",
        "!pip install ipysheet"
      ],
      "id": "6141203e-19e2-4f5e-9128-f33f2f3f5f40"
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "Lade jetzt die Seite neu.\n",
        "\n",
        "<img src=\"images/ReloadButtonHighlighted.jpg\"/>\n",
        "\n",
        "<img src=\"images/ReloadQuestion.png\" width=\"400\"/>\n",
        "\n",
        "Erscheint ein Kartenfenster? Wenn ja, kann es weitergehen."
      ],
      "id": "82400dff-cd9d-4a4d-9235-2233db3d7323"
    }
  ],
  "nbformat": 4,
  "nbformat_minor": 5,
  "metadata": {
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3 (ipykernel)",
      "language": "python"
    },
    "language_info": {
      "name": "python",
      "codemirror_mode": {
        "name": "ipython",
        "version": "3"
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.12.6"
    },
    "widgets": {
      "application/vnd.jupyter.widget-state+json": {
        "state": {},
        "version_major": 2,
        "version_minor": 0
      }
    }
  }
}