Skip to content

Enable parsing of METARs that list wind and visibility after the sky condition groups.#149

Merged
akrherz merged 2 commits into
python-metar:masterfrom
jhaiduce:issue-147-wind-after-sky
Oct 5, 2021
Merged

Enable parsing of METARs that list wind and visibility after the sky condition groups.#149
akrherz merged 2 commits into
python-metar:masterfrom
jhaiduce:issue-147-wind-after-sky

Conversation

@jhaiduce

Copy link
Copy Markdown
Contributor

Add an extra copy of the wind and visibility, to enable parsing of METARs that list wind and visibility after the sky condition groups.

Fixes #147.

…TARs that list wind and visibility after the sky condition groups.

Fixes python-metar#147.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #149 (74dabf6) into master (2f1be43) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   87.59%   87.59%           
=======================================
  Files           4        4           
  Lines        1056     1056           
=======================================
  Hits          925      925           
  Misses        131      131           
Impacted Files Coverage Δ
metar/Metar.py 89.89% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f1be43...74dabf6. Read the comment docs.

@akrherz akrherz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a reasonable workaround, but await other's comments.

@phobson phobson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me as well.

@akrherz

akrherz commented Oct 5, 2021

Copy link
Copy Markdown
Collaborator

sorry @jhaiduce , do you mind resolving the conflicts? if not, I can do it, no worries.

@jhaiduce

jhaiduce commented Oct 5, 2021

Copy link
Copy Markdown
Contributor Author

sorry @jhaiduce , do you mind resolving the conflicts? if not, I can do it, no worries.

Done. Should be mergeable now.

@akrherz akrherz merged commit ff8bdc3 into python-metar:master Oct 5, 2021
@akrherz akrherz added this to the 1.9 milestone Dec 31, 2021
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

Successfully merging this pull request may close these issues.

Unparsed group '09008KT 7SM' when wind is listed after sky groups.

4 participants