class CrystalMetarParser::Metar
- CrystalMetarParser::Metar
- Reference
- Object
Defined in:
crystal_metar_parser/metar.crConstant Summary
-
DEFAULT_TIME_INTERVAL =
30 * (60.as(Int32))
Constructors
Instance Method Summary
- #city : CrystalMetarParser::MetarCity
- #clouds : CrystalMetarParser::Clouds
- #decode
- #decode_split(s)
- #other : CrystalMetarParser::MetarOther
- #post_process
- #pressure : CrystalMetarParser::Pressure
- #raw : String
- #runway : CrystalMetarParser::Runway
- #specials : CrystalMetarParser::MetarSpecials
- #temperature : CrystalMetarParser::Temperature
- #time : CrystalMetarParser::MetarTime
- #to_hash
- #visibility : CrystalMetarParser::Visibility
- #wind : CrystalMetarParser::Wind
Constructor Detail
def self.new(raw : String, year : Int32 = Time.utc_now.year, month : Int32 = Time.utc_now.month, time_interval : Int32 = DEFAULT_TIME_INTERVAL)
#