diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ac9896..95f5a04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: "Install Conda environment with Micromamba" - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba with: cache-env: true environment-file: binder/environment.yml @@ -69,7 +69,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: "Install Conda environment with Micromamba" - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba with: cache-env: true environment-file: ${{ matrix.environment-file }} diff --git a/notebooks/SnowEx_ASO_MODIS_Snow/Snow-tutorial.ipynb b/notebooks/SnowEx_ASO_MODIS_Snow/Snow-tutorial.ipynb index e21cf45..a488400 100644 --- a/notebooks/SnowEx_ASO_MODIS_Snow/Snow-tutorial.ipynb +++ b/notebooks/SnowEx_ASO_MODIS_Snow/Snow-tutorial.ipynb @@ -376,7 +376,7 @@ "source": [ "from pathlib import Path\n", "\n", - "path = Path(\".\").absolute() / \"Data\"\n", + "path = Path(\".\") / \"Data\"\n", "\n", "if not os.path.exists(path):\n", " os.mkdir(path)\n", diff --git a/notebooks/iceflow/0_introduction.ipynb b/notebooks/iceflow/0_introduction.ipynb index 615c12a..f84c57c 100644 --- a/notebooks/iceflow/0_introduction.ipynb +++ b/notebooks/iceflow/0_introduction.ipynb @@ -361,7 +361,9 @@ "metadata": {}, "outputs": [], "source": [ - "orders = client.place_data_orders(params=my_params)\n", + "orders = []\n", + "# IMPORTANT: uncomment the following line to place the order\n", + "# orders = client.place_data_orders(params=my_params)\n", "orders" ] }, @@ -455,8 +457,9 @@ }, "outputs": [], "source": [ - "# ICESat-2 + ICESat/GLAS \n", - "orders = client.place_data_orders(params=my_params)" + "# IMPORTANT: uncomment the following line to place the order\n", + "\n", + "# orders = client.place_data_orders(params=my_params)" ] }, { diff --git a/notebooks/iceflow/1_widget.ipynb b/notebooks/iceflow/1_widget.ipynb index be71dcf..c56713d 100644 --- a/notebooks/iceflow/1_widget.ipynb +++ b/notebooks/iceflow/1_widget.ipynb @@ -62,7 +62,10 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "**Note:** To view the widget output you need to enable Jupyter's log console. You can activate the console by clicking the right-most icon at the bottom of your browser or by slecting “View” >> “Show log console” on the menu bar." + "**Note:** To view the widget output you need to enable Jupyter's log console. You can activate the console by clicking the right-most icon at the bottom of your browser or by slecting “View” >> “Show log console” on the menu bar.\n", + "\n", + "Let's start loading the user interface. Next, we will explain all options and user interface components.\n", + "vertical = Sidecar widget, horizontal = render the widget in this notebook. Note that depending on your screen size and resolution the 'vertical' display option may not work correctly. This is a current bug in the jupyter-widget that can not be solved within the scope of IceFlow." ] }, { @@ -73,10 +76,6 @@ }, "outputs": [], "source": [ - "# Let's start loading the user interface. Next, we will explain all options and user interface components.\n", - "# vertical = Sidecar widget, horizontal = render the widget in this notebook.\n", - "# Note that depending on your screen size and resolution the 'vertical' display option may not work correctly.\n", - "# This is a current bug in the jupyter-widget that can not be solved within the scope of IceFlow.\n", "ui.display_map('horizontal', extra_layers=True)" ] }, @@ -85,6 +84,8 @@ "metadata": {}, "source": [ "#### IceFlow user interface (UI) components\n", + "\n", + "\n", "This user interface uses [*ipyleaflet*](https://blog.jupyter.org/interactive-gis-in-jupyter-with-ipyleaflet-52f9657fa7a) which allows us to draw\n", "polygons or bounding boxes to delimit our area of interest. We can also edit and delete these geometries using the widget controls in the map.\n", "
\n", diff --git a/notebooks/iceflow/2_api.ipynb b/notebooks/iceflow/2_api.ipynb index 8ea5d4b..34f5a91 100644 --- a/notebooks/iceflow/2_api.ipynb +++ b/notebooks/iceflow/2_api.ipynb @@ -102,17 +102,23 @@ "granules = ifc.query_cmr(my_params)" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now we order the data, this is an asynchronous process. Asynchronous downloads allow concurrent requests to be queued and processed without the need for a continuous connection. The maximum granule count per asynchronous request is 2000. When the order is complete.\n", + "Now you can proceed to download the IceFlow data granule." + ] + }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "# Now we order the data, this is an asynchronous process. \n", - "# Asynchronous downloads allow concurrent requests to be queued and processed without the need for a continuous connection. \n", - "# The maximum granule count per asynchronous request is 2000. When the order is complete\n", - "# Now you can proceed to download the IceFlow data granule.\n", - "orders = ifc.place_data_orders(my_params)\n", + "orders = []\n", + "# Uncomment the following line to place the orders!\n", + "# orders = ifc.place_data_orders(my_params)\n", "orders" ] },