User Guide
Reference
pywgrib2_xr.
load_or_make_inventory
Returns inventory for a GRIB2 file.
file (str) – GRIB file path.
directory (str, optional) – Directory of the inventory file, if not collocated with GRIB2 file. Default is None.
save (bool) – Save created inventory, if inventory file does not exist. Default is False.
inventory – List of MetaData for all messages in a GRIB2 file. In case of an error, None is returned.
list
See also
pywgrib2_xr.load_inventory, pywgrib2_xr.make_inventory, pywgrib2_xr.save_inventory
pywgrib2_xr.load_inventory
pywgrib2_xr.make_inventory
pywgrib2_xr.save_inventory