Commit d064032
NetCDF thread safety take two (SciTools#5095), and resolving conflicts.
* Unpin netcdf4.
* Temporarily enable GHA on this branch.
* Temporarily enable GHA on this branch.
* Temporarily enable GHA on this branch.
* Experiment to disable wheel CI on forks.
* Disable segfaulting routines.
* More temporary changes to get CI passing.
* More temporary changes to get CI passing.
* Finessed segfault skipping.
* Bring in changed from SciTools#5061.
* Re-instate test_load_laea_grid.
* Adaptations to get the tests passing.
* Use typing.Mapping instead.
* Get doctests passing.
* CF only resolve non-url filenames.
* Confirm thread safety fixes.
* Remove dummy assignment.
* Restored plot_nemo What's New entry.
* _add_aux_factories temporarily release global lock.
* Remove per-file locking.
* Remove remaining test workarounds.
* Remove remaining comments.
* Correct use of CFReader context manager.
* Refactor for easier future maintenance.
* Rename netcdf _thread_safe, add header.
* Full use of ThreadSafeAggregators.
* Full use of ThreadSafeAggregators.
* Remove remaining imports of NetCDF4.
* Test to ensure netCDF4 is via _thread_safe module.
* More refined netcdf._thread_safe classes.
* _thread_safe docstrings.
* Restore original NetCDF code where possible.
* Revert changes to 2.3.rst.
* Update lockfiles.
* Additions to _thread_safe.py
* Remove temporary CI shims.
* New locking stategy for NetCDFDataProxy.
* NetCDFDataProxy simpler use of netCDF4 lock.
* Update lock files.
* Go back to using a Threading Lock.
* Remove superfluous pass commands in test_cf.py.
* Rename _thread_safe to _thread_safe_nc.
* Rename thread safe classes to be 'Wrappers'.
* Better contained getattr and setattr pattern.
* Explicitly name netCDF4 module in _thread_safe_nc docstring.
* Better docstring for _ThreadSafeWrapper.
* Better comment about THREAD_SAFE_FLAG.
* list() wrapping within _GLOBAL_NETCDF4_LOCK, to account for generators.
* More accurate thread_safe docstrings in netcdf.saver.
* Split netcdf integration tests into multiple modules.
* Tests for non-thread-safe NetCDF behaviour.
* Docstring accuracy.
* Correct use of dask config set (context manager).
* Update dependencies.
* Review - don't need the first-class import of iris.tests.
* Better name for the loading test.
* Better selection of data to load.
* What's New entry.
* Improve tests.
* Update lock files.
* Increase chunking on test_save.
---------
Co-authored-by: Patrick Peglar <patrick.peglar@metoffice.gov.uk>1 parent 1580da2 commit d064032
File tree
44 files changed
+1783
-1167
lines changed- docs/src
- userguide
- whatsnew
- lib/iris
- experimental/ugrid
- fileformats
- netcdf
- tests
- integration
- netcdf
- results/integration/netcdf
- attributes/TestUmVersionAttribute
- aux_factories
- TestAtmosphereSigma
- TestHybridPressure
- TestSaveMultipleAuxFactories
- general/TestPackedData
- stock
- unit
- experimental/ugrid/cf
- fileformats
- cf
- nc_load_rules/actions
- netcdf
- requirements/ci
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+1783
-1167
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
128 | | - | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| 148 | + | |
| 149 | + | |
146 | 150 | | |
147 | 151 | | |
148 | | - | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1054 | 1056 | | |
1055 | 1057 | | |
1056 | 1058 | | |
| |||
1068 | 1070 | | |
1069 | 1071 | | |
1070 | 1072 | | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1071 | 1086 | | |
1072 | 1087 | | |
1073 | 1088 | | |
| |||
1294 | 1309 | | |
1295 | 1310 | | |
1296 | 1311 | | |
1297 | | - | |
| 1312 | + | |
1298 | 1313 | | |
1299 | 1314 | | |
1300 | 1315 | | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1301 | 1321 | | |
1302 | 1322 | | |
1303 | 1323 | | |
| |||
0 commit comments