diff --git a/.github/workflows/test_notebooks_entirerepo.yml b/.github/workflows/test_notebooks_entirerepo.yml index 88379656b..a7beb4fb8 100644 --- a/.github/workflows/test_notebooks_entirerepo.yml +++ b/.github/workflows/test_notebooks_entirerepo.yml @@ -57,6 +57,11 @@ jobs: with: image: ${{ matrix.image }} + - name: Log GitHub Actions Runner IP + run: | + echo "GitHub Actions runner public IP:" + curl https://ifconfig.me + - name: Run tests against each DEA Notebooks section run: | sudo chown -R 1000:100 ./dea-notebooks diff --git a/.github/workflows/test_notebooks_pullrequest.yml b/.github/workflows/test_notebooks_pullrequest.yml index 65fbe3e15..f36d124fa 100644 --- a/.github/workflows/test_notebooks_pullrequest.yml +++ b/.github/workflows/test_notebooks_pullrequest.yml @@ -24,6 +24,11 @@ jobs: with: path: dea-notebooks + - name: Log GitHub Actions Runner IP + run: | + echo "GitHub Actions runner public IP:" + curl https://ifconfig.me + # Detects changed Jupyter Notebooks, excluding interactive notebooks - name: Get changed notebook files id: changed-notebooks @@ -38,7 +43,7 @@ jobs: How_to_guides/Land_cover_pixel_drill.ipynb How_to_guides/Imagery_on_web_map.ipynb How_to_guides/External_data_ERA5_Climate.ipynb - How_to_guides/Generating_COG_mosaics.ipynb + # How_to_guides/Generating_COG_mosaics.ipynb - name: Print changed notebook files if: steps.changed-notebooks.outputs.any_changed == 'true' run: | diff --git a/How_to_guides/Generating_COG_mosaics.ipynb b/How_to_guides/Generating_COG_mosaics.ipynb index dbf3b3b2f..666093256 100644 --- a/How_to_guides/Generating_COG_mosaics.ipynb +++ b/How_to_guides/Generating_COG_mosaics.ipynb @@ -88,6 +88,18 @@ "from dea_tools.mosaics.vrt import make_styling_vrt" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "789ab882", + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "os.environ[\"GDAL_DISABLE_READDIR_ON_OPEN\"] = \"EMPTY_DIR\"\n", + "os.environ[\"CPL_VSIL_CURL_ALLOWED_EXTENSIONS\"] = \".tif\"" + ] + }, { "cell_type": "markdown", "id": "91333f91-0acc-45b1-9c97-e664227fac74", diff --git a/Tests/dea_tools/test_mosaics.py b/Tests/dea_tools/test_mosaics.py index b66ac4db7..7bf8161ba 100644 --- a/Tests/dea_tools/test_mosaics.py +++ b/Tests/dea_tools/test_mosaics.py @@ -26,7 +26,7 @@ def test_mosaic_vrt_creation_cat(tmp_path): "aws_unsigned": True, "skip_existing": False, "list_tiles": ["x46y47", "x46y48"], - "vsi_method": "vsis3", + # "vsi_method": "vsis3", } vrt_params = {