User Guide
Reference
pywgrib2_xr.
save_inventory
Saves inventory to a file.
inventory (sequence of pywgrib2_xr.MetaData) –
file (str) – GRIB2 file path.
directory (str, optional) – Directory where to save the inventory.