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

Error parsing METAR #53

Open
esloch opened this issue Jul 2, 2020 · 0 comments
Open

Error parsing METAR #53

esloch opened this issue Jul 2, 2020 · 0 comments
Assignees

Comments

@esloch
Copy link
Collaborator

esloch commented Jul 2, 2020

Objetivos / Objectivos / Purpose

Geral / General

  • Criar filtro para limpar informações complementares em raw_metar.
  • Verificar os dados parseados.

Justificativa / Justification

*Traceback:

Error parsing METAR: 2020-07-01 17:00:00 - METAR SBLB 011700Z AUTO 35027KT 9999 NCD 24/21 Q1008 W23/S4
capture_celery-worker_1  | Traceback (most recent call last):
capture_celery-worker_1  |   File "/AlertaDengueCaptura/crawlclima/redemet/rmet.py", line 66, in parse_page
capture_celery-worker_1  |     m = Metar(raw_metar)
capture_celery-worker_1  |   File "/opt/conda/lib/python3.7/site-packages/metar/Metar.py", line 417, in __init__
capture_celery-worker_1  |     raise ParserError("Unparsed groups in body: "+code)
capture_celery-worker_1  | metar.Metar.ParserError: Unparsed groups in body: W23/S4
capture_celery-worker_1  | [2020-07-02 17:22:23,417: ERROR/ForkPoolWorker-2] crawlclima.tasks.fetch_redemet[16cc094d-8cb9-40cd-9314-04232efe3759]: Error parsing METAR: 2020-07-01 18:00:00 - METAR SBLB 011800Z AUTO 35027KT 9999 NCD 24/21 Q1008 W23/S4
capture_celery-worker_1  | [2020-07-03 18:52:07,040: ERROR/ForkPoolWorker-3] crawlclima.tasks.fetch_redemet[84e77c25-c212-4f8c-9c22-4247b084dfa2]: Error parsing METAR: 2020-06-23 23:00:00 - METAR SBPV 240000Z 00000KT 9999 FEW025 25/21Q1008
capture_celery-worker_1  | Traceback (most recent call last):
capture_celery-worker_1  |   File "/AlertaDengueCaptura/crawlclima/redemet/rmet.py", line 66, in parse_page
capture_celery-worker_1  |     m = Metar(raw_metar)
capture_celery-worker_1  |   File "/opt/conda/lib/python3.7/site-packages/metar/Metar.py", line 417, in __init__
capture_celery-worker_1  |     raise ParserError("Unparsed groups in body: "+code)
capture_celery-worker_1  | metar.Metar.ParserError: Unparsed groups in body: 25/21Q1008
capture_celery-worker_1  | [2020-07-02 19:16:05,431: ERROR/ForkPoolWorker-6] crawlclima.tasks.fetch_redemet[2594eacf-c418-48e6-82d8-22886220c290]: Error parsing METAR: 2020-07-01 14:00:00 - METAR SBLB 011400Z AUTO -3632KT 9999 NCD 24/21 Q1010
capture_celery-worker_1  | Traceback (most recent call last):
capture_celery-worker_1  |   File "/AlertaDengueCaptura/crawlclima/redemet/rmet.py", line 66, in parse_page
capture_celery-worker_1  |     m = Metar(raw_metar)
capture_celery-worker_1  |   File "/opt/conda/lib/python3.7/site-packages/metar/Metar.py", line 417, in init
capture_celery-worker_1  |     raise ParserError("Unparsed groups in body: "+code)
capture_celery-worker_1  | metar.Metar.ParserError: Unparsed groups in body: -3632KT
@esloch esloch self-assigned this Jul 2, 2020
@esloch esloch mentioned this issue Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant