Skip to content

Commit

Permalink
Merge f50c0e5 into c30dbec
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed May 23, 2024
2 parents c30dbec + f50c0e5 commit 8feed6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
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
5 changes: 3 additions & 2 deletions xdem/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ 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 = "b3ce14b3c685abf62ae1cd916031034595c3af28"
# The URL from which to download the repository
url = f"https://github.com/GlacioHack/xdem-data/tarball/main#commit={commit}"
# url = f"https://github.com/GlacioHack/xdem-data/tarball/main#commit={commit}"
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

0 comments on commit 8feed6c

Please sign in to comment.