Skip to content

Commit

Permalink
NCCM: fix timestamp extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Feb 13, 2024
1 parent 0226782 commit d24d625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/nccm.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class NCCM(RasterDataset):
.. versionadded:: 0.6
"""

filename_regex = r"CDL(?P<year>\d{4})_clip"
filename_regex = r"CDL(?P<date>\d{4})_clip"
filename_glob = "CDL*.*"

date_format = "%Y"
Expand Down

0 comments on commit d24d625

Please sign in to comment.