-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
π bugBug report for something that isn't workingBug report for something that isn't working
Description
π Bug Report
This was observed in an earlier version of ANTS - step 1 should be verifying the problem still exists before any attempted fix.
How to reproduce
Step by step guide to reproduce the behaviour:
- Prepare a large netCDF file with one netCDF chunk per field (i.e. per time/level)
- Save a large cube as an F03 ancillary file (e.g. CMIP6 ozone)
- Examine memory usage in scheduler job report
Expected behaviour is that one field at a time should be realised. Given delays with garbage collection etc, this probably means a small number of fields, rather than one.
Instead, all fields are retained in memory, and total memory usage is slightly over the output file size.
Version
This bug exists in ANTS 1.0
Additional Context
Previous attempted fix was to wrap a copy.deepcopy() around self.ppfield.data here. This was insufficient to fix the issue in real world testing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
π bugBug report for something that isn't workingBug report for something that isn't working