Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API/Packets/WeatherMapRequest
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{SimTX API navigation}} {{SimTX packet | name = WeatherMapRequest | frame = ClientFrame | field = 33 | member = weather_map | direction = c2s | session = [[SimTX API/Control session|Control]] | roles = <code>ROLE_CONTROL</code>. | permission = None | reply = [[SimTX API/Packets/WeatherMapResponse|WeatherMapResponse]] | group = control | file = control.proto }} '''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. == Definition == <syntaxhighlight lang="protobuf"> message WeatherMapRequest { int64 request_id = 1; double center_latitude_deg = 2; double center_longitude_deg = 3; double latitude_span_deg = 4; double longitude_span_deg = 5; int32 width = 6; int32 height = 7; string type = 8; // weather type (string enum, common.proto) } </syntaxhighlight> == Fields == {| class="wikitable" ! # !! Field !! Type !! Description |- | 1 || <code>request_id</code> || <code>int64</code> || Nonzero; echoed in the [[SimTX API/Packets/WeatherMapResponse|WeatherMapResponse]]. |- | 2 || <code>center_latitude_deg</code> || <code>double</code> || Centre latitude, β90 to 90. |- | 3 || <code>center_longitude_deg</code> || <code>double</code> || Centre longitude, β180 to 180. |- | 4 || <code>latitude_span_deg</code> || <code>double</code> || Height of the area in degrees, greater than 0 and at most 180. |- | 5 || <code>longitude_span_deg</code> || <code>double</code> || Width of the area in degrees, greater than 0 and at most 360. |- | 6 || <code>width</code> || <code>int32</code> || Raster columns, 2 to 128. |- | 7 || <code>height</code> || <code>int32</code> || Raster rows, 2 to 64. |- | 8 || <code>type</code> || <code>string</code> || [[SimTX API/Data types#Weather type|Weather type]] to map. |} == Map types == {| class="wikitable" ! <code>type</code> !! Quantity !! Unit |- | <code>DUCT_STRENGTH</code> || Strength of the strongest tropospheric duct (drop in modified refractivity); 0 where there is none || M-units |- | <code>RAIN_RATE</code> || Rain rate || mm/h |- | <code>CLOUD_WATER</code> || Cloud liquid water content || g/mΒ³ |- | <code>SURFACE_TEMPERATURE</code> || Air temperature at the surface || Β°C |- | <code>LIGHTNING_RATE</code> || Lightning flash rate || flashes/min |} == Behaviour == Heavy request. Values outside the ranges in the field table are refused with [[SimTX API/Packets/Error|Error]] <code>INVALID_REQUEST</code>. == See also == * [[SimTX API/Packets/WeatherMapResponse|WeatherMapResponse]] {{SimTX API navbox}} [[Category:SimTX API]]
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:SimTX API navbox
(
edit
)
Template:SimTX API navigation
(
edit
)
Template:SimTX packet
(
edit
)