Skip to content

Commit 55ee394

Browse files
Chris BlantonChris Blanton
authored andcommitted
Add remaining climo cleaning task graph; definitions were already there
1. After remapping the climo shards, remove the climo shards in work 2. After combining and archiving the pp timeavgs, remove the pp timeavgs in work
1 parent 5f595c1 commit 55ee394

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jinja2Filters/get_climatology_info.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ def graph(self, history_segment, clean_work):
9797
graph += f" => climo-{self.frequency}-P{self.interval_years}Y_{self.component}\n"
9898
graph += f" => remap-climo-{self.frequency}-P{self.interval_years}Y_{self.component}\n"
9999
graph += f" => combine-climo-{self.frequency}-P{self.interval_years}Y_{self.component}\n"
100+
if clean_work:
101+
graph += f"remap-climo-{self.frequency}-P{self.interval_years}Y_{self.component} => clean-shards-av-P{self.interval_years}Y\n"
102+
graph += f"combine-climo-{self.frequency}-P{self.interval_years}Y_{self.component} => clean-pp-timeavgs-P{self.interval_years}Y\n"
100103
graph += f"\"\"\"\n"
101104

102105
# then, create the cleaning tasks

0 commit comments

Comments
 (0)