Class PressureIsobarStyle
Mean sea level pressure (pressure.msl) as isobars every
IntervalHectopascals hPa, labelled in hectopascals (e.g.
1012). On by default (wherever the data has pressure).
public sealed class PressureIsobarStyle : WeatherCoverageStyle, ICoverageStyle
- Inheritance
-
PressureIsobarStyle
- Implements
- Inherited Members
Remarks
The isobars are value-based ContourStyles (Contours) in the field's stored unit, pascals, from LowestHectopascals to HighestHectopascals hPa, beyond the recorded extremes; only the levels a grid's values reach are traced. WeatherPortrayal traces them with marching squares through the sampled grid (CoverageContours) into an IsolineCoverageSubLayer, which both renderers draw as solid lines of constant pixel width with labels along them.
Layer order (design note weather-sources.md §5): S-98 OtherChartOverlays at priority IsolinePriority (90), under the observations. Pressure is drawn over land as well as sea, so the lines aren't clipped to water.
Constructors
PressureIsobarStyle()
Creates the style, with the Day palette active.
public PressureIsobarStyle()
Fields
HighestHectopascals
The highest isobar: 1100 hPa, over any recorded sea level pressure.
public const int HighestHectopascals = 1100
Field Value
IntervalHectopascals
The isobar interval: 4 hPa.
public const int IntervalHectopascals = 4
Field Value
Key
The sub-layer key, "weather.pressure.isobars".
public const string Key = "weather.pressure.isobars"
Field Value
LineWidth
The line width, in device-independent pixels.
public const float LineWidth = 1.2
Field Value
LowestHectopascals
The lowest isobar: 860 hPa, under any recorded sea level pressure.
public const int LowestHectopascals = 860
Field Value
Properties
Contours
One solid, labelled contour per LevelsPascals level, in pascals, in the active palette's IsobarInkToken.
public override IReadOnlyList<ContourStyle> Contours { get; }
Property Value
LevelsPascals
The isobar levels in pascals, lowest first: 86000, 86400, … 110000.
public static IReadOnlyList<double> LevelsPascals { get; }
Property Value
Methods
FormatContourLabel(ContourStyle)
The label of an isobar: its pressure in whole hectopascals, e.g. "1012".
public override string FormatContourLabel(ContourStyle contour)
Parameters
contourContourStyleAn isobar, valued in pascals.