Skip to content

Commit

Permalink
fix(icon-etl): Remove leading zeros from folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Jun 5, 2024
1 parent d614595 commit d3f5f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/icon/download_combine_upload_icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def run(path: str, config: Config, run: str) -> None:
# Upload to huggingface
log.info(f"Uploading {run} to Hugging Face Hub")
done = False
hf_path = str(ds.coords["time"].dt.strftime("data/%Y/%m/%d/%Y%m%d_%H.zarr.zip").values)
hf_path = str(ds.coords["time"].dt.strftime("data/%Y/%-m/%-d/%Y%m%d_%H.zarr.zip").values)
while not done:
try:
# Authenticate with huggingface
Expand Down

0 comments on commit d3f5f78

Please sign in to comment.