Table of Contents

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

Model ForecastModel

The model.

Run DateTimeOffset?

The run's time, or null when the catalogue could not be read.

TileCount int

How many tiles the run has.

TileBytes long?

The run's tiles' total size, when listed.

RegionalBytes long?

The size of the run's one-file-per-model download, when listed.

Bounds GeoBounds?

The model's domain (the union of its tiles' bounds).

Error string

Why 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

GeoBounds?

Error

Why the model could not be read, if it could not.

public string? Error { get; init; }

Property Value

string

Model

The model.

public ForecastModel Model { get; init; }

Property Value

ForecastModel

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

DateTimeOffset?

TileBounds

The bounds of each of the run's tiles (its actual footprint).

public IReadOnlyList<GeoBounds> TileBounds { get; init; }

Property Value

IReadOnlyList<GeoBounds>

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

int

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

other ForecastModelSummary

Returns

bool