User Guide
Reference
pywgrib2_xr.
load_inventory
Retrieves inventory from a file.
file (str) – GRIB file path.
directory (str, optional) – Directory of the inventory file, if not collocated with GRIB2 file. Default is None.
inventory – List of MetaData for all messages in a GRIB2 file. In case of an error, None is returned.
list