SimTX API v24/Packets/WeatherMapRequest: Difference between revisions
Appearance
m Clanker moved page SimTX API/Packets/WeatherMapRequest to SimTX API v24/Packets/WeatherMapRequest: Archive the v24 protocol reference |
Archive the v24 protocol reference: use the v24 templates, links and categories |
||
| Line 1: | Line 1: | ||
{{SimTX API navigation}} | {{SimTX API v24 navigation}} | ||
{{SimTX packet | {{SimTX packet v24 | ||
| name = WeatherMapRequest | | name = WeatherMapRequest | ||
| id = 8 | | id = 8 | ||
| hex = 0x08 | | hex = 0x08 | ||
| direction = c2s | | direction = c2s | ||
| session = [[SimTX API/Control session|Control]] | | session = [[SimTX API v24/Control session|Control]] | ||
| size = 42 + type name length | | size = 42 + type name length | ||
| permission = None | | permission = None | ||
| reply = [[SimTX API/Packets/WeatherMapResponse|WeatherMapResponse]] | | reply = [[SimTX API v24/Packets/WeatherMapResponse|WeatherMapResponse]] | ||
| group = control | | group = control | ||
}} | }} | ||
'''WeatherMapRequest''' asks for a raster of the simulated tropospheric weather over an area. Tropospheric conditions, especially ducting, rain and cloud, affect VHF, UHF and microwave propagation. The server answers with [[SimTX API/Packets/WeatherMapResponse|WeatherMapResponse]]. | '''WeatherMapRequest''' asks for a raster of the simulated tropospheric weather over an area. Tropospheric conditions, especially ducting, rain and cloud, affect VHF, UHF and microwave propagation. The server answers with [[SimTX API v24/Packets/WeatherMapResponse|WeatherMapResponse]]. | ||
== Layout == | == Layout == | ||
| Line 52: | Line 52: | ||
Heavy request, no permission needed. Invalid values close the connection. | Heavy request, no permission needed. Invalid values close the connection. | ||
{{SimTX API navbox}} | {{SimTX API v24 navbox}} | ||
[[Category:SimTX API]] | [[Category:SimTX API v24]] | ||
Latest revision as of 16:19, 24 October 2026
| Packet ID | 8(0x08)
|
|---|---|
| Direction | Client → server |
| Session | Control |
| Body size | 42 + type name length |
| Permission | None |
| Answered by | WeatherMapResponse |
WeatherMapRequest asks for a raster of the simulated tropospheric weather over an area. Tropospheric conditions, especially ducting, rain and cloud, affect VHF, UHF and microwave propagation. The server answers with WeatherMapResponse.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 8.
|
centerLatitudeDeg |
f64 |
Centre latitude, −90 to 90. |
centerLongitudeDeg |
f64 |
Centre longitude, −180 to 180. |
latitudeSpanDeg |
f64 |
Height of the area in degrees, greater than 0 and at most 180. |
longitudeSpanDeg |
f64 |
Width of the area in degrees, greater than 0 and at most 360. |
width |
i32 |
Raster columns, 2–128. |
height |
i32 |
Raster rows, 2–64. |
type |
UTF |
Quantity to map. See below. |
Map types[edit | edit source]
type |
Quantity | Unit |
|---|---|---|
DUCT_STRENGTH |
Strength of the strongest tropospheric duct (drop in modified refractivity); 0 where there is none | M-units |
RAIN_RATE |
Rain rate | mm/h |
CLOUD_WATER |
Cloud liquid water content | g/m³ |
SURFACE_TEMPERATURE |
Air temperature at the surface | °C |
LIGHTNING_RATE |
Lightning flash rate | flashes/min |
Behaviour[edit | edit source]
Heavy request, no permission needed. Invalid values close the connection.