async_radiosonde_client
Async client for KMA Upper-Air Observations (Radiosonde) API.
This module provides access to upper-air meteorological observations from radiosondes, including temperature, humidity, wind data at various altitude levels.
AsyncRadiosondeClient
¶
Async client for accessing KMA Upper-Air (Radiosonde) observation data.
Provides access to atmospheric profiles including: - Temperature and dew point at altitude - Wind direction and speed at various levels - Pressure levels and heights - Atmospheric stability indices
Source code in python/src/kma_mcp/upper_air/async_radiosonde_client.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
close()
async
¶
get_maximum_altitude_data(tm1, tm2, stn=0)
async
¶
Get maximum altitude reached during radiosonde ascent.
Parameters:
-
tm1(str | datetime) –Start date in 'YYYYMMDD' format or datetime object
-
tm2(str | datetime) –End date in 'YYYYMMDD' format or datetime object
-
stn(int | str, default:0) –Station number (0 for all stations, default: 0)
Returns:
Example
async with AsyncRadiosondeClient('your_api_key') ... data = await client.get_maximum_altitude_data('20250101', '20250131')
Source code in python/src/kma_mcp/upper_air/async_radiosonde_client.py
get_stability_indices(tm1, tm2, stn=0)
async
¶
Get atmospheric stability analysis data.
Provides derived indices for convective forecasting including CAPE, K-index, lifted index, and cloud layer information.
Parameters:
-
tm1(str | datetime) –Start UTC time in 'YYYYMMDDHHmm' format or datetime object
-
tm2(str | datetime) –End UTC time in 'YYYYMMDDHHmm' format or datetime object
-
stn(int | str, default:0) –Station number (0 for all stations, default: 0)
Returns:
Example
async with AsyncRadiosondeClient('your_api_key') ... data = await client.get_stability_indices('202501010000', '202501020000')
Source code in python/src/kma_mcp/upper_air/async_radiosonde_client.py
get_upper_air_data(tm, stn=0, pa=None)
async
¶
Get upper-air (TEMP) radiosonde data.
Parameters:
-
tm(str | datetime) –UTC observation time in 'YYYYMMDDHHmm' format or datetime object
-
stn(int | str, default:0) –Station number (0 for all stations, default: 0)
-
pa(float | None, default:None) –Pressure level in hPa (optional, e.g., 850, 500, 250)
Returns:
Example
async with AsyncRadiosondeClient('your_api_key') ... data = await client.get_upper_air_data('202501010000', stn=47122, pa=850)