Skip to content

Commit 1eaa376

Browse files
committed
Changed a few more mentions of rename-split to split-netcdf
1 parent b40c1dd commit 1eaa376

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Jinja2Filters/form_remap_dep.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def form_remap_dep(grid_type: str,
6363
# and omitted for secondary chunk generation.
6464
if output_type == "ts":
6565
if str(history_segment) == str(chunk):
66-
prereq_task = "rename-split-to-pp"
66+
prereq_task = "split-netcdf"
6767
else:
6868
prereq_task = "make-timeseries"
6969
elif output_type== "av":
@@ -151,13 +151,13 @@ def form_remap_dep(grid_type: str,
151151
for src in value:
152152
if makets_stmt != '':
153153
# make-timeseries and make-timeavgs tasks have the chunksize in the task name,
154-
# but rename-split-to-pp does not
155-
if prereq_task == 'rename-split-to-pp':
154+
# but split-netcdf does not
155+
if prereq_task == 'split-netcdf':
156156
makets_stmt = f"{makets_stmt} & {prereq_task}-{grid}_{src}"
157157
else:
158158
makets_stmt = f"{makets_stmt} & {prereq_task}-{grid}-{chunk}_{src}"
159159
else:
160-
if prereq_task == 'rename-split-to-pp':
160+
if prereq_task == 'split-netcdf':
161161
makets_stmt = f"{prereq_task}-{grid}_{src}"
162162
else:
163163
makets_stmt = f"{prereq_task}-{grid}-{chunk}_{src}"

Jinja2Filters/get_climatology_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ def graph(self, history_segment, clean_work):
8080
connector = " & "
8181
if count == 0:
8282
if self.pp_chunk == history_segment:
83-
graph += f"{connector}rename-split-to-pp-{grid}_{source}"
83+
graph += f"{connector}split-netcdf-{grid}_{source}"
8484
else:
8585
graph += f"{connector}make-timeseries-{grid}-{self.pp_chunk}_{source}"
8686
else:
8787
offset = count * self.pp_chunk
8888
if self.pp_chunk == history_segment:
89-
graph += f" & rename-split-to-pp-{grid}_{source}[{offset}]"
89+
graph += f" & split-netcdf-{grid}_{source}[{offset}]"
9090
else:
9191
graph += f" & make-timeseries-{grid}-{self.pp_chunk}_{source}[{offset}]"
9292
count += 1

0 commit comments

Comments
 (0)