Project

General

Profile

Revision 834:d989df597b80

IDd989df597b80
Parent 833:354ddca04053
Child 835:d623d705abd3

Added by Maarten Sneep about 2 years ago

Use the exclude parameter when ingesting existing files

View differences:

src/concatenate_aggregate.py
174 174
                    for idx in range(step_count):
175 175
                        if i == 0 and idx == 0:
176 176
                            continue
177
                        o = C(filename=src, time_index=idx)
177
                        o = C(filename=src, time_index=idx, exclude=args.exclude)
178 178
                        if o is None or not o.success or d is None or not d.success:
179 179
                            continue
180 180
                        d += o
......
359 359

  
360 360
            for C in cls_list:
361 361
                for idx in range(steps_in_file):
362
                    d = C(filename=src, time_index=idx)
362
                    d = C(filename=src, time_index=idx, exclude=args.exclude)
363 363
                    if d is None or not d.success:
364 364
                        continue
365 365
                    d.time_index_in_output = i+idx

Also available in: Unified diff