Class S100ForecastFeedSource
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
An S-100 forecast feed (#685) — for example NOAA's S-111 surface currents
on AWS Open Data — scoped to some of its models. Each model's catalogue
(<model>/CATALOG.XML under ModelsUri) lists only
its latest run, so its items are that run's datasets: online
(RemoteItemLocation) until downloaded, superseded by the next run.
public sealed record S100ForecastFeedSource : CollectionSource, IEquatable<CollectionSource>, IEquatable<S100ForecastFeedSource>
- Inheritance
-
S100ForecastFeedSource
- Implements
- Inherited Members
Constructors
S100ForecastFeedSource(Guid, string?, Uri, IReadOnlyList<ForecastModel>, ForecastShape)
An S-100 forecast feed (#685) — for example NOAA's S-111 surface currents
on AWS Open Data — scoped to some of its models. Each model's catalogue
(<model>/CATALOG.XML under ModelsUri) lists only
its latest run, so its items are that run's datasets: online
(RemoteItemLocation) until downloaded, superseded by the next run.
public S100ForecastFeedSource(Guid Id, string? DisplayName, Uri ModelsUri, IReadOnlyList<ForecastModel> Models, ForecastShape Shape = ForecastShape.Tiles)
Parameters
IdGuidThe source's stable identifier.
DisplayNamestringAn optional user-facing label.
ModelsUriUriThe folder holding one folder per model (ending in
/).ModelsIReadOnlyList<ForecastModel>The chosen models.
ShapeForecastShapeWhether runs download as tiles or as one file per model.
Properties
Models
The chosen models.
public IReadOnlyList<ForecastModel> Models { get; init; }
Property Value
ModelsUri
The folder holding one folder per model (ending in /).
public Uri ModelsUri { get; init; }
Property Value
Shape
Whether runs download as tiles or as one file per model.
public ForecastShape Shape { get; init; }