iwfm.hdf5.cropbud2csv

iwfm.hdf5.cropbud2csv(bud_file_ag, bud_file_pond, outfile, write_header=True, verbose=False)[source]

Read crop-based information from IWFM Land and Water Use and Root Zone Budget HDF files and write to a CSV file in a format amenable to database input.

Parameters:
  • bud_file_ag (string) – Name of IWFM Budget output HDF-formatted file for agricultural water use

  • bud_file_pond (string) – Name of IWFM Budget output HDF-formatted file for ponded crop water use

  • outfile (string) – Name of output CSV file

  • write_header (bool, default=True) – If True then print header at top of file

  • verbose (bool, default=False) – Turn command-line output on or off

Return type:

nothing