
K Index
K_Index.Rd
K Index
References
George, J.J., 1960. Weather Forecasting for Aeronautics. Academic Press, New York. 673 pp.+
Examples
data("ERA5_pl")
ta <- ERA5_pl$ta
hus <- ERA5_pl$hus
# convert to hPa
plev <- ERA5_pl$plev / 100
pa <- convert_plev_to_array(plev, dim(hus))
td <- td_from_hus(hus, pa)
l850 <- which(plev == 850)
l700 <- which(plev == 700)
l500 <- which(plev == 500)
res <- K_Index(
ta[, , l850, ], ta[, , l700, ],
ta[, , l500, ], td[, , l850, ],
td[, , l700, ]
)