Table of Contents

Class ForecastModel

Namespace
EncDotNet.S100.Collections
Assembly
EncDotNet.S100.Collections.dll

One forecast model of an S-100 forecast feed (#685), for example NOAA's Chesapeake Bay Operational Forecast System (cbofs) for S-111 surface currents. Its catalogue lists only its latest run.

public sealed record ForecastModel : IEquatable<ForecastModel>
Inheritance
ForecastModel
Implements
Inherited Members

Constructors

ForecastModel(string, string, int, int, string?)

One forecast model of an S-100 forecast feed (#685), for example NOAA's Chesapeake Bay Operational Forecast System (cbofs) for S-111 surface currents. Its catalogue lists only its latest run.

public ForecastModel(string Id, string Name, int CadenceHours, int HorizonHours, string? CataloguePath = null)

Parameters

Id string

The model's folder under the feed (e.g. cbofs).

Name string

The water body it covers (e.g. "Chesapeake Bay").

CadenceHours int

How often a new run is published, in hours.

HorizonHours int

How far ahead of its run time a run forecasts, in hours (its valid window).

CataloguePath string

The model's catalogue relative to the feed's folder, when it is not <id>/CATALOG.XML (NOAA's S-104 pilot keeps its one catalogue in _CATALOG/CATALOG.XML); null for the usual place.

Properties

CadenceHours

How often a new run is published, in hours.

public int CadenceHours { get; init; }

Property Value

int

CataloguePath

The model's catalogue relative to the feed's folder, when it is not <id>/CATALOG.XML (NOAA's S-104 pilot keeps its one catalogue in _CATALOG/CATALOG.XML); null for the usual place.

public string? CataloguePath { get; init; }

Property Value

string

HorizonHours

How far ahead of its run time a run forecasts, in hours (its valid window).

public int HorizonHours { get; init; }

Property Value

int

Id

The model's folder under the feed (e.g. cbofs).

public string Id { get; init; }

Property Value

string

Name

The water body it covers (e.g. "Chesapeake Bay").

public string Name { get; init; }

Property Value

string