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

Peak Wind Values from METAR #2446

Open
dopplershift opened this issue Apr 19, 2022 Discussed in #2445 · 0 comments
Open

Peak Wind Values from METAR #2446

dopplershift opened this issue Apr 19, 2022 Discussed in #2445 · 0 comments
Labels
Area: IO Pertains to reading data Type: Enhancement Enhancement to existing functionality

Comments

@dopplershift
Copy link
Member

Discussed in #2445

Originally posted by wxbinge April 19, 2022
Hello,

I wondered if there is a way to get the peak wind information from METAR files using MetPy?

I was looking at the current metar.py script in the io directory, and these are the variables I see that can be parsed:

Configure the named tuple used for storing METAR data
Metar = namedtuple('metar', ['station_id', 'latitude', 'longitude', 'elevation', 'date_time',
'wind_direction', 'wind_speed', 'wind_gust', 'visibility',
'current_wx1', 'current_wx2', 'current_wx3', 'skyc1', 'skylev1',
'skyc2', 'skylev2', 'skyc3', 'skylev3', 'skyc4', 'skylev4',
'cloudcover', 'temperature', 'dewpoint', 'altimeter',
'current_wx1_symbol', 'current_wx2_symbol', 'current_wx3_symbol',
'remarks'])

However, some stations report peak wind, and I would like to get that information.

KPAE 190249Z 20014G22KT 10SM OVC014 06/03 A2962 RMK AO2 PK WND 22029/0233 RAE04 P0000

Is there a way to do that with MetPy? I am using version 1.2.

@dopplershift dopplershift added Type: Enhancement Enhancement to existing functionality Area: IO Pertains to reading data labels Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: IO Pertains to reading data Type: Enhancement Enhancement to existing functionality
Projects
Status: No status
Development

No branches or pull requests

1 participant