arlmet.VerticalAxis#
- class arlmet.VerticalAxis(levels, *, offset=0.0)[source]#
Abstract base class for ARL vertical coordinate axes.
Use
from_flag()to construct from a raw ARL flag integer, or instantiate a subclass directly (e.g.PressureAxis(levels=[...])).Vertical axes are immutable value objects:
levelsis a read-only NumPy array, attributes cannot be reassigned, and equal axes hash equally. Build a new axis to change one.- Parameters:
- levels#
Read-only
float64array of native level values.- Type:
Methods
|
|
|
Construct the appropriate subclass from an ARL vertical flag. |
|
Compute height above ground level [m] at each level. |
|
Compute pressure [hPa] at each level. |
Attributes