Skip to content

Commit

Permalink
Merge branch 'main' into plot_update
Browse files Browse the repository at this point in the history
  • Loading branch information
santibravocmcc authored Feb 18, 2025
2 parents fd54dee + 684f4d4 commit 86dd755
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/download/download_copernicus_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ def download_copernicus(
# saves the daily current or temperature netcdf in the case dir
ds.to_netcdf(output_name)

# remove the temporary files
temp_files = [os.path.join(output_path, "curr.nc"), os.path.join(output_path, "temp.nc")]
for temp_file in temp_files:
if os.path.exists(temp_file):
os.remove(temp_file)
# remove the temporary files
temp_files = [os.path.join(output_path, "curr.nc"), os.path.join(output_path, "temp.nc")]
for temp_file in temp_files:
if os.path.exists(temp_file):
os.remove(temp_file)
1 change: 1 addition & 0 deletions src/plot/plot_mdk3.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def plot_pyngl(
{plot_lat[0]} {plot_lat[1]}"
],
# shell=True,
# shell=True,
check=True,
) # nosec

Expand Down

0 comments on commit 86dd755

Please sign in to comment.