iwfm.iwfm_lu4scenario¶
- iwfm.iwfm_lu4scenario(out_base_name, in_npag_file, in_ponded_file, in_urban_file, in_nvrv_file, skip=4, npag_cols=20, pag_cols=5, nvrv_cols=2, urban_cols=1, verbose=False)[source]¶
Merge four single-date IWFM land use files (non-ponded ag, ponded ag, native/riparian, urban) into one combined scenario land use table, matched by element ID.
All four input files must contain the same element IDs. Rows are merged by element ID and written in ascending element order, so the files need not list elements in the same order.
- Parameters:
out_base_name (str) – output files base name
in_npag_file (str) – input Non-Ponded Ag Area file name
in_ponded_file (str) – input Ponded Ag Area File name
in_urban_file (str) – input Urban Area file name
in_nvrv_file (str) – input Native and Riparian Area input file name
skip (int, default=4) – number of non-comment lines to skip in each file (header)
npag_cols (int, default=20) – number of non-ponded ag crop columns (default = C2VSim)
pag_cols (int, default=5) – number of ponded ag crop columns (default = C2VSim)
nvrv_cols (int, default=2) – number of native/riparian columns (default = C2VSim)
urban_cols (int, default=1) – number of urban columns (default = C2VSim)
verbose (bool, default=False) – True = command-line output on
- Return type:
nothing