Skip to content

Commit

Permalink
Update walkstac.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ylyangtw committed Aug 22, 2024
1 parent d4df6ec commit 28ca402
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions defs/walkstac.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ def walk_stac(cf):
download_folder_from_github("eco4cast/usgsrc4cast-ci", "catalog", "./data/challenge/usgsrc4cast-stac")

# Resolve schema issues
replace_in_folder('./data/challenge', '"href": []', '"href": "www.example.com"')
replace_in_folder('./data/challenge', '"href": null', '"href": "www.example.com"')
replace_in_folder('./data/challenge', '"href": {}', '"href": "www.example.com"')
replace_in_folder('./data/challenge', '"href": []', '"href": "https://github.com/radiantearth"')
replace_in_folder('./data/challenge', '"href": null', '"href": "https://github.com/radiantearth"')
replace_in_folder('./data/challenge', '"href": {}', '"href": "https://github.com/radiantearth"')
replace_in_folder('./data/challenge', 'InfT00:00:00Z', '2023-10-01T00:00:00Z')
replace_in_folder('./data/challenge', '-InfT00:00:00Z', '2024-09-05T00:00:00Z')
replace_in_folder('./data/challenge', '-2023-10-01T00:00:00Z', '2023-10-01T00:00:00Z')
Expand Down

0 comments on commit 28ca402

Please sign in to comment.