Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No option 'XXX' in section: 'en' #2

Open
ckaus opened this issue Jul 14, 2017 · 0 comments
Open

No option 'XXX' in section: 'en' #2

ckaus opened this issue Jul 14, 2017 · 0 comments
Assignees
Labels

Comments

@ckaus
Copy link
Owner

ckaus commented Jul 14, 2017

Weather data descriptions can not found in language.cfg. DWD describes weather data parameters in file Metadaten_Parameter_klima_tag_xxxxx.txt,.

>>> from pydwd.crawler.dailycrawler import DailyCrawler
>>> crawler = DailyCrawler()
>>> print crawler.by_city('Berlin-Buch')
[WARNING] No option 'qn_3' in section: 'en'
No translation for value: QN_3
[WARNING] No option 'fx' in section: 'en'
No translation for value: FX
[WARNING] No option 'fm' in section: 'en'
No translation for value: FM
[WARNING] No option 'qn_4' in section: 'en'
No translation for value: QN_4
[WARNING] No option 'rsk' in section: 'en'
No translation for value: RSK
[WARNING] No option 'rskf' in section: 'en'
No translation for value: RSKF
[WARNING] No option 'sdk' in section: 'en'
No translation for value: SDK
[WARNING] No option 'shk_tag' in section: 'en'
No translation for value: SHK_TAG
[WARNING] No option 'nm' in section: 'en'
No translation for value: NM
[WARNING] No option 'vpm' in section: 'en'
No translation for value: VPM
[WARNING] No option 'pm' in section: 'en'
No translation for value: PM
[WARNING] No option 'tmk' in section: 'en'
No translation for value: TMK
[WARNING] No option 'upm' in section: 'en'
No translation for value: UPM
[WARNING] No option 'txk' in section: 'en'
No translation for value: TXK
[WARNING] No option 'tnk' in section: 'en'
No translation for value: TNK
[WARNING] No option 'tgk' in section: 'en'
No translation for value: TGK
{'observation': {'weather': {'TMK': '17.3', 'TXK': '23.1', 'NM': '-999', 'RSK': '7.3', 'QN_4': '1', 'PM': '-999', 'RSKF': '4', 'measurement_date': '2017-07-12', 'FX': '-999', 'UPM': '87.58', 'FM': '-999', 'SHK_TAG': '-999', 'VPM': '17.2', 'QN_3': '-999', 'id': '400', 'TNK': '12.7', 'SDK': '-999'}, 'station': {'from_date': u'1961-01-01', 'station_height': u'60', 'till_date': u'2017-07-12', 'latitude': u'52.6309', 'federal_state': u'Berlin', 'station_name': u'Berlin-Buch', 'id': u'00400', 'longitude': u'13.5022'}}}
>>> 
@ckaus ckaus self-assigned this Jul 14, 2017
@ckaus ckaus added the bug label Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant