load

Contents

load#

_HdfData.load(interp=False, recursive=True)[source]#

Load the data array and optionally build the interpolator into memory.

Parameters:
interpbool, optional

If True, also build and cache the RegularGridInterpolator after loading the data. Requires scipy. Default is False.

recursivebool, optional

If True (default), also call load() on each coordinate scale reader.

Examples

>>> reader.load()
>>> reader.data_cached
True
>>> reader.load(interp=True)
>>> reader.interp_cached
True