pywgrib2_xr.save_inventory

pywgrib2_xr.save_inventory(inventory, file, directory=None)[source]

Saves inventory to a file.

Parameters
  • inventory (sequence of pywgrib2_xr.MetaData) –

  • file (str) – GRIB2 file path.

  • directory (str, optional) – Directory where to save the inventory.