iwfm.iwfm_precip_adj¶
- iwfm.iwfm_precip_adj(precip_filename, elem_VIC_filemane, factors_filename, years_filename, out_filename, verbose=False, per_line=6)[source]¶
Read an IWFM precipitation file, a list of VIC grid cells for each precipitation column, and a table of monthly adjustment factors for each VIC grid cell, and write out an IWFM precipitation file with precipitation rates adjusted by the VIC factors.
- Parameters:
precip_filename (str) – Name of existing IWFM precipitation file
elem_VIC_filemane (str) – Name of file linking model elements to VIC elements
factors_filename (str) – Name of file with VIC factors
years_filename (str) – Name of file with replacement years
out_filename (str) – Name of output IWFM precipitation file
verbose (bool, default=False) – Turn command-line output on or off
per_line (int, default=6) – If verbose==True, number of items to write to CLI per line
- Return type:
nothing