iwfm.iwfm_read_rz_npc

iwfm.iwfm_read_rz_npc(file, verbose=False)[source]

Read non-ponded crop data from a file and organize them into lists.

Parameters:
  • file (str) – The path of the file containing the non-ponded crop data.

  • verbose (bool, default = False) – If True, print status messages.

Returns:

  • crops (list) – A list of crop codes

  • params (list) – A list of parameters: [cn, et, wsp, ip, ms, ts, rf, ru, ic]

  • files (list) – A list of file names: [npc_area_file, npc_bd_file, npc_zb_file, npc_rd_file, npc_ms_file, npc_ts_file, npc_md_file]