Click or drag to resize

RegressionResponseSources Property

Gets the non-null, non-empty list of source(s) (essentially weather stations) that were used to generate the degree days used for the regressions in this response.

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public ReadOnlyCollection<Source> Sources { get; }

Property Value

ReadOnlyCollectionSource
Remarks

If this response does not actually contain any regressions, this will return the source(s) that would have been used if they had had enough data to run regressions against the InputData provided in the request.

At the time of writing there will only be one source for any given response (so .Sources[0] is the way to get it)... But at some point we might start combining data from multiple sources to satisfy requests for data from geographic locations. If we do add this feature, it will be optional, and disabled by default, so the behaviour of your system won't change unless you want it to.

See Also