Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/test_notebooks_entirerepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test_notebooks_pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
12 changes: 12 additions & 0 deletions How_to_guides/Generating_COG_mosaics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion Tests/dea_tools/test_mosaics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Loading