Bay-Delta SELFE Tools

station_extractor Module

Routines to read in SELFE STAOUT_* and flux.dat files.

station_extractor.station_extractor(station_file, working_dir, time_basis)

Create a staout, SELFE standard output file, extractor

Parameters :

station_file: :

A staout file path to read

working_dir: :

A directory where staout file resides

time_basis: :

A time basis of the staout file

Returns :

An instance of the station extractor :

station_extractor.flow_extractor(flow_input_file, working_dir, time_basis)

Create a flow extractor