foxes.input.states.StatesTable(data_source, output_vars, var2col={}, fixed_vars={}, profiles={}, pd_read_pars={}, states_sel=None, states_loc=None)[source]

Constructor.

ParametersΒΆ

data_source: str or pandas.DataFrame

Either path to a file or data

output_vars: list of str

The output variables

var2col: dict

Mapping from variable names to data column names

fixed_vars: dict

Fixed uniform variable values, instead of reading from data

profiles: dict

Key: output variable name str, Value: str or dict or foxes.core.VerticalProfile

pd_read_pars: dict

pandas file reading parameters

states_sel: slice or range or list of int, optional

States subset selection

states_loc: list, optional

State index selection via pandas loc function