Skip to content

Commit

Permalink
remove local file
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jul 23, 2024
1 parent 4ba97e7 commit afcd02e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloud_archives/pv/passiv/passiv_monthly.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ def get_monthly_passiv_data(start_date: datetime, upload_to_hf: bool = True, ove
repo_id="openclimatefix/uk_pv",
repo_type="dataset",
)

# remove local file
logger.info("Removing local file")
os.remove(file)


@dg.asset(
Expand Down

0 comments on commit afcd02e

Please sign in to comment.