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 deserialize to recover a stored Location.

Prior to version 40 no reference was returned.

Parameters:

this

a Location at the world level

station_code

a 4 letter METAR code

Returns:

a weather station level Location for station_code, or null if none exists in the database.




2022 vala-language.org