it's not clear that every openWeatherMap code is mapped. If it so, se should fail hard in non visited branch:
```js
throw new Error("unknown weatherId: " + weatherId);
```