-
foxes.input.states.MultiHeightStates(data_source, output_vars, heights, var2col=
{}
, fixed_vars={}
, pd_read_pars={}
, states_sel=None
, states_loc=None
, **ipars)[source] Constructor.
ParametersΒΆ
- data_source: str or pandas.DataFrame
Either path to a file or data
- output_vars: list of str
The output variables
- heights: list of float
The heights at which to search data
- var2col: dict, optional
Mapping from variable names to data column names
- fixed_vars: dict, optional
Fixed uniform variable values, instead of reading from data
- pd_read_pars: dict, optional
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
- ipars: dict, optional
Parameters for scipy.interpolate.interp1d