earthkit.meteo.vertical.geopotential_on_hybrid_levels¶
- earthkit.meteo.vertical.geopotential_on_hybrid_levels(t: ArrayLike, q: ArrayLike, zs: ArrayLike, sp: ArrayLike, A: ArrayLike, B: ArrayLike, alpha_top: Literal['ifs', 'arpege'] = 'ifs', vertical_dim: int = 0) ArrayLike¶
- earthkit.meteo.vertical.geopotential_on_hybrid_levels(t: earthkit.data.FieldList, q: earthkit.data.FieldList, zs: earthkit.data.FieldList, sp: earthkit.data.FieldList, A: ArrayLike | None = None, B: ArrayLike | None = None, alpha_top: Literal['ifs', 'arpege'] = 'ifs') earthkit.data.FieldList
Compute the geopotential on hybrid (IFS model) full-levels.
- Parameters:
t (
array-like | FieldList) – Temperature on hybrid full-levels (K). See the concrete implementations for details.q (
array-like | FieldList) – Specific humidity on hybrid full-levels (kg/kg). Must have the same shape, level range and order ast. See the concrete implementations for details.zs (
array-like | FieldList) – Surface geopotential (m2/s2). See the concrete implementations for details.sp (
array-like | FieldList) – Surface pressure (Pa). See the concrete implementations for details.A (
array-like | None, optional) – A-coefficients defining the hybrid levels. Must contain all the half-levels in ascending order with respect to the model level number. Can be None for FieldList/Field input if the coefficients can be resolved from metadata (FieldList only).B (
array-like | None, optional) – B-coefficients defining the hybrid levels. Must contain all the half-levels in ascending order with respect to the model level number. Must have the same size asA. Can be None for FieldList/Field input if the coefficients can be resolved from metadata (FieldList only).alpha_top (
{"ifs", "arpege"}, optional) – Option to initialise alpha at the top of the model atmosphere. Default is"ifs". Seeearthkit.meteo.vertical.array.pressure_on_hybrid_levels()for details.vertical_dim (
int, default0) – Axis corresponding to the vertical coordinate in the input and output arrays. Default is 0. Cannot be specified for FieldList/Field data.
- Returns:
Geopotential (m2/s2) on hybrid full-levels. See the concrete implementations for details.
- Return type:
array-like | FieldList
Implementations¶
geopotential_on_hybrid_levels()calls one of the following implementations depending on the type of the input arguments:earthkit.meteo.vertical.array.geopotential_on_hybrid_levels()for array-likeearthkit.meteo.vertical.fieldlist.geopotential_on_hybrid_levels()for FieldList
The function returns an object of the same type as the input arguments.