Skip to content

NoaaWeatherStation

Namespace: ThinkGeo.Core

Describes an individual NOAA weather station including its coordinates and most recent METAR report.

public class NoaaWeatherStation

Inheritance ObjectNoaaWeatherStation

Properties

StationId

Gets or sets the StationId.

public string StationId { get; set; }

Property Value

String

Name

Gets or sets the Name.

public string Name { get; set; }

Property Value

String

State

Gets or sets the State.

public string State { get; set; }

Property Value

String

Country

Gets or sets the Country.

public string Country { get; set; }

Property Value

String

Latitude

Gets or sets the Latitude.

public double Latitude { get; set; }

Property Value

Double

Longitude

Gets or sets the Longitude.

public double Longitude { get; set; }

Property Value

Double

Elevation

Gets or sets the Elevation.

public double Elevation { get; set; }

Property Value

Double

SiteType

Gets or sets the SiteType.

public NoaaWeatherStationSiteType SiteType { get; set; }

Property Value

NoaaWeatherStationSiteType

Description

Gets or sets the Description.

public string Description { get; set; }

Property Value

String

Temperature

Gets or sets the Temperature.

public string Temperature { get; set; }

Property Value

String

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()