Commit
·
8ea1f1d
1
Parent(s):
384c2c5
Update README.md
Browse files
README.md
CHANGED
|
@@ -63,7 +63,9 @@ import xarray
|
|
| 63 |
|
| 64 |
fs = HfFileSystem()
|
| 65 |
|
| 66 |
-
files =
|
|
|
|
|
|
|
| 67 |
local_file: str = hf_hub_download(repo_id="shermansiu/dm_graphcast_datasets", filename=f"dataset/{files[0]}", repo_type="dataset")
|
| 68 |
|
| 69 |
with open(local_file, "rb") as f:
|
|
|
|
| 63 |
|
| 64 |
fs = HfFileSystem()
|
| 65 |
|
| 66 |
+
files = [
|
| 67 |
+
file.rsplit("/", 1)[1] for file in fs.ls("datasets/shermansiu/dm_graphcast_datasets/dataset", detail=False)
|
| 68 |
+
]
|
| 69 |
local_file: str = hf_hub_download(repo_id="shermansiu/dm_graphcast_datasets", filename=f"dataset/{files[0]}", repo_type="dataset")
|
| 70 |
|
| 71 |
with open(local_file, "rb") as f:
|