Metar class

Parser for METAR reports.

Constructors

Metar(String code, {int? year, int? month, bool truncate = false})

Properties

body String
Get the body part of the METAR.
no setter
clouds → CloudList
Get the cloud groups data of the METAR.
no setterinherited
flightRules String?
Get the flight rules of the report or forecast.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
minimumVisibility → MetarMinimumVisibility
Get the minimum visibility data of the METAR.
no setter
modifier → Modifier
Get the modifier type of the report.
no setterinherited
pressure → MetarPressure
Get the pressure of the METAR.
no setter
prevailingVisibility → MetarPrevailingVisibility
Get the prevailing visibility data of the report.
no setterinherited
rawCode String
Get the raw code as its received in the instance.
no setterinherited
recentWeather → MetarRecentWeather
Get the recent weather data of the METAR.
no setter
remark String
Get the remark part of the METAR.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runwayRanges → GroupList<MetarRunwayRange>
Get the runway ranges data of the METAR if provided.
no setter
runwayState → MetarRunwayState
Get the runway state data of the METAR.
no setter
seaState → MetarSeaState
Get the sea state data of the METAR.
no setter
sections List<String>
Get the report separated in its sections as a list of strings.
no setterinherited
station → Station
Get the station data of the report.
no setterinherited
temperatures → MetarTemperatures
Get the temperatures data of the METAR.
no setter
time → Time
Get the time of the report.
no setterinherited
trend String
Get the trend part of the METAR.
no setter
type_ → ReportType
Get the type of the report.
no setterinherited
unparsedGroups List<String>
Get the unparsed groups of the report.
no setterinherited
weathers → GroupList<MetarWeather>
Get the weather data of the report if provided.
no setterinherited
weatherTrends → MetarWeatherTrends
Get the weather trends of the METAR if provided.
no setter
wind → MetarWind
Get the wind data of the report.
no setterinherited
windshears → MetarWindshearList
Get the windshear data of the METAR.
no setter
windVariation → MetarWindVariation
Get the wind variation directions of the METAR.
no setter

Methods

asMap() Map<String, Object?>
Returns the report data as a map like Map<String, Object?>.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldBeCavok() bool
Analyses the conditions for CAVOK in the report. Returns true if CAVOK should be reported, false if not or if there is no data to make a complete analysis.
inherited
toJSON() String
Returns the report data as a string in JSON format.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited