iwfm.sim_info¶
- iwfm.sim_info(in_file, verbose=False)[source]¶
Read simulation input file and return the starting date, ending date and time step of the simulation.
- Parameters:
- Returns:
start_date (str) – simulation start date in DSS format
end_date (str) – simulation end date in DSS format
time_step (str) – time step in DSS format
- Raises:
FileNotFoundError – If
in_filedoes not exist (viaiwfm.file_test()).ValueError – If the parsed start_date or end_date does not match the expected
MM/DD/YYYY(orMM/DD/YYYY_HH:MM) format.