Parse config from SFINCS input file.
If in write-only mode the config is initialized with default settings
unless a path to a template config file is provided.
Parameters:
config_fn (str) – Filename of config file, by default None.
epsg (int) – EPSG code of the model CRS. Only used if missing in the SFINCS input file,
by default None.