Skip to content

Commit

Permalink
Fix metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrandje committed Oct 1, 2024
1 parent f551be5 commit 6e5d03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions argo-pipeline/src/make_metadata_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main(
path_within_bucket=path_within_bucket,
year=year,
)
if metadata.empty:
if metadata is None:
continue

for key in [
Expand All @@ -99,7 +99,7 @@ def main(
metadata_border = metadata[key]
except KeyError:
continue
if metadata_border is None:
if metadata_border.empty:
continue
config["borders"] = key
path_raw_s3 = create_path_bucket(config)
Expand Down

0 comments on commit 6e5d03e

Please sign in to comment.