Class ForecastModelSummary
- Namespace
- EncDotNet.S100.Collections.Indexing
- Assembly
- EncDotNet.S100.Collections.dll
The latest run of one forecast model, summarised for choosing models.
public sealed record ForecastModelSummary : IEquatable<ForecastModelSummary>
- Inheritance
-
ForecastModelSummary
- Implements
- Inherited Members
Constructors
ForecastModelSummary(ForecastModel, DateTimeOffset?, int, long?, long?, GeoBounds?, string?)
The latest run of one forecast model, summarised for choosing models.
public ForecastModelSummary(ForecastModel Model, DateTimeOffset? Run, int TileCount, long? TileBytes, long? RegionalBytes, GeoBounds? Bounds, string? Error = null)
Parameters
ModelForecastModelThe model.
RunDateTimeOffset?The run's time, or null when the catalogue could not be read.
TileCountintHow many tiles the run has.
TileByteslong?The run's tiles' total size, when listed.
RegionalByteslong?The size of the run's one-file-per-model download, when listed.
BoundsGeoBounds?The model's domain (the union of its tiles' bounds).
ErrorstringWhy the model could not be read, if it could not.
Properties
Bounds
The model's domain (the union of its tiles' bounds).
public GeoBounds? Bounds { get; init; }
Property Value
Error
Why the model could not be read, if it could not.
public string? Error { get; init; }
Property Value
Model
The model.
public ForecastModel Model { get; init; }
Property Value
RegionalBytes
The size of the run's one-file-per-model download, when listed.
public long? RegionalBytes { get; init; }
Property Value
- long?
Run
The run's time, or null when the catalogue could not be read.
public DateTimeOffset? Run { get; init; }
Property Value
TileBounds
The bounds of each of the run's tiles (its actual footprint).
public IReadOnlyList<GeoBounds> TileBounds { get; init; }
Property Value
TileBytes
The run's tiles' total size, when listed.
public long? TileBytes { get; init; }
Property Value
- long?
TileCount
How many tiles the run has.
public int TileCount { get; init; }
Property Value
Methods
Covers(ForecastModelSummary)
True when this model's tiles cover most of other's
(at least half of its tiles' centres): a regional model such as
rtofs_east over cbofs, not two neighbours whose boxes touch.
public bool Covers(ForecastModelSummary other)
Parameters
otherForecastModelSummary