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

fixes bug in issue 1758 #1876

Merged
merged 1 commit into from May 28, 2021
Merged

fixes bug in issue 1758 #1876

merged 1 commit into from May 28, 2021

Conversation

kgoebber
Copy link
Collaborator

Description Of Changes

This PR is set to address issue #1758 where we do already distribute the weather codes via the metar_parse_file function. This issue is a bug that resides between the documentation, which states a different name, and the variable name generated in the function. This PR chooses to go with the naming convention of the documentation, which is more appropriate for what the those values actually are. In METAR, there is not a present and past configuration to the weather being reported. It is all current wx as there can be multiple phenomenon happening at one time.

There would still need to be some work on the documentation end for how the notes of the function display on the MetPy webpage. The current format is nearly unreadable.

https://unidata.github.io/MetPy/latest/api/generated/metpy.io.parse_metar_file.html#metpy.io.parse_metar_file

Checklist

Copy link
Member

@dcamron dcamron left a comment

Choose a reason for hiding this comment

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

Looks good to me! Could you open an issue about the usability of the METAR docs as you've discussed here or with any further thoughts you have so we can get that tackled too?

@kgoebber
Copy link
Collaborator Author

Will do.

@dcamron dcamron merged commit 23227e5 into Unidata:main May 28, 2021
@github-actions github-actions bot added this to the 1.1.0 milestone May 28, 2021
23ccozad added a commit to 23ccozad/MetPy that referenced this pull request Jun 11, 2021
Updates parse_metar_to_dataframe() to return a dataframe with columns named current_wx1_symbol, current_wx2_symbol, and current_wx3_symbol, instead of current_weather, past_weather, and past_weather2
23ccozad added a commit to 23ccozad/MetPy that referenced this pull request Jun 17, 2021
Updates parse_metar_to_dataframe() to return a dataframe with columns named current_wx1_symbol, current_wx2_symbol, and current_wx3_symbol, instead of current_weather, past_weather, and past_weather2
23ccozad added a commit to 23ccozad/MetPy that referenced this pull request Jun 17, 2021
Updates parse_metar_to_dataframe() to return a dataframe with columns named current_wx1_symbol, current_wx2_symbol, and current_wx3_symbol, instead of current_weather, past_weather, and past_weather2
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.

METAR wx codes
2 participants