Bay-Delta SELFE Tools

read_output_xyt Module

Read outputs from read_output*_xyt and create a neat list of Vtools time series

read_output_xyt.read_depth_avg_from_output7b_xyt(fpath, time_basis)

Read output file from read_output7b_xyt and return depth and depth-averaged values in vtools.data.timeseries.

Parameters :

fpath: str :

master input file name of read_output7b_xyt

time_basis: datetime.datetime :

time base of the outputs

Returns :

lists of a set vtools.data.timeseries of depth and depth-averaged values :

For scalars, the list has only one set of time series. For vectors, the list has two sets of time series. Each time series has multiple columns of data, and each column is for stations.