You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: