GWeatherLocation* gweather_location_find_by_station_code ( GWeatherLocation* world, const char* station_code )
Retrieves the weather station identifier by
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.
gweather_location_deserialize() to recover a stored location.
A 4 letter METAR code.
|The data is owned by the caller of the function.|
|The value is a NUL terminated UTF-8 string.|
A weather station level location
for the given station code, or
|The caller of the method takes ownership of the data, and is responsible for freeing it.|
|The return value can be |