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

CDL: don't pick up .tif.ovr files #424

Merged
merged 1 commit into from
Feb 26, 2022
Merged

CDL: don't pick up .tif.ovr files #424

merged 1 commit into from
Feb 26, 2022

Conversation

adamjstewart
Copy link
Collaborator

Fixes #423

Maybe someone with a wired internet connection can double check that every year of data has a .tif file? From what I call, this dataset was not consistent across all years. I feel like some years might have used .img...

Unfortunately this prevents users from changing the file format of the data they download. But those users can always override filename_glob if they need to.

@adamjstewart adamjstewart added this to the 0.2.1 milestone Feb 21, 2022
@github-actions github-actions bot added the datasets Geospatial or benchmark datasets label Feb 21, 2022
@adamjstewart
Copy link
Collaborator Author

Yep, tests are crashing for the reason I thought... I guess we could specify the extension in the filename_regex instead.

isaaccorley
isaaccorley previously approved these changes Feb 21, 2022
@adamjstewart
Copy link
Collaborator Author

Turns out that CDL used to be distributed as .img files but is now distributed as .tif files. So the change in this PR is correct, we just need to change the fake test data files first.

@adamjstewart
Copy link
Collaborator Author

Depends on #429

@calebrob6
Copy link
Member

rebased on main

@calebrob6 calebrob6 merged commit 3e9cc65 into main Feb 26, 2022
@calebrob6 calebrob6 deleted the datasets/cdl branch February 26, 2022 01:03
adamjstewart added a commit that referenced this pull request Mar 19, 2022
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CDL dataset error
3 participants