foxes.input.states.ICONStates(data_source, height_coord_default='height', height_coord_tke='height_2', time_coord='time', lat_coord='lat', lon_coord='lon', output_vars=None, var2ncvar=None, load_mode='fly', **kwargs)[source]

Constructor.

Parameters

data_source: str

The input netcdf file(s) containing, can contain wildcards, e.g. ‘2025*_icon.nc’

height_coord_default: str, optional

The default height level coordinate name in the data

height_coord_tke: str, optional

The height level coordinate name for TKE in the data

time_coord: str

The time coordinate name in the data

lat_coord: str

The latitude coordinate name in the data

lon_coord: str

The longitude coordinate name in the data

output_vars: list of str, optional

The output variables to load, if None, the default variables are loaded (FV.WS, FV.WD, FV.TI, FV.RHO)

var2ncvar: dict, optional

A dictionary mapping foxes variable names to the corresponding netcdf variable names.

load_mode: str

The load mode, choices: preload, lazy, fly. preload loads all data during initialization, lazy lazy-loads the data using dask, and fly reads only states index and weights during initialization and then opens the relevant files again within the chunk calculations.

kwargs: dict, optional

Additional parameters for the base class