Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DL4GAMAlps dataset #2508

Merged
merged 39 commits into from
Feb 18, 2025
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
6eb701d
add the GlacierMappingAlps dataset class
dcodrut Jan 8, 2025
6c986a1
add doc entry
dcodrut Jan 9, 2025
c959d46
add dummy data script
dcodrut Jan 9, 2025
0e919c6
add dummy data
dcodrut Jan 9, 2025
6fa50bc
unit tests
dcodrut Jan 9, 2025
871d080
fix doc strings; refactoring
dcodrut Jan 9, 2025
5d7b27a
lazy import for xarray
dcodrut Jan 9, 2025
d5413cb
Merge branch 'main' into datasets/glaciers_alps
dcodrut Jan 13, 2025
890af53
reformat
dcodrut Jan 13, 2025
cb3a9bc
fix typo
dcodrut Jan 14, 2025
b1202fd
sort alphabetically
dcodrut Jan 19, 2025
c7ec25c
add minimum versions
dcodrut Jan 19, 2025
4b9ba74
rename dataset to DL4GAMAlps
dcodrut Jan 19, 2025
e9675b1
add an earlier import for tests to fail quicker
dcodrut Jan 19, 2025
874409d
fix (transforms were not applied)
dcodrut Jan 19, 2025
86bb374
doc update
dcodrut Jan 19, 2025
58de111
Merge branch 'main' into datasets/glaciers_alps
dcodrut Jan 19, 2025
98da858
set utils.Path as type hint
dcodrut Jan 20, 2025
640f72a
fix typo
dcodrut Jan 20, 2025
0ca7b34
Merge branch 'main' into datasets/glaciers_alps
dcodrut Jan 20, 2025
0340d4b
Merge branch 'main' into datasets/glaciers_alps
dcodrut Jan 31, 2025
6ba5313
Merge branch 'main' into datasets/glaciers_alps
dcodrut Feb 1, 2025
dabd6c2
raise RGBBandsMissingError
dcodrut Jan 31, 2025
46236ff
rename files
dcodrut Jan 31, 2025
a02729e
avoid dynamic typing
dcodrut Jan 31, 2025
feac255
update netCDF4 minversion
dcodrut Feb 1, 2025
1214fdc
add minversions for dl4gam dataset
dcodrut Feb 1, 2025
2c8e619
update comment
dcodrut Feb 1, 2025
025cf17
change xarray minversion
dcodrut Feb 1, 2025
a5a5a29
mention h5netcdf as alternative to netcdf4
dcodrut Feb 1, 2025
9da7a37
update xarray minversion
dcodrut Feb 1, 2025
73b7748
Merge branch 'main' into datasets/glaciers_alps
dcodrut Feb 16, 2025
0248b6e
update doc
dcodrut Feb 16, 2025
c9c159c
rename
dcodrut Feb 16, 2025
9bac206
correct reason
dcodrut Feb 17, 2025
db1941f
Merge branch 'main' into datasets/glaciers_alps
dcodrut Feb 17, 2025
9f99f3d
sort alphabetically
dcodrut Feb 17, 2025
1b8dd0a
rename
dcodrut Feb 17, 2025
ba6cce8
remove space
dcodrut Feb 17, 2025
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
Prev Previous commit
Next Next commit
update netCDF4 minversion
dcodrut committed Feb 1, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit feac25592985f6a1c61a00595cdcf2fbc419afb8
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -87,8 +87,8 @@ datasets = [
"h5py>=3.6",
# laspy 2+ required for laspy.read
"laspy>=2",
# netcdf4 1.5.4+ required for xarray.open_dataset with engine="netcdf4"
"netcdf4>=1.5.4",
# netcdf4 1.5.8+ required for Python 3.10 wheels
"netcdf4>=1.5.8",
# opencv-python 4.5.4+ required for Python 3.10 wheels
"opencv-python>=4.5.4",
# pandas 2+ required for parquet extra
2 changes: 1 addition & 1 deletion tests/datasets/test_dl4gam.py
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
from torchgeo.datasets import DatasetNotFoundError, DL4GAMAlps, RGBBandsMissingError

pytest.importorskip('xarray', minversion='2023.9')
pytest.importorskip('netCDF4', minversion='1.5.4')
pytest.importorskip('netCDF4', minversion='1.5.8')


class TestDL4GAMAlps: