find_by_station_code


Description:

public Location? find_by_station_code (string station_code)

Retrieves the weather station identifier by station_code.

Note that multiple instances of the same weather station can exist in the database, and this function will return any of them, so this not usually what you want.

See [[email protected]] to recover a stored location.

Parameters:

this

a Location at the world level

station_code

a 4 letter METAR code

Returns:

a weather station level location for the given station code, or `NULL` if none exists in the database




2022 vala-language.org