mooflow.read.lstfile_iter_balance

mooflow.read.lstfile_iter_balance(setup_mf, period_number=1, style='numpyarray')

Generator function that scans the output of readlines on the results file *.LIST to return an numpy array dtype float’ with the results for the current time step

Parameters
lst_fileOmo_setup

the results file as read with readlines() or the path to the file

tstepint

number of first time step –> the identifier of the WELL/DRN file is build from this

stylestr

numpyarray or dict

Returns
an iterator with returns a numpy array if style is numpyarray or a dictionary if syle is dict