Skip to content

Commit

Permalink
Fix: fix ghrsst bins
Browse files Browse the repository at this point in the history
  • Loading branch information
lbesnard committed Feb 12, 2025
1 parent eef0b67 commit 044ccd0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
"--dataset-config",
"satellite_ghrsst_l3s_1day_daynighttime_multi_sensor_australia.json",
"--cluster-mode",
"remote",
"coiled",
]

# Add --clear-existing-data for the first iteration only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def main():
"--dataset-config",
"satellite_ghrsst_l3s_1day_daynighttime_multi_sensor_southernocean.json",
"--cluster-mode",
"remote",
"coiled",
]
#
# Add --clear-existing-data for the first iteration only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@


def main():
# for i, year in enumerate(range(1992, 2025)):
for i, year in enumerate(range(2019, 2025)):
for i, year in enumerate(range(1992, 2025)):
command = [
"generic_cloud_optimised_creation",
"--paths",
Expand All @@ -15,12 +14,12 @@ def main():
"--dataset-config",
"satellite_ghrsst_l3s_1month_daytime_single_sensor_australia.json",
"--cluster-mode",
"remote",
"coiled",
]

# Add --clear-existing-data for the first iteration only
# if i == 0:
# command.append("--clear-existing-data")
if i == 0:
command.append("--clear-existing-data")

# Run the command
subprocess.run(command, check=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
"--dataset-config",
"satellite_ghrsst_l3s_6day_daynighttime_single_sensor_australia.json",
"--cluster-mode",
"remote",
"coiled",
]

# Add --clear-existing-data for the first iteration only
Expand Down

0 comments on commit 044ccd0

Please sign in to comment.