arlmet.InternalLevels.scale#
- InternalLevels.scale(terrain)[source]#
Return how much higher the levels are above terrain than above 0 m.
- Parameters:
terrain (
ArrayLike) – Ground heights above sea level [m], such as a file’sSHGT.- Returns:
(zmdl - terrain) / zmdl, the shape of terrain.- Return type:
See also
heights_atThe levels’ heights above that ground.
Examples
>>> import arlmet >>> levels = arlmet.internal_levels("met.arl") >>> levels.scale([0.0, 1250.0]) array([1. , 0.95])