File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,10 @@ def aggregate_prep():
213213 Prepares aggregated files based on the current state of the output.
214214
215215 This function determines the latest aggregated file, checks if the current
216- output is from a restarted run, and adjusts the aggregated files accordingly.
216+ netcdff output is from a restarted run. If from restarted run will remove
217+ aggregated files from that restarted_from data onward, otherwise let the
218+ user know if files are not from a restarted run or if they do not have the
219+ restarted_from attribute.
217220
218221 Returns:
219222 None
@@ -232,7 +235,8 @@ def aggregate_prep():
232235 agg_files .sort ()
233236
234237 remove_from_file = None
235- # if output files not from a restarted run, remove all existing aggregated files
238+ # only remove aggregate files from "restarted_from" date onward, otherwise
239+ # print warnings
236240 if restarted_from == 'Not Restarted' :
237241 print ("Note: output files not from a restart run" )
238242 # print("Outputted files not from restart run, removing all aggregated files")
You can’t perform that action at this time.
0 commit comments