Table of Contents

Class WeatherOrigin

Namespace
EncDotNet.S100.Datasets.Weather
Assembly
EncDotNet.S100.Datasets.Weather.dll

Where a weather grid set comes from: the model or centre that produced it and the model run's reference time.

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

Constructors

WeatherOrigin(string, DateTime, string?)

Where a weather grid set comes from: the model or centre that produced it and the model run's reference time.

public WeatherOrigin(string Model, DateTime RunTime, string? Centre = null)

Parameters

Model string

The model name, for example "GFS-Wave", or the originating centre's name when the file doesn't name a model.

RunTime DateTime

The reference time of the model run (GRIB2 Section 1 reference time, or the CF forecast_reference_time), in UTC. For an analysis it's the analysis time.

Centre string

The originating centre, for example "NCEP", when known.

Properties

Centre

The originating centre, for example "NCEP", when known.

public string? Centre { get; init; }

Property Value

string

Model

The model name, for example "GFS-Wave", or the originating centre's name when the file doesn't name a model.

public string Model { get; init; }

Property Value

string

RunTime

The reference time of the model run (GRIB2 Section 1 reference time, or the CF forecast_reference_time), in UTC. For an analysis it's the analysis time.

public DateTime RunTime { get; init; }

Property Value

DateTime