wrf.set_cache_size

wrf.set_cache_size(size)

Set the maximum number of items that the threadlocal cache can retain.

This cache is primarily used for coordinate variables.

Parameters:

size (int) – The number of items to retain in the cache.

Returns:

None