arviz.InferenceData.from_netcdf¶
-
static
InferenceData.
from_netcdf
(filename: str) → arviz.data.inference_data.InferenceData[source]¶ Initialize object from a netcdf file.
Expects that the file will have groups, each of which can be loaded by xarray. By default, the datasets of the InferenceData object will be lazily loaded instead of being loaded into memory. This behaviour is regulated by the value of
az.rcParams["data.load"]
.- Parameters
- filenamestr
location of netcdf file
- Returns
- InferenceData object