NoaaWeatherStation¶
Namespace: ThinkGeo.Core
Describes an individual NOAA weather station including its coordinates and most recent METAR report.
public class NoaaWeatherStation
Inheritance Object → NoaaWeatherStation
Properties¶
StationId¶
Gets or sets the StationId.
public string StationId { get; set; }
Property Value¶
Name¶
Gets or sets the Name.
public string Name { get; set; }
Property Value¶
State¶
Gets or sets the State.
public string State { get; set; }
Property Value¶
Country¶
Gets or sets the Country.
public string Country { get; set; }
Property Value¶
Latitude¶
Gets or sets the Latitude.
public double Latitude { get; set; }
Property Value¶
Longitude¶
Gets or sets the Longitude.
public double Longitude { get; set; }
Property Value¶
Elevation¶
Gets or sets the Elevation.
public double Elevation { get; set; }
Property Value¶
SiteType¶
Gets or sets the SiteType.
public NoaaWeatherStationSiteType SiteType { get; set; }
Property Value¶
Description¶
Gets or sets the Description.
public string Description { get; set; }
Property Value¶
Temperature¶
Gets or sets the Temperature.
public string Temperature { get; set; }
Property Value¶
Constructors¶
NoaaWeatherStation()¶
Initializes a new instance of the NoaaWeatherStation class.
public NoaaWeatherStation()
Methods¶
ToFeature()¶
Converts the station information into a map feature with the expected columns.
public Feature ToFeature()
Returns¶
Feature
The generated feature with station attributes.
FillDescriptionAndTemperature()¶
Parses the latest METAR description to populate the NoaaWeatherStation.Description and NoaaWeatherStation.Temperature fields.
public void FillDescriptionAndTemperature()