jdemaeyer / brightsky

JSON API for DWD's open weather data.
https://brightsky.dev/
MIT License
287 stars 18 forks source link

Read MOSMIX/SYNOP station names from Stationslexikon #147

Open muskalowski opened 1 year ago

muskalowski commented 1 year ago

i.e. JSON response for station "dwd_station_id": "00379" "station_name": "BERKA, BAD (FLUGPLAT"

jdemaeyer commented 1 year ago

Hi @muskalowski, thanks for reaching out!

These truncated station names are "correct" in the sense that they match what we find in the raw MOSMIX data:

image

However, there is a case to be made that we should try to translate the WMO station ID (M439) to the station name using the DWD Stationslexikon first, before resorting to the kml:description field in the MOSMIX data. In this particular case, and probably similarly in many more cases, that would give us the arguably "more correct" station name Berka, Bad (Flugplatz).

I'll try to find some time for exploring this.

muskalowski commented 1 year ago

please not this effort ;-) i thought it was an error in the translation of the MOSMIX data