arlmet.z_agl#
- arlmet.z_agl(ds)[source]#
Height above ground level (m) at each level.
- Parameters:
ds (
Dataset) – Dataset fromarlmet.open_dataset().- Returns:
flag=2:
HGTS - SHGT(geopotential height minus terrain). RequiresHGTSandSHGTin the dataset.flag=1/4: hypsometric integration from the ground through
pressure()with the virtual temperature, as HYSPLIT’sprfsigandprfecmdo: the ground is atPRSSandT02M(elseTMPS, else the first level’sTEMPbrought down adiabatically), and the virtual temperature isTEMP (1 + 0.61 q)withqfromSPHU, elseRELH, else 0. RequiresPRSSandTEMP.flag=3: the stored 1D
heightnon-dim coord(level,)— terrain-following levels are heights AGL.flag=5 (WRF): as flag 1 with
PRES, as HYSPLIT’sprfsigdoes for a WRF file without WRF’s hybrid coefficients; the ground temperature withoutT02Mis the first level’s brought down adiabatically from its eta. RequiresPRSS,TEMPandPRES.
- Return type: