iwfm.hdf5.hdf2zxlsx_gw

iwfm.hdf5.hdf2zxlsx_gw(hdf_file, zone_file, output_file, area_fact=2.2957e-05, area_units='AC', vol_fact=2.2957e-05, vol_units='ACFT', verbose=False, debug=False)[source]

Convert IWFM Groundwater Zone Budget HDF5 file to Excel workbook.

Reading and zone aggregation are shared with hdf2zbud_gw via zbud_gw_core.zbud_gw_aggregate(); this function only writes the Excel workbook (one sheet per zone).

Parameters:
  • hdf_file (str) – Path to input HDF5 zone budget file

  • zone_file (str) – Path to zone definition file

  • output_file (str) – Path to output Excel file (.xlsx)

  • area_fact (float) – Area conversion factor (default: sq ft to acres)

  • area_units (str) – Area units for output

  • vol_fact (float) – Volume conversion factor (default: cu ft to acre-ft)

  • vol_units (str) – Volume units for output

  • verbose (bool) – Print progress messages

  • debug (bool, default=False) – Enable debug output (more detailed than verbose)