Class WeatherDatasetContent
One entry of what a weather file holds (Contents),
for info output: a parameter of the grid set, or something the reader
left out of it.
public sealed record WeatherDatasetContent : IEquatable<WeatherDatasetContent>
- Inheritance
-
WeatherDatasetContent
- Implements
- Inherited Members
Constructors
WeatherDatasetContent(string, string, int, string?)
One entry of what a weather file holds (Contents),
for info output: a parameter of the grid set, or something the reader
left out of it.
public WeatherDatasetContent(string Name, string Level, int Steps, string? Reason)
Parameters
NamestringThe canonical id and the file's name for it (
"wave.hs (HTSGW)"), an unknown parameter's reader id ("grib2:0,0,0 (TMP)"), or what was left out (a GRIB2 field, a NetCDF variable).LevelstringThe level description, for example
"10 m above ground"; empty when the reader gives none.StepsintHow many time steps the parameter has; 0 for something left out.
ReasonstringWhy it isn't drawn or sampled, or null when it's used.
Properties
IsUsed
Whether the parameter is used: drawn where a style applies, and sampled and picked.
public bool IsUsed { get; }
Property Value
Level
The level description, for example "10 m above ground"; empty when the reader gives none.
public string Level { get; init; }
Property Value
Name
The canonical id and the file's name for it ("wave.hs (HTSGW)"),
an unknown parameter's reader id ("grib2:0,0,0 (TMP)"), or what was
left out (a GRIB2 field, a NetCDF variable).
public string Name { get; init; }
Property Value
Reason
Why it isn't drawn or sampled, or null when it's used.
public string? Reason { get; init; }
Property Value
Steps
How many time steps the parameter has; 0 for something left out.
public int Steps { get; init; }