Class WeatherOrigin
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
ModelstringThe model name, for example
"GFS-Wave", or the originating centre's name when the file doesn't name a model.RunTimeDateTimeThe 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.CentrestringThe originating centre, for example
"NCEP", when known.
Properties
Centre
The originating centre, for example "NCEP", when known.
public string? Centre { get; init; }
Property Value
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
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; }