iwfm.hdf5.hdf2zbud_gw¶
- iwfm.hdf5.hdf2zbud_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 text format.
Reading and zone aggregation are shared with hdf2zxlsx_gw via zbud_gw_core.zbud_gw_aggregate(); this function only formats the fixed-width text output.
- 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 text file
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)