Skip to content
Merged
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: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ dmypy.json
xdem/_version.py

# Example data downloaded/produced during tests
examples/data/Longyearbyen/data/
examples/data/Longyearbyen/processed/
examples/data/*.tif
examples/data/*.csv
examples/data/

doc/source/basic_examples/
doc/source/advanced_examples/
Expand Down
4 changes: 3 additions & 1 deletion xdem/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ def download_longyearbyen_examples(overwrite: bool = False) -> None:
os.remove(fn)

# Static commit hash to be bumped every time it needs to be.
commit = "fd832bc2e366cf2ba8b543f7e43f90ee02384f4f"
commit = "ff5ede952fc422ebd2a3c6340041a118850bc905"
# The URL from which to download the repository
url = f"https://github.com/GlacioHack/xdem-data/tarball/main#commit={commit}"
# To test new data from a user-branch before merging in xdem-data
# url = f"https://github.com/ameliefroessl/xdem-data/tarball/cog-files#commit={commit}"

# Create a temporary directory to extract the tarball in.
temp_dir = tempfile.TemporaryDirectory()
Expand Down