forked from cojacoo/RUINSapp
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Milestone
Description
Obtaining the station names from the weather data
weather = dataManager['weather'].read()
statios = list(weather.keys())results in the following list of station names:
'Norderney', 'Emden', 'Bremerhaven', 'Cuxhaven', 'Elpers', 'Ording', 'Soltau', 'Diepholz', 'Lüchow', 'Braunschweig', 'Alfeld', 'Lingen', 'Bremervörde', 'krummhoern', 'coast', 'niedersachsen', 'inland'.
In the text in station selectboxes, e.g.:
RUINSapp/ruins/apps/weather.py
Line 157 in acf5830
| stat1 = st.selectbox('Select station/group (see map in sidebar for location):', statios) |
'krummhoern', 'coast', 'niedersachsen', 'inland' should be capatilized, 'oe' should be replaced by 'ö' and it would be helpful to add something like 'Krummhörn (region)' to make clear which selections are regions.
This could be achieved with a dictionary for label names of the stations.
Reactions are currently unavailable