iwfm.bud2csv¶
- iwfm.bud2csv(f, loc_names, column_headers, loc_values, budget_info, print_header=False)[source]¶
Open an IWFM Budget HDF file and retreive all of the data.
- Parameters:
f (File object) – Output file open for writing
loc_names (list of strings) – Location names (subregion, stream reach, stream node, small watershed etc)
column_headers (list of lists of strings) – Column headers for each location
loc_values (list of dataframes) – Each dataframe contains values for one location
budget_info (string) – Type of budget, ‘GROUNDWATER’ == Groundwater, ‘LAND’ == Lane Use, ‘STREAM’ == Stream or Stream Node, ‘ROOT’ == Root Zone, ‘SMALL’ == Small Watershed, ‘UNSAT’ == Unsaturates Zone
print_header (bool, default=False) – If True then print header at top of file
- Return type:
nothing