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 sky conditions? #1

Open
mbruski opened this issue Feb 27, 2021 · 0 comments
Open

No sky conditions? #1

mbruski opened this issue Feb 27, 2021 · 0 comments

Comments

@mbruski
Copy link

mbruski commented Feb 27, 2021

I'm running this for the first time for ICAO=KBWI but not seeing the ceiling or cloud info reflected in the dictionary despite being sent in the response from aviationweather.gov. Here is my results:

server:~/projects/adds_metar $ python3 adds_metar.py kbwi
XML:

<request_index>31029815</request_index>
<data_source name="metars" />



<time_taken_ms>5</time_taken_ms>


<raw_text>KBWI 272254Z 22004KT 10SM FEW090 SCT150 BKN250 11/06 A3014 RMK AO2 SLP208 T01110056</raw_text>
<station_id>KBWI</station_id>
<observation_time>2021-02-27T22:54:00Z</observation_time>
39.17
-76.68
<temp_c>11.1</temp_c>
<dewpoint_c>5.6</dewpoint_c>
<wind_dir_degrees>220</wind_dir_degrees>
<wind_speed_kt>4</wind_speed_kt>
<visibility_statute_mi>10.0</visibility_statute_mi>
<altim_in_hg>30.138779</altim_in_hg>
<sea_level_pressure_mb>1020.8</sea_level_pressure_mb>
<quality_control_flags>
<auto_station>TRUE</auto_station>
</quality_control_flags>
<sky_condition sky_cover="FEW" cloud_base_ft_agl="9000" />
<sky_condition sky_cover="SCT" cloud_base_ft_agl="15000" />
<sky_condition sky_cover="BKN" cloud_base_ft_agl="25000" />
<flight_category>VFR</flight_category>
<metar_type>SPECI</metar_type>
<elevation_m>42.0</elevation_m>


{'altim_in_hg': '30.138779',
'dewpoint_c': '5.6',
'dewpoint_f': 42.1,
'elevation_m': '42.0',
'flight_category': 'VFR',
'latitude': '39.17',
'longitude': '-76.68',
'metar_type': 'SPECI',
'observation_time': '2021-02-27T22:54:00Z',
'quality_control_flags': '\n ',
'raw_text': 'KBWI 272254Z 22004KT 10SM FEW090 SCT150 BKN250 11/06 A3014 RMK '
'AO2 SLP208 T01110056',
'sea_level_pressure_kpa': 102.08,
'sea_level_pressure_mb': '1020.8',
'sky_condition': None,
'station_id': 'KBWI',
'temp_c': '11.1',
'temp_f': 52.0,
'visibility_statute_mi': '10.0',
'wind_dir_compass': 'SW',
'wind_dir_degrees': '220',
'wind_speed_kt': '4',
'wind_speed_mph': 4.6}

Raw: SPECI KBWI 272254Z 22004KT 10SM FEW090 SCT150 BKN250 11/06 A3014 RMK AO2 SLP208 T01110056

Date & Time: 2021-02-27T22:54:00Z
Temperature: 11.1 C 52.0 F
Dew Point: 5.6 C 42.1 F
Wind Speed: 4 KT
Wind Direction: SW ( 220 )
Sea Level Pressure: 1020.8 mb
Sea Level Pressure: 102.08 kPa
Altimeter: 30.138779 inHg
Visibility: 10.0 SM

Flight Conditions: VFR

server:~/projects/adds_metar $

Any idea why that might be?

Also, can you give me a command line example of how to retrieve multiple ICAOs at one time? I tried a space separated list (quoted and unquoted) and colon/comma separate lists but I get zero results for any of them. The command terminates and returns to the command prompt.

Mike

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