jcm.physics_interface.PhysicsState¶
- class jcm.physics_interface.PhysicsState(u_wind, v_wind, temperature, specific_humidity, geopotential, normalized_surface_pressure, tracers=None)¶
Represents the state of the atmosphere in physical (nodal) space.
This structure holds the atmospheric variables on a grid, which are used as inputs for the physics parameterizations.
- Attributes:
- u_windjnp.ndarray
Zonal (east-west) component of wind.
- v_windjnp.ndarray
Meridional (north-south) component of wind.
- temperaturejnp.ndarray
Atmospheric temperature.
- specific_humidityjnp.ndarray
The mass of water vapor per unit mass of moist air.
- geopotentialjnp.ndarray
The gravitational potential energy per unit mass at a given height.
- normalized_surface_pressurejnp.ndarray
Surface pressure normalized by a reference pressure p0.
Methods
any_true()copy([u_wind, v_wind, temperature, ...])isnan()ones(shape[, u_wind, v_wind, temperature, ...])zeros(shape[, u_wind, v_wind, temperature, ...])