foxes.input.states.create.write_random_abl_states(file_path, n_states, cols_minmax, var2col={}, mol_abs_range=(50.0, 5000.0), normalize=True, verbosity=1, digits='auto', **kwargs)[source]

Writes random abl states to file

ParametersΒΆ

file_path: str

Path to the file

n_states: int

The number of states

cols_minmax: dict

For each variable the min and max values, keys: variable name str, values: array_like with length 2

var2col: dict, optional

Mapping from variables to column names

mol_abs_range: tuple

Min and max of allowed MOL values, set to nan if exceeded (i.e., neutral stratification)

normalize: bool

Normalize weights to 1

verbosity: int

The verbosity level, 0 = silent

digits: int or auto

The number of digits to be written

kwargs: dict, optional

Parameters for pandas.DataFrame.to_csv