Method and System for Drawing Vertical Profile Map Based on Radar 3D Puzzle
Through the vertical profile drawing method based on radar three-dimensional puzzle, radar data is acquired and extracted, and the problem that the existing technology cannot generate vertical profile drawings for any user needs is solved, and flexible strong convective weather monitoring and analysis are realized.
Patent Information
- Application Number
- CN202410677802.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2044-05-29
AI Technical Summary
The prior art is unable to generate vertical profiles of radar reflectivity factors for any user needs, limiting the flexibility of monitoring and analysis of strong convective weather.
The vertical profile drawing method based on radar three-dimensional puzzle is used to obtain the coordinates of all data points on the profile baseline, traverse the radar three-dimensional puzzle file to extract radar data, and generate a two-dimensional array, and finally draw any vertical profile diagram.
The vertical profile diagram of any radar reflectivity factor is drawn to meet the business needs of users and improve the flexibility of strong convective weather monitoring and analysis.
Smart Images

Figure CN118674820B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of radar imaging technology specifically applicable to specific applications, and particularly to a method and system for drawing a vertical profile based on radar three-dimensional mosaics. Background Art
[0002] Different precipitation clouds have different characteristics in the three-dimensional structure of weather radar reflectivity factors, and these characteristics can be clearly shown in the vertical profile of the radar reflectivity factor. Therefore, the vertical profile of the radar reflectivity factor is a very frequently used and effective tool in monitoring and analyzing severe convective weather, differentiating between stratiform and convective cloud precipitation, etc. Currently, corresponding meteorological service platforms will provide vertical profiles within some specific ranges. However, it is impossible to generate corresponding vertical profiles according to the needs of any user. Summary of the Invention
[0003] Aiming at the deficiencies of the existing technology, the present invention proposes a method and system for drawing a vertical profile based on radar three-dimensional mosaics, which can realize the drawing of any vertical profile image to meet the needs of any user. The specific technical solutions are as follows:
[0004] In the first aspect, a method for drawing a vertical profile based on radar three-dimensional mosaics is provided. In the first implementable manner of the first aspect, it includes:
[0005] Obtain the coordinates corresponding to all data points on the profile baseline;
[0006] Traverse the data of each layer of the radar three-dimensional mosaic file according to the corresponding coordinates, extract the radar data corresponding to each layer of the data points, and generate a corresponding two-dimensional array;
[0007] Draw the vertical profile based on the two-dimensional arrays corresponding to all data points.
[0008] Combined with the first implementable manner of the first aspect, in the second implementable manner of the first aspect, obtaining the coordinates corresponding to all data points on the profile baseline includes:
[0009] Obtain the starting coordinate and ending coordinate of the profile baseline;
[0010] Determine the straight-line equation corresponding to the profile baseline according to the starting coordinate and the ending coordinate;
[0011] Taking the pixel size of the radar three-dimensional mosaic as the step size, determine the coordinates of all data points on the profile baseline through the straight-line equation.
[0012] Combined with the second implementable manner of the first aspect, in the third implementable manner of the first aspect, obtaining the starting coordinate and ending coordinate of the profile baseline includes:
[0013] Obtain the starting longitude and latitude and the ending longitude and latitude of the profile baseline, as well as the starting longitude and latitude values, the midpoint longitude and latitude values, and the number of pixels in the longitude and latitude directions of the radar 3D mosaic;
[0014] According to the starting longitude and latitude values, the midpoint longitude and latitude values, and the number of pixels in the longitude and latitude directions of the radar 3D mosaic, calculate the number of pixels corresponding to each longitude and latitude in the radar 3D mosaic respectively;
[0015] Calculate the starting coordinates and ending coordinates of the profile baseline respectively through the starting longitude and latitude values of the radar 3D mosaic, the number of pixels corresponding to the longitude and latitude, and the starting longitude and latitude and the ending longitude and latitude of the profile baseline.
[0016] Combined with the second implementable manner of the first aspect, in the fourth implementable manner of the first aspect, determine the coordinates of all data points on the profile baseline through the straight-line equation, including:
[0017] When the slope of the straight-line equation is less than or equal to 1, taking the abscissa as a variable, calculate the ordinate of each data point on the profile baseline through the straight-line equation;
[0018] When the slope of the straight-line equation is greater than 1, taking the ordinate as a variable, calculate the abscissa of each data point on the profile baseline through the straight-line equation.
[0019] Combined with the second implementable manner of the first aspect, in the fifth implementable manner of the first aspect, determine the coordinates of all data points on the profile baseline through the straight-line equation, including:
[0020] Match the coordinates corresponding to each data point with the area range covered by the radar 3D mosaic, and determine whether the data point is within the area range covered by the radar 3D mosaic;
[0021] In response to the data point not being within the area range covered by the radar 3D mosaic, eliminate the data point.
[0022] Combined with the first implementable manner of the first aspect, in the sixth implementable manner of the first aspect, extract the radar data corresponding to each layer of the data points, including:
[0023] According to the file header size of the radar 3D mosaic file, as well as the data layer index, the amount of data in the horizontal axis, and the amount of data in the vertical axis of the current data layer, calculate the layer offset of the data layer;
[0024] Determine the point offset corresponding to the data point through the layer offset and the corresponding coordinates;
[0025] Extract the radar data corresponding to the data point from the radar 3D mosaic file according to the point offset.
[0026] Combined with the first implementation manner of the first aspect, in the seventh implementation manner of the first aspect, drawing the vertical profile based on the two-dimensional array corresponding to all data points includes:
[0027] According to the resolution of the required vertical profile, calculate the number of pixels corresponding to a single data point on the horizontal distance of the vertical profile, and the number of pixels corresponding to one kilometer in the vertical height;
[0028] Based on the number of pixels corresponding to a single data point and the number of pixels corresponding to one kilometer, starting from the bottom layer of the vertical profile, draw each height layer of the vertical profile in sequence, including:
[0029] Calculate the ordinate corresponding to the current height layer, and sequentially read the radar data corresponding to each data point on the profile baseline from the two-dimensional data group according to the ordinate;
[0030] According to the corresponding radar data, the number of pixels corresponding to a single data point, the number of pixels corresponding to one kilometer, and the physical height of the current height layer, determine the image coordinates, height pixels, and width pixels corresponding to each data point on the profile baseline in the current height layer;
[0031] Draw a corresponding rectangle through the corresponding image coordinates, and fill the corresponding color in the rectangle according to the height pixels and width pixels.
[0032] Combined with the first implementation manner of the first aspect, in the eighth implementation manner of the first aspect, query a preset data color table according to the corresponding radar data to obtain the RGB value of the color corresponding to the radar data.
[0033] In a second aspect, a vertical profile drawing system based on a radar three-dimensional puzzle is provided, including:
[0034] An acquisition module configured to acquire the coordinates corresponding to all data points on the profile baseline;
[0035] An extraction module configured to traverse the data of each layer of the radar three-dimensional puzzle file according to the corresponding coordinates, extract the radar data corresponding to each layer of the data points, and generate a corresponding two-dimensional array;
[0036] A drawing module configured to draw the vertical profile based on the two-dimensional array corresponding to all data points.
[0037] Beneficial effects: By using the method and system for drawing a vertical sectional view based on a radar 3D puzzle according to the present invention, the corresponding radar data can be extracted from the radar 3D puzzle based on the coordinates of each data point on the sectional baseline obtained, and the corresponding vertical sectional view of the radar reflectivity factor can be drawn through the extracted radar data, so as to realize the drawing of an arbitrary vertical sectional view of the radar reflectivity factor to meet the business requirements of users. Description of the drawings
[0038] In order to more clearly illustrate the specific embodiments of the present invention, the drawings required for the specific embodiments will be briefly introduced below. In all the drawings, the components or parts are not necessarily drawn to scale.
[0039] Figure 1 It is a flowchart of a method for drawing a vertical sectional view based on a radar 3D puzzle provided by an embodiment of the present invention;
[0040] Figure 2 It is a system block diagram of a system for drawing a vertical sectional view based on a radar 3D puzzle provided by an embodiment of the present invention;
[0041] Figure 3 It is a schematic diagram of a sectional baseline;
[0042] Figure 4 It is the vertical sectional view corresponding to the sectional baseline drawn by using the method for drawing a vertical sectional view provided by the present invention; Figure 3 shown;
[0043] Figure 5 It is a schematic diagram of the data structure of a radar 3D puzzle file. Specific embodiments
[0044] The embodiments of the technical solutions of the present invention will be described in detail below with reference to the drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, so they are only examples and cannot be used to limit the protection scope of the present invention.
[0045] As Figure 1 shown, the flowchart of the method for drawing a vertical sectional view based on a radar 3D puzzle, the drawing method includes:
[0046] Step 1: Obtain the coordinates corresponding to all data points on the sectional baseline;
[0047] Step 2: Traverse each layer of data of the radar 3D puzzle file according to the corresponding coordinates, extract the radar data corresponding to each layer of the data points, and generate a corresponding two-dimensional array;
[0048] Step 3: Draw the vertical sectional view based on the two-dimensional arrays corresponding to all data points.
[0049] Specifically, first, the coordinates of all data points on the profile baseline of the radar reflectivity factor vertical profile required by the user can be obtained. Then, each layer of data in the radar 3D mosaic can be traversed in sequence, and the radar data corresponding to the data points can be extracted from each layer of data according to the coordinates of the data points, and the extracted radar data can be stored in a two-dimensional array. Repeat this process until the radar data of all data points are extracted. Finally, according to the radar data in the two-dimensional array corresponding to all data points, a vertical profile corresponding to the profile baseline can be drawn, that is, the radar reflectivity factor vertical profile required by the user. In this way, the drawing of any radar reflectivity factor vertical profile can be realized to meet any needs of the user.
[0050] In this embodiment, optionally, in step 1, obtaining the coordinates corresponding to all data points on the profile baseline includes:
[0051] Obtaining the starting coordinates and ending coordinates of the profile baseline;
[0052] Determining the linear equation corresponding to the profile baseline according to the starting coordinates and the ending coordinates;
[0053] Taking the pixel size of the radar 3D mosaic as the step length, and determining the coordinates of all data points on the profile baseline through the linear equation.
[0054] Specifically, when obtaining the coordinates of the data points, in order to facilitate the selection of the required radar reflectivity factor vertical profile, the user can only provide the starting coordinates and ending coordinates of the profile baseline, without providing the coordinates of all data points on the profile baseline. The linear equation corresponding to the profile baseline can be determined according to the starting coordinates and the ending coordinates. Finally, taking the pixel size in the radar 3D mosaic as the step length, the points on the profile baseline are selected as data points, and the coordinates corresponding to the data points on the profile baseline can be obtained through the linear equation.
[0055] In this embodiment, optionally, obtaining the starting coordinates and ending coordinates of the profile baseline includes:
[0056] Obtaining the starting longitude and latitude and the ending longitude and latitude of the profile baseline, as well as the starting longitude and latitude values, the midpoint longitude and latitude values, and the number of pixels in the longitude and latitude directions of the radar 3D mosaic;
[0057] Calculating the number of pixels corresponding to each longitude and latitude in the radar 3D mosaic respectively according to the starting longitude and latitude values, the midpoint longitude and latitude values, and the number of pixels in the longitude and latitude directions of the radar 3D mosaic;
[0058] Calculating the starting coordinates and ending coordinates of the profile baseline respectively through the starting longitude and latitude values of the radar 3D mosaic, the number of pixels corresponding to the longitude and latitude, and the starting longitude and latitude and the ending longitude and latitude of the profile baseline.
[0059] Specifically, in most cases, users only know the longitude and latitude of the starting point and the ending point of the profile baseline of the required radar reflectivity factor vertical profile. To facilitate the user to provide the starting coordinates and ending coordinates of the profile baseline, the user can only provide the longitude and latitude of the starting point and the ending point of the profile baseline. Combining with the starting longitude and latitude values of the radar three-dimensional mosaic, and the number of pixels corresponding to the longitude and latitude, the starting coordinates and ending coordinates of the profile baseline in the radar three-dimensional mosaic can be calculated, so as to convert the longitude and latitude coordinates of the starting point and the ending point of the profile baseline into the plane rectangular coordinates in the radar three-dimensional mosaic, for the convenience of subsequent data extraction. The specific calculation formula is as follows:
[0060] x = |J - J s | * a;
[0061] y = |W s - W| * b;
[0062] Wherein, x and y are the horizontal and vertical coordinates of the data point in the radar three-dimensional mosaic, J and W are the longitude and latitude of the ending point, J s , W s are the starting longitude and latitude values in the radar three-dimensional mosaic, and a and b are the number of pixels corresponding to the longitude and latitude. The specific calculation formula is as follows:
[0063] a = (c * 0.5) / |J s - J m |;
[0064] b = (d * 0.5) / |W s - W m |;
[0065] Wherein, c and d are the number of pixels corresponding to the longitude and latitude directions in the radar three-dimensional mosaic, J m , W m are the longitude and latitude values corresponding to the midpoint of the radar three-dimensional mosaic.
[0066] In this embodiment, optionally, determining the coordinates of all data points on the profile baseline through the straight line equation includes:
[0067] When the slope of the straight line equation is less than or equal to 1, taking the abscissa as the variable, calculating the ordinate of each data point on the profile baseline through the straight line equation;
[0068] When the slope of the straight line equation is greater than 1, taking the ordinate as the variable, calculating the abscissa of each data point on the profile baseline through the straight line equation.
[0069] Specifically, after the straight-line equation is determined, the coordinates of the data points on the profile baseline can be calculated cyclically with the pixels in the X-axis or Y-axis direction as the unit step. When calculating, it is necessary to consider the cases where the slope of the straight line is greater than 1 and less than 1 respectively. When the slope is less than or equal to 1, it indicates that there are more pixels covered in the horizontal coordinate direction. The X-axis coordinate can be used as the loop, and the corresponding Y-axis coordinate can be calculated through the straight-line equation. Conversely, when the slope is greater than 1, the Y-axis coordinate can be used as the loop, and the corresponding X-axis coordinate can be calculated through the straight-line equation. Thus, the number of data points is increased to ensure the drawing accuracy of the vertical profile.
[0070] In this embodiment, optionally, determining the coordinates of all data points on the profile baseline through the straight-line equation includes:
[0071] Matching the coordinates corresponding to each data point with the area range covered by the radar 3D puzzle to determine whether the data point is within the area range covered by the radar 3D puzzle;
[0072] In response to the data point not being within the area range covered by the radar 3D puzzle, the data point is removed.
[0073] Specifically, since when the profile product user draws the profile baseline in the application software interface, the baseline range may exceed the actual radar puzzle data coverage range. Therefore, after obtaining the coordinates of all data points on the profile baseline, the coordinates of each data point can be matched with the area range covered by the radar 3D puzzle. It should be understood that all sites within the area range covered by the radar 3D puzzle have corresponding profile baseline data. If the coordinates of the data point are not within this area range, there is no corresponding radar data for this data point in the radar 3D puzzle, and this data point needs to be removed to avoid this data point participating in subsequent radar data extraction, thereby reducing the number of invalid operations and improving the drawing efficiency of the vertical profile.
[0074] In this embodiment, optionally, extracting the radar data corresponding to each layer of the data point includes:
[0075] Calculating the layer offset of the data layer according to the file header size of the radar 3D puzzle file, as well as the data layer index, the amount of horizontal axis data, and the amount of vertical axis data of the current data layer;
[0076] Determining the point offset corresponding to the data point through the layer offset and the corresponding coordinates;
[0077] Extracting the radar data corresponding to the data point from the radar 3D puzzle file according to the point offset.
[0078] Specifically, as Figure 5As shown, the radar three-dimensional puzzle file consists of a file header and 21 layers of data. When extracting the radar data corresponding to the data points, the radar data can be extracted from each layer of data in sequence using the same method. Specifically:
[0079] First, based on the size of the file header of the radar three-dimensional puzzle file, as well as the data layer index, the amount of horizontal axis data, and the amount of vertical axis data of the current data layer, the layer offset of the data layer can be calculated. The specific calculation formula is as follows:
[0080]
[0081] Among them, E i is the layer offset of the current data layer, F is the size of the file header, G i is the data layer index of the current data layer, is the amount of horizontal axis data of the current data layer, is the amount of horizontal axis data of the current data layer.
[0082] Then, the point offset corresponding to the data point can be determined through the layer offset and the corresponding coordinates. The specific calculation formula is as follows:
[0083]
[0084] Among them, e i is the point offset of the data point in the current data layer, and x, y are the coordinates of the data point.
[0085] Finally, the unsigned byte data at this position in the radar three-dimensional puzzle file can be read according to the position of the point offset and stored in a two-dimensional array for preservation.
[0086] In this embodiment, optionally, drawing the vertical profile based on the two-dimensional array corresponding to all data points includes:
[0087] According to the resolution of the required vertical profile, calculate the number of pixels corresponding to a single data point on the horizontal distance of the vertical profile, and the number of pixels corresponding to one kilometer in the vertical height;
[0088] Based on the number of pixels corresponding to a single data point and the number of pixels corresponding to one kilometer, starting from the bottom layer of the vertical profile, draw each height layer of the vertical profile in sequence, including:
[0089] Calculate the ordinate corresponding to the current height layer, and sequentially read the radar data corresponding to each data point on the profile baseline from the two-dimensional data group according to the ordinate;
[0090] Determine the image coordinates, height pixels, and width pixels corresponding to each data point on the profile baseline at the current altitude layer based on the corresponding radar data, the number of pixels corresponding to a single data point, the number of pixels corresponding to a unit kilometer, and the physical altitude of the current altitude layer;
[0091] Draw a corresponding rectangle through the corresponding image coordinates, and fill the rectangle with a corresponding color according to the height pixels and width pixels.
[0092] Specifically, first, according to the resolution of the required profile product, calculate the number of pixels corresponding to each data point in the horizontal distance, and calculate the number of pixels corresponding to each kilometer in the vertical height. The specific calculation formulas are as follows:
[0093] k x = L / P;
[0094] k y = H / Q;
[0095] Where k x is the number of pixels corresponding to each data point in the horizontal distance, k y is the number of pixels corresponding to each kilometer in the vertical height, L and H are the horizontal width pixel value and vertical height pixel value of the vertical profile respectively, and P and Q are the number of data points on the profile baseline and the altitude of the highest layer of the vertical profile respectively.
[0096] Then, starting from the lowest layer of the vertical profile, loop through and draw the radar data of each altitude layer in turn. Specifically including:
[0097] First, calculate the pixel coordinates in the vertical axis direction of the current altitude layer. The specific calculation formula is as follows:
[0098] Y i = H - Q i * k y ;
[0099] Where Q i is the physical altitude corresponding to the current altitude layer.
[0100] Then read the radar data of all data points corresponding to the pixel coordinates in the vertical axis direction of the current altitude layer from the two-dimensional array, and draw each data point in turn according to the corresponding radar data. Specifically:
[0101] First, calculate the lower left corner coordinates of the rectangle corresponding to the data point according to the coordinates of the data point. The specific calculation formula is as follows:
[0102] x z = R * k x ;
[0103] y z= H - Q i * k y ;
[0104] R is the data point index.
[0105] After determining the lower left corner coordinates of the rectangle, corresponding rectangles can be drawn in the vertical profile according to the coordinates of the data points and the corresponding lower left corner coordinates. Then, based on the calculated width pixels and height pixels, by querying the preset data color table, the RGB values of the colors corresponding to the radar data are obtained, thus completing the drawing of the rectangles corresponding to the data points. The specific calculation formulas for the width pixels and height pixels are as follows:
[0106] S = k x ;
[0107] T = k y *(Q i - Q i-1 );
[0108] Where S is the width pixels and T is the height pixels.
[0109] After completing the drawing of the data point, the next data point can be drawn in the vertical profile in sequence. Repeat this process until all the data points on the profile baseline are drawn, then the next height layer can be drawn in the vertical profile. Repeat this process until all the height layers of the vertical profile are drawn, and the vertical profile required by the user can be obtained.
[0110] Using the vertical profile drawing method provided in this embodiment, draw the vertical profile corresponding to the profile baseline as shown in Figure 3 , and the drawn vertical profile is as shown in Figure 4 .
[0111] As shown in Figure 2 , the system block diagram of the vertical profile drawing system based on the radar 3D puzzle. The extraction system includes:
[0112] An acquisition module configured to acquire the coordinates corresponding to all data points on the profile baseline;
[0113] An extraction module configured to traverse the data of each layer of the radar 3D puzzle file according to the corresponding coordinates, extract the radar data corresponding to each layer of the data point, and generate a corresponding two-dimensional array;
[0114] A drawing module configured to draw the vertical profile based on the two-dimensional arrays corresponding to all data points.
[0115] Specifically, the extraction system includes an acquisition module, an extraction module, and a drawing module. Among them, the acquisition module can acquire the coordinates of all data points on the profile baseline of the vertical profile of radar reflectivity factors required by the user. The extraction module can sequentially traverse the data of each layer of the radar three-dimensional mosaic, extract the radar data corresponding to the data points from the data of each layer according to the coordinates of the data points, and store the extracted radar data in a two-dimensional array. Repeat this process until the radar data of all data points are extracted. The drawing module can draw a vertical profile corresponding to the profile baseline, that is, the vertical profile of radar reflectivity factors required by the user, according to the radar data in the two-dimensional array corresponding to all data points. In this way, the drawing of any vertical profile of radar reflectivity factors can be realized to meet any needs of the user.
[0116] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be covered by the scope of the claims and the specification of the present invention.
Claims
1. A method for drawing a vertical profile based on a radar three-dimensional puzzle, characterized in that: include: Get the coordinates corresponding to all data points on the profile baseline; Traversing each layer of data in the radar three-dimensional puzzle file according to the corresponding coordinates, extracting the radar data corresponding to each layer of the data point, and generating a corresponding two-dimensional array; Drawing the vertical profile graph based on the two-dimensional array corresponding to all data points; Extracting radar data corresponding to the data point includes: Calculate the layer offset of the data layer according to the file header size of the radar three-dimensional puzzle file, as well as the data layer index, the horizontal axis data volume, and the vertical axis data volume of the current data layer; Determine the point offset corresponding to the data point through the layer offset and the corresponding coordinates; The radar data corresponding to the data point is extracted from the radar three-dimensional puzzle file according to the point offset.
2. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 1, characterized in that: Get the coordinates of all data points on the profile baseline, including: Get the starting point and ending point coordinates of the profile baseline; Determine the straight line equation corresponding to the profile baseline according to the starting point coordinates and the end point coordinates; The pixel size of the radar three-dimensional puzzle is used as the step size, and the coordinates of all data points on the profile baseline are determined by the straight line equation.
3. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 2, characterized in that: Get the start and end coordinates of the profile baseline, including: Obtaining the starting point longitude and latitude and longitude and the ending point longitude and latitude of the profile baseline, as well as the starting point longitude and latitude values, the ending point longitude and latitude values and the number of pixels in the longitude and latitude directions of the radar three-dimensional puzzle; According to the latitude and longitude values of the starting point, the latitude and longitude values of the end point and the number of pixels in the longitude and longitude directions of the radar three-dimensional puzzle, the number of pixels corresponding to each longitude and latitude in the radar three-dimensional puzzle is calculated respectively; The starting point coordinates and the ending point coordinates of the profile baseline are calculated respectively by the starting point longitude and latitude values of the radar 3D puzzle, the number of pixels corresponding to the longitude and latitude, and the starting point longitude and longitude and the ending point longitude and longitude of the profile baseline.
4. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 2, characterized in that: The coordinates of all data points on the profile baseline are determined by the straight line equation, including: When the slope of the straight line equation is less than or equal to 1, the horizontal coordinate is used as a variable, and the vertical coordinate of each data point on the profile baseline is calculated by the straight line equation; When the slope of the straight line equation is greater than 1, the ordinate is used as a variable and the abscissa of each data point on the profile baseline is calculated using the straight line equation.
5. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 2, characterized in that: The coordinates of all data points on the profile baseline are determined by the straight line equation, including: Matching the coordinates corresponding to each data point with the area covered by the radar three-dimensional puzzle to determine whether the data point is within the area covered by the radar three-dimensional puzzle; In response to a data point not being within the area covered by the radar three-dimensional mosaic, the data point is removed.
6. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 1, characterized in that: Drawing the vertical profile graph based on the two-dimensional array corresponding to all data points includes: According to the required resolution of the vertical profile, the number of pixels corresponding to a single data point in the horizontal distance of the vertical profile and the number of pixels corresponding to a unit kilometer in the vertical height are calculated; Based on the number of pixels corresponding to a single data point and the number of pixels corresponding to a unit kilometer, starting from the bottom layer of the vertical profile, the various height layers of the vertical profile are drawn in sequence, including: Calculate the ordinate corresponding to the current altitude layer, and read radar data corresponding to each data point on the profile baseline from the two-dimensional array in sequence according to the ordinate; Determine the image coordinates, height pixels and width pixels corresponding to each data point on the profile baseline at the current altitude layer according to the corresponding radar data, the number of pixels corresponding to a single data point and the number of pixels corresponding to a unit kilometer, and the physical altitude of the current altitude layer; A corresponding rectangle is drawn using the corresponding image coordinates, and the rectangle is filled with a corresponding color according to the height pixels and the width pixels.
7. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 1, characterized in that: According to the corresponding radar data, the preset data color table is searched to obtain the RGB value of the color corresponding to the radar data.
8. A vertical profile drawing system based on radar three-dimensional puzzle, characterized in that: include: An acquisition module configured to acquire coordinates corresponding to all data points on the profile baseline; An extraction module is configured to traverse each layer of data of the radar three-dimensional puzzle file according to corresponding coordinates, extract radar data corresponding to each layer of the data point, and generate a corresponding two-dimensional array; A drawing module, configured to draw the vertical profile graph based on the two-dimensional array corresponding to all data points; Extracting radar data corresponding to the data point includes: Calculate the layer offset of the data layer according to the file header size of the radar three-dimensional puzzle file, as well as the data layer index, the horizontal axis data volume, and the vertical axis data volume of the current data layer; Determine the point offset corresponding to the data point through the layer offset and the corresponding coordinates; The radar data corresponding to the data point is extracted from the radar three-dimensional puzzle file according to the point offset.
Citation Information
Patent Citations
Radar vertical profile map display method and device
CN111025237A
Doppler meteorological radar data acquisition and three-dimensional puzzle method
CN113325423A