Click or drag to resize

StationIdLocation Constructor

Constructs a StationIdLocation object with the specified weather station ID.

Namespace: DegreeDays.Api.Data.Impl
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public StationIdLocation(
	string stationId
)

Parameters

stationId  String
The non-null, non-empty ID of the weather station that the StationIdLocation should represent (i.e. the station you want data for). Cannot contain contain any characters other than [-_0-9a-zA-Z], and cannot contain more than 60 characters (a limit that is significantly larger than the length of any station ID that we are currently aware of, but that is set high to allow for "virtual station IDs" to be introduced in the future, combining data from multiple stations).
Exceptions
ExceptionCondition
ArgumentNullExceptionstationId is null.
FormatExceptionTests indicate that stationId fails to match the specification detailed above.
See Also