xbout.lazyload.make_lazy_array¶
- xbout.lazyload.make_lazy_array(datafilepath, ds, chunkinfo, varname, prefix='BOUT.dmp', info=False)[source]¶
Creates a lazy-loaded array, gathering data from a collection of NetCDF files.
The array must have ‘x’ and ‘y’ dimensions but can have an arbitrary number of other dimensions.
- datafilepathstr or Path
Directory containing BOUT.dmp.*.nc files
- dsxarray.DataSet
DataSet from one file
- chunkinfodict
Describes processor layouts
- varnamestr
Name of the variable to read
- Parameters:
chunkinfo (dict)
prefix (str)
info (bool)