Looks up the forecast level for a given altitude on a station row. The altitude must match an altitude column in the forecast bulletin exactly - no interpolation is performed.
const level = getLevelAtFt(forecast.stations[0]!, 9000);console.log(level?.speedKt); Copy
const level = getLevelAtFt(forecast.stations[0]!, 9000);console.log(level?.speedKt);
The station forecast row to search.
The altitude in feet MSL to look up.
The matching WindsAloftLevel or undefined if no column matches.
Looks up the forecast level for a given altitude on a station row. The altitude must match an altitude column in the forecast bulletin exactly - no interpolation is performed.