Some time ago, I was wondering about the nice and colorful forecasting pictures on my weather station, and how to get the corresponding data downloaded.
Since I have recently installed the Weewx forecast module, I have concluded, that these pictures may be graphical interpretations of Zambretti codes, which the console may calculate itself. The Weewx forecast module also
has a build in Zambretti calculation and expresses the codes (A to Z) as narrative English text modules. I have found such text modules at two places in forecast.py
[Forecasts]
[[Labels]]
[[[Zambretti]]]
# mapping between zambretti codes and descriptive labels
...
and at
zambretti_label_dict = {
...}
Although is easy to reformat and insert the text into that of the both places at forecast.py (not sure, if I need them at both places), I would like to have the translation outside of the file, so that it survives updates. And maybe, there is some interest to use the other languages as well.
What do you think about it?