foxes.input.states.NEWAStates.preproc_first(algo, data, cmap, vars, bounds_extra_space, height_bounds, verbosity=0)[source]

Preprocesses the first file.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

data: xarray.Dataset

The dataset to preprocess

cmap: dict

A mapping from foxes variable names to Dataset dimension names

vars: list

The list of variable names

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 +/-

verbosity: int

The verbosity level, 0 = silent