foxes.input.states.DatasetStates.preproc_first(algo, data, bounds_extra_space=None, height_bounds=None, verbosity=0)[source]

Preprocesses the first file.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

data: xarray.Dataset

The dataset to preprocess

bounds_extra_space: float or str, optional

The extra space, either float in m, or str for units of D, e.g. ‘2.5D’

height_bounds: tuple, optional

The (h_min, h_max) height bounds in m. Defaults to H +/- 0.5*D

verbosity: int

The verbosity level, 0 = silent