Class WeatherDataHandler
Constructors
constructor
Returns WeatherDataHandler
Methods
StaticfetchLatest
Parameters
- apiKey: string
- maptilerSessionId: string
Returns Promise<void>
StaticgetCloudCoverData
Returns WeatherVariable | null
StaticgetDataForWeatherVariableID
Parameters
- id: string
Returns WeatherVariable | null
StaticgetFrozenPrecipitationData
Returns WeatherVariable | null
StaticgetPrecipitationData
Returns WeatherVariable | null
StaticgetPressureData
Returns WeatherVariable | null
StaticgetRadarData
Returns WeatherVariable | null
StaticgetSourcesAndTimestamps
- getSourcesAndTimestamps(
wv: WeatherVariable,
apiKey: string,
maptilerSessionId: string,
): SourceAndUnixTimestamp[]Parameters
- wv: WeatherVariable
- apiKey: string
- maptilerSessionId: string
Returns SourceAndUnixTimestamp[]
StaticgetTemperatureData
Returns WeatherVariable | null
StaticgetWindData
Returns WeatherVariable | null
StatichasData
Returns boolean
Was this helpful?