Class: WeatherRadarUtils
Defined in: src/garminsdk/components/weatherradar/WeatherRadarUtils.ts:6
Provides utility functions for working with Garmin weather radars.
Constructors
Constructor
new WeatherRadarUtils():
WeatherRadarUtils
Returns
WeatherRadarUtils
Methods
dbzToPrecipRate()
staticdbzToPrecipRate(dbz):number
Defined in: src/garminsdk/components/weatherradar/WeatherRadarUtils.ts:54
Converts a radar return signal strength in dBZ to an approximate precipitation rate in millimeters per hour.
Parameters
| Parameter | Type | Description |
|---|---|---|
dbz | number | A radar return signal strength in dBZ. |
Returns
number
The precipitation rate, in millimeters per hour, that is approximately correlated with the specified radar return signal strength.
extendedColors()
staticextendedColors(): readonly readonly [number,number][]
Defined in: src/garminsdk/components/weatherradar/WeatherRadarUtils.ts:92
Gets the calibrated (zero-gain) extended Garmin 16-color weather radar color array.
Returns
readonly readonly [number, number][]
The calibrated (zero-gain) extended Garmin 16-color weather radar color array.
standardColors()
staticstandardColors(): readonly readonly [number,number][]
Defined in: src/garminsdk/components/weatherradar/WeatherRadarUtils.ts:84
Gets the calibrated (zero-gain) standard Garmin three-color weather radar color array.
Returns
readonly readonly [number, number][]
The calibrated (zero-gain) standard Garmin three-color weather radar color array.