foxes.input.states.MultiHeightNCStates(data_source, *args, state_coord='state', h_coord='H', heights=None, format_times_func='default', xr_read_pars={}, **kwargs)[source]

Constructor.

Parameters

data_source: str or pandas.DataFrame

Either path to a file or data

args: tuple, optional

Parameters for the base class

state_coord: str

Name of the state coordinate

h_coord: str

Name of the height coordinate

output_vars: list of str

The output variables

heights: list of float, optional

The heights at which to search data

format_times_func: Function or ‘default’, optional

The function that maps state_coord values to datetime dtype format

xr_read_pars: dict, optional

Parameters for xarray.open_dataset

kwargs: dict, optional

Parameters for the base class