class CrystalMetarParser::Wind
- CrystalMetarParser::Wind
- CrystalMetarParser::Base
- Reference
- Object
Defined in:
crystal_metar_parser/metar/wind.crConstant Summary
-
KILOMETERS_PER_HOUR_TO_METERS_PER_SECOND =
1.0 / 3.6
-
KNOTS_TO_METERS_PER_SECOND =
1.85 / 3.6
Constructors
Instance Method Summary
- #decode_split(s)
-
#decode_wind(s)
Wind parameters in meters per second
-
#decode_wind_variable(s)
Variable wind direction
- #direction : Int32
-
#kmh
Kilometers per hour
-
#knots
Knots
-
#mps
Meters per second
- #post_process
-
#recalculate_winds
Calculate wind parameters, some metar string has multiple winds recorded
- #speed : Float64
-
#speed_kmh
Wind speed in KM/H
-
#speed_knots
Wind speed in knots