iwfm.get_change_col

iwfm.get_change_col(changes_table, in_year, in_chg_file)[source]

When changing IWFM land use for a scenario, determine which column of the change factors table corresponds to a specific year.

Parameters:
  • changes_table (list) – table of change factors, col = years, row = zone

  • in_year (int or str) – year

  • in_chg_file (str) – change table file name, for error output if necessary

Returns:

chg_col – number of column corresponding to in_year

Return type:

int