@@ -157,6 +157,7 @@ def configuration(
157157 chunksize = None ,
158158 log_level = None ,
159159 display_data = None ,
160+ persist_data = None ,
160161 regrid_logging = None ,
161162 relaxed_identities = None ,
162163 bounds_combination_mode = None ,
@@ -179,6 +180,7 @@ def configuration(
179180 * `chunksize`
180181 * `log_level`
181182 * `display_data`
183+ * `persist_data`
182184 * `regrid_logging`
183185 * `relaxed_identities`
184186 * `bounds_combination_mode`
@@ -203,9 +205,10 @@ def configuration(
203205
204206 .. seealso:: `atol`, `rtol`, `tempdir`, `chunksize`,
205207 `total_memory`, `log_level`, `display_data`,
206- `regrid_logging`, `relaxed_identities`,
207- `bounds_combination_mode`, `active_storage`,
208- `active_storage_url`, `active_storage_max_requests`
208+ `persist_data`, `regrid_logging`,
209+ `relaxed_identities`, `bounds_combination_mode`,
210+ `active_storage`, `active_storage_url`,
211+ `active_storage_max_requests`
209212
210213 :Parameters:
211214
@@ -247,12 +250,18 @@ def configuration(
247250 * ``'DETAIL'`` (``3``);
248251 * ``'DEBUG'`` (``-1``).
249252
250- display_data `bool` or `Constant`, optional
253+ display_data: `bool` or `Constant`, optional
251254 The new display data option. The default is to not change
252255 the current behaviour.
253256
254257 .. versionadded:: 3.19.0
255258
259+ persist_data: `bool` or `Constant`, optional
260+ The new persist data option. The default is to not change
261+ the current behaviour.
262+
263+ .. versionadded:: NEXTVERSION
264+
256265 regrid_logging: `bool` or `Constant`, optional
257266 The new value (either True to enable logging or False to
258267 disable it). The default is to not change the current
@@ -312,6 +321,7 @@ def configuration(
312321 'bounds_combination_mode': 'AND',
313322 'chunksize': 82873466.88000001,
314323 'display_data': True,
324+ 'persist_data': False,
315325 'active_storage': False,
316326 'active_storage_url': None,
317327 'active_storage_max_requests': 100}
@@ -330,6 +340,7 @@ def configuration(
330340 'bounds_combination_mode': 'AND',
331341 'chunksize': 75000000.0,
332342 'display_data': True,
343+ 'persist_data': False,
333344 'active_storage': False,
334345 'active_storage_url': None,
335346 'active_storage_max_requests': 100}
@@ -358,6 +369,7 @@ def configuration(
358369 'bounds_combination_mode': 'AND',
359370 'chunksize': 75000000.0,
360371 'display_data': True,
372+ 'persist_data': False,
361373 'active_storage': False,
362374 'active_storage_url': None}
363375 >>> with cf.configuration(atol=9, rtol=10):
@@ -372,6 +384,7 @@ def configuration(
372384 'bounds_combination_mode': 'AND',
373385 'chunksize': 75000000.0,
374386 'display_data': True,
387+ 'persist_data': False,
375388 'active_storage': False,
376389 'active_storage_url': None,
377390 'active_storage_max_requests': 100}
@@ -385,6 +398,7 @@ def configuration(
385398 'bounds_combination_mode': 'AND',
386399 'chunksize': 75000000.0,
387400 'display_data': True,
401+ 'persist_data': False,
388402 'active_storage': False,
389403 'active_storage_url': None,
390404 'active_storage_max_requests': 100}
@@ -416,6 +430,7 @@ def configuration(
416430 new_chunksize = chunksize ,
417431 new_log_level = log_level ,
418432 new_display_data = display_data ,
433+ new_persist_data = persist_data ,
419434 new_regrid_logging = regrid_logging ,
420435 new_relaxed_identities = relaxed_identities ,
421436 bounds_combination_mode = bounds_combination_mode ,
@@ -460,6 +475,7 @@ def _configuration(_Configuration, **kwargs):
460475 "new_chunksize" : chunksize ,
461476 "new_log_level" : log_level ,
462477 "new_display_data" : display_data ,
478+ "new_persist_data" : persist_data ,
463479 "new_regrid_logging" : regrid_logging ,
464480 "new_relaxed_identities" : relaxed_identities ,
465481 "bounds_combination_mode" : bounds_combination_mode ,
@@ -590,6 +606,10 @@ class display_data(ConstantAccess, cfdm.display_data):
590606 pass
591607
592608
609+ class persist_data (ConstantAccess , cfdm .persist_data ):
610+ pass
611+
612+
593613class regrid_logging (ConstantAccess ):
594614 """Whether or not to enable `esmpy` regridding logging.
595615
0 commit comments