Weather trend display method and system
By processing and displaying METAR and TAF messages, building future weather trend forecasts and visually displaying them, the problem of interpreting and displaying advanced weather data in the existing technology is solved, and accurate information provision for pilots and aviation dispatchers is achieved, and work efficiency and flight safety are improved.
Patent Information
- Application Number
- CN202411798728.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-07
AI Technical Summary
The prior art is difficult to effectively interpret and display high-order data in METAR and TAF messages, especially when the update frequency is high and the unit is inconsistent, making it difficult for pilots and aviation dispatchers to obtain accurate future weather trend information.
A weather trend display method is proposed. By receiving weather trend query requests containing airport location information, METAR and TAF messages are obtained and processed, future weather trend forecast tables are constructed, and visualized displays are performed. The method includes data unit conversion, time zone conversion, data supplement and visualization processing to ensure data accuracy and consistency.
It realizes the automated processing and display of METAR and TAF messages, provides accurate and intuitive future weather trend information, and improves the work efficiency and flight safety of pilots and aviation dispatchers.
Smart Images

Figure CN119577214A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of meteorological information technology, and in particular to a weather trend display method and system thereof. Background Art
[0002] METAR stands for Meteorological Terminal Aviation Routine Weather Report, and TAF stands for Terminal Aerodrome Forecasts. Both are weather reports issued by airport meteorological stations, which are used to provide real-time weather data (METAR) and future weather data (TAF) to relevant personnel in the civil aviation system. The characteristics of these airport weather message data are that, compared with the regional weather forecast data obtained by ordinary weather forecasts, airport weather message data is more targeted to the airport area, more accurate, and has some high-level data such as cloud layer height, dew point, wind direction, air pressure, etc. that are more valuable to civil aviation traffic.
[0003] There are already common interpretation and translation systems for these messages, but the translated information is difficult to read. The content of the message itself is highly professional and requires a certain amount of understanding. Especially for METAR messages that are updated frequently, more before-and-after comparisons and comparisons with TAF are required to determine the overall trend. On the other hand, due to the lack of unified international standards in MATAR and TAF, there are also many inconsistent units and missing fields. Summary of the invention
[0004] In order to solve the technical problems existing in the background technology, the present invention proposes a weather trend display method and system thereof.
[0005] A weather trend display method proposed by the present invention comprises:
[0006] receiving a weather trend query request including airport location information, the airport location information including an airport code and a time zone where the airport is located;
[0007] Based on the airport location information, obtain all archived METAR messages corresponding to the release time within N hours before the current time and obtain a TAF message that meets the preset requirements;
[0008] Processing the archived METAR message and the TAF message to construct a corresponding future weather trend forecast table, wherein the future weather trend forecast table includes but is not limited to weather, wind speed, visibility, temperature, cloud layer, and time period;
[0009] The future weather trend forecast table is visually displayed.
[0010] Preferably, the said all archived METAR messages are specifically METAR messages in which data units are converted into the metric system and message time zones are converted into the time zone of the airport.
[0011] Preferably, the archived METAR message conversion process specifically includes:
[0012] Obtain all METAR messages corresponding to the previous time within N hours, and parse all METAR messages to obtain corresponding first-type METAR messages;
[0013] Performing data integrity processing on the first type METAR message to obtain a second type METAR message;
[0014] The second type METAR message is converted into a unit system and archived to obtain an archived METAR message.
[0015] Preferably, the performing data integrity processing on the first type METAR message to obtain the second type METAR message specifically includes:
[0016] When there is missing cloud information or missing temperature data or missing weather data in the first type METAR message, the data is supplemented according to a preset strategy to obtain a second type METAR message.
[0017] Preferably, the second type METAR message includes but is not limited to release time, airport code, weather, wind direction and speed, visibility, temperature, cloud layers by altitude, dew point, and air pressure.
[0018] Preferably, the process of obtaining a TAF message that meets the preset requirements specifically includes:
[0019] Query a TAF message whose airport release time is closest to the current time, and obtain the current validity period corresponding to the TAF message;
[0020] When the expiration time of the current validity period is later than the current time, retaining the TAF message;
[0021] When the expiration time of the current validity period is earlier than the current time, discarding the TAF message;
[0022] And use the latest TAF message other than the TAF message mentioned above to repeat the above-mentioned judgment process of the expiration time of the current validity period and the current time until a TAF message that meets the preset requirements is found.
[0023] Preferably, the future weather trend forecast table is configured with a one-to-one mapping relationship between multiple time periods, multiple weathers, multiple wind speeds, multiple visibility levels, multiple temperatures, and multiple cloud layers.
[0024] A weather trend display system proposed by the present invention comprises:
[0025] A data receiving module, used to receive a weather trend query request including airport location information, where the airport location information includes an airport code and a time zone where the airport is located;
[0026] A data acquisition module is used to acquire all archived METAR messages corresponding to the release time within N hours before the current time based on the airport location information and to acquire a TAF message that meets the preset requirements;
[0027] A data processing module, used for processing the archived METAR message and the TAF message to construct a corresponding future weather trend forecast table, wherein the future weather trend forecast table includes but is not limited to weather, wind speed, visibility, temperature, cloud layer and time period;
[0028] The data display module is used to visually display the future weather trend forecast table.
[0029] In the present invention, the proposed weather trend display method and system receive a weather trend query request containing airport location information, the airport location information includes the airport code and the time zone where the airport is located; based on the airport location information, all archived METAR messages corresponding to the release time within N hours before the current time are obtained, and a TAF message that meets the preset requirements is obtained; the archived METAR messages and the TAF messages are data processed to construct a corresponding future weather trend forecast table, the future weather trend forecast table includes but is not limited to weather, wind speed, visibility, temperature, cloud layer and time period; the future weather trend forecast table is visually displayed. By automatically acquiring, processing and displaying METAR messages and TAF messages, accurate and intuitive future weather trend information can be provided to pilots and aviation dispatchers, thereby improving work efficiency and flight safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the work flow structure of a weather trend display method proposed by the present invention;
[0031] Figure 2 A schematic diagram of the system architecture of a weather trend display system proposed in the present invention. DETAILED DESCRIPTION
[0032] Reference Figure 1The present invention proposes a weather trend display method, comprising the following steps:
[0033] S1. Receive a weather trend query request including airport location information, where the airport location information includes the airport code and the time zone where the airport is located.
[0034] S2. Based on the airport location information, all archived METAR messages corresponding to the publishing time within N hours before the current time are obtained, and a TAF message that meets the preset requirements is obtained.
[0035] In this embodiment, the key information that needs to be extracted from the METAR message is: release time, airport code, weather, wind direction and speed, visibility, temperature, cloud layer by height, dew point, and air pressure. The key information required for the TAF message is: release time, airport code, validity period, weather, wind direction and speed, visibility, temperature, cloud layer by height, dew point, and air pressure. The message does not always include all of the above fields. For the METAR message, the two parameters of release time and airport code must be included, and for the TAF message, the three parameters of release time, airport code, and validity period must be included.
[0036] In this embodiment, when the weather trend of the corresponding airport needs to be displayed, it is first necessary to obtain all METAR messages of the airport with a publishing time of 8 hours before the current time through the airport code and the time zone where the airport is located.
[0037] In this embodiment, all archived METAR messages are specifically METAR messages in which data units are converted into the metric system and message time zones are converted into the time zone of the airport.
[0038] In this embodiment, the METAR message conversion process after archiving specifically includes: obtaining all METAR messages corresponding to the N hours before the previous time, and parsing all METAR messages to obtain corresponding first-type METAR messages; performing data integrity processing on the first-type METAR messages to obtain second-type METAR messages; performing unit base conversion on the second-type METAR messages and archiving them to obtain archived METAR messages.
[0039] In this embodiment, due to the incomplete unification of international standards, there are both metric and imperial data for temperature, wind speed, visibility, and cloud height, which need to be uniformly converted to metric for subsequent processing. Due to the message specification, the message time zone uses the Universal Coordinated Time (UTC+0), which needs to be converted to the time zone of the airport. In order to better analyze the subsequent trends, all message information needs to be classified and stored according to the airport and message category dimensions.
[0040] In this embodiment, the first type METAR message is processed for data integrity to obtain a second type METAR message, specifically including: when there is missing cloud information or missing temperature data or missing weather data in the first type METAR message, the data is supplemented according to a preset strategy to obtain a second type METAR message.
[0041] Specifically, the second type METAR message includes but is not limited to release time, airport code, weather, wind direction and speed, visibility, temperature, cloud layers by altitude, dew point, and air pressure.
[0042] It should be noted that in order to save transmission fields, METAR messages and TAF messages often omit cloud height information when it is not important. For example, when visibility is high and there are no clouds, no altitude-based cloud layer information is provided.
[0043] For this purpose, the visibility data needs to be judged. If it is higher than the set value, the cloud layer data can be directly supplemented as cloudless. If it is lower than the set value, the data cannot be automatically supplemented.
[0044] In this embodiment, the preset strategy specifically includes:
[0045] When there is missing cloud information in the first type METAR message or TAF message, the visibility data is judged. When the visibility data is higher than the set value, the altitude-based cloud data can be directly supplemented as cloudless.
[0046] When the temperature data in the first type METAR message or TAF message is missing, other short-term meteorological data is directly used to supplement it and obtained through other existing weather data interfaces;
[0047] When the weather data in the first type METAR message or TAF message is missing, it is processed as the weather data in the latest METAR message.
[0048] This also includes missing data on air pressure and dew point, which will not be supplemented.
[0049] In this embodiment, the process of obtaining a TAF message that meets the preset requirements specifically includes: querying a TAF message whose airport release time is closest to the current time, and obtaining the current validity period corresponding to the TAF message; when the expiration time of the current validity period is later than the current time, retaining the TAF message; when the expiration time of the current validity period is earlier than the current time, discarding the TAF message; and using the latest TAF message other than this TAF message, repeating the above-mentioned judgment process of the expiration time of the current validity period and the current time, until a TAF message that meets the preset requirements is found.
[0050] It should be noted that if there is no TAF message that meets the requirements within the last 24 hours, the corresponding information of the TAF message will not be displayed.
[0051] S3. Process the archived METAR messages and TAF messages to construct a corresponding future weather trend forecast table, which includes but is not limited to weather, wind speed, visibility, temperature, cloud layer, and time period.
[0052] In this embodiment, the future weather trend forecast table is configured with a one-to-one mapping relationship between multiple time periods, multiple weathers, multiple wind speeds, multiple visibility levels, multiple temperatures, and multiple cloud layers.
[0053] S4. Visualize the future weather trend forecast table.
[0054] In this embodiment, the data is visualized, mainly by processing the data in an image format according to time, displaying the weather trend forecast, and displaying it according to user permissions.
[0055] Reference Figure 2 The present invention provides a weather trend display system, comprising:
[0056] A data receiving module, used to receive a weather trend query request including airport location information, where the airport location information includes an airport code and a time zone where the airport is located;
[0057] A data acquisition module is used to acquire all archived METAR messages corresponding to the release time within N hours before the current time based on the airport location information and to acquire a TAF message that meets the preset requirements;
[0058] A data processing module is used to process the archived METAR messages and TAF messages to construct a corresponding future weather trend forecast table, which includes but is not limited to weather, wind speed, visibility, temperature, cloud layer and time period;
[0059] The data display module is used to visualize the future weather trend forecast table.
[0060] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A weather trend display method, characterized in that: include: receiving a weather trend query request including airport location information, the airport location information including an airport code and a time zone where the airport is located; Based on the airport location information, obtain all archived METAR messages corresponding to the release time within N hours before the current time and obtain a TAF message that meets the preset requirements; Processing the archived METAR message and the TAF message to construct a corresponding future weather trend forecast table, wherein the future weather trend forecast table includes but is not limited to weather, wind speed, visibility, temperature, cloud layer, and time period; The future weather trend forecast table is visually displayed.
2. The weather trend display method according to claim 1, characterized in that: The said all archived METAR messages are specifically METAR messages in which data units are converted into the metric system and message time zones are converted into the time zone of the airport.
3. The weather trend display method according to claim 2, characterized in that: The archived METAR message conversion process specifically includes: Obtain all METAR messages corresponding to the previous time within N hours, and parse all METAR messages to obtain corresponding first-type METAR messages; Performing data integrity processing on the first type METAR message to obtain a second type METAR message; The second type METAR message is converted into a unit system and archived to obtain an archived METAR message.
4. The weather trend display method according to claim 3, characterized in that: The performing data integrity processing on the first type METAR message to obtain the second type METAR message specifically includes: When there is missing cloud information or missing temperature data or missing weather data in the first type METAR message, the data is supplemented according to a preset strategy to obtain a second type METAR message.
5. The weather trend display method according to claim 4, characterized in that: The second type of METAR message includes but is not limited to release time, airport code, weather, wind direction and speed, visibility, temperature, cloud layers by altitude, dew point, and air pressure.
6. The weather trend display method according to claim 1, characterized in that: The process of obtaining a TAF message that meets the preset requirements specifically includes: Query a TAF message whose airport release time is closest to the current time, and obtain the current validity period corresponding to the TAF message; When the expiration time of the current validity period is later than the current time, retaining the TAF message; When the expiration time of the current validity period is earlier than the current time, discarding the TAF message; And use the latest TAF message other than the TAF message mentioned above to repeat the above-mentioned judgment process of the expiration time of the current validity period and the current time until a TAF message that meets the preset requirements is found.
7. The weather trend display method according to claim 1, characterized in that: The future weather trend forecast table is configured with a one-to-one mapping relationship between multiple time periods, multiple weathers, multiple wind speeds, multiple visibility levels, multiple temperatures, and multiple cloud layers.
8. A weather trend display system, characterized in that: include: A data receiving module, used to receive a weather trend query request including airport location information, where the airport location information includes an airport code and a time zone where the airport is located; A data acquisition module is used to acquire all archived METAR messages corresponding to the release time within N hours before the current time based on the airport location information and to acquire a TAF message that meets the preset requirements; A data processing module, used for processing the archived METAR message and the TAF message to construct a corresponding future weather trend forecast table, wherein the future weather trend forecast table includes but is not limited to weather, wind speed, visibility, temperature, cloud layer and time period; The data display module is used to visually display the future weather trend forecast table.