earthkit.meteo.vertical.hybrid_level_parameters¶
- earthkit.meteo.vertical.hybrid_level_parameters(n_levels, model='ifs')¶
Get the A and B coefficients of hybrid levels for a given model configuration.
- Parameters:
n_levels (
int) – Number of (full) hybrid levels. Currently onlyn_levels91 and 137 are supported.model (
str, optional) – Model name. Default is"ifs". Currently only"ifs"is supported.
- Returns:
A tuple
(A, B)of 1D arrays of lengthn_levels + 1containing the A and B coefficients on the hybrid half-levels.- Return type:
tuple[array-like,array-like]
Notes
The A and B coefficients are not unique; in theory there can be multiple definitions for a given number of levels and model.
hybrid_level_parameters()returns the most typical set of coefficients used.Implementations¶
hybrid_level_parameters()calls the following implementation:earthkit.meteo.vertical.array.hybrid_level_parameters()for array-like