Vertical profile drawing method and system based on radar three-dimensional puzzle

By obtaining and traversing the data point coordinates of the radar three-dimensional puzzle file, generating a two-dimensional array, and drawing a vertical profile, it solves the problem that the existing technology cannot meet the personalized needs, and realizes the flexibility of drawing and monitoring analysis of any vertical profile. sex.

CN118674820AActive Publication Date: 2024-09-20重庆市气象服务中心
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410677802.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-20
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Existing technology cannot generate radar reflectivity factor vertical profiles for any user needs, and cannot meet personalized monitoring and analysis needs.

Method used

By obtaining the coordinates of all data points on the profile baseline, traversing the radar three-dimensional puzzle file to extract radar data, generating a two-dimensional array, and drawing a vertical profile based on this array, any vertical profile can be drawn.

Benefits of technology

It realizes the drawing of vertical profiles of arbitrary radar reflectivity factors, meets the user's business needs, and improves the flexibility and accuracy of monitoring and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674820A
    Figure CN118674820A
Patent Text Reader

Abstract

The invention discloses a vertical profile drawing method and system based on a radar three-dimensional puzzle. The system comprises an acquisition module, an extraction module and a drawing module. Firstly, an acquisition module can acquire coordinates of all data points on a profile baseline of a radar reflectivity factor vertical profile map required by a user; and then, the extraction module can sequentially traverse each layer of data of the radar three-dimensional puzzle, extract radar data corresponding to the data points from each layer of data according to the coordinates of the data points, and store the extracted radar data into a two-dimensional array. And repeating the steps until the radar data of all the data points are extracted. And finally, a drawing module can draw a vertical profile map corresponding to the profile baseline according to the radar data in the two-dimensional array corresponding to all the data points, namely a radar reflectivity factor vertical profile map required by a user. Therefore, the vertical profile map of any radar reflectivity factor can be drawn so as to meet any requirements of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radar imaging technology specifically suitable for specific applications, and in particular to a method and system for drawing a vertical profile based on a radar three-dimensional puzzle. Background Art

[0002] Different precipitation clouds have different characteristics in the three-dimensional structure of the weather radar reflectivity factor, 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 an effective tool with a very high frequency of use in monitoring and analyzing severe convective weather and distinguishing between stratiform clouds and convective cloud precipitation. At present, the corresponding meteorological service platform will provide some vertical profiles within a specific range, but it is impossible to generate corresponding vertical profiles according to the needs of any user. Summary of the invention

[0003] In view of the shortcomings of the prior art, the present invention proposes a method and system for drawing a vertical profile based on radar three-dimensional puzzle, which can realize the drawing of any vertical profile image to meet the needs of any user. The specific technical solution is as follows:

[0004] In a first aspect, a method for drawing a vertical profile based on a radar three-dimensional puzzle is provided. In a first implementable manner of the first aspect, the method comprises:

[0005] Get the coordinates corresponding to all data points on the profile baseline;

[0006] 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;

[0007] The vertical profile is drawn based on the two-dimensional array corresponding to all data points.

[0008] In combination with the first implementable manner of the first aspect, in a second implementable manner of the first aspect, obtaining coordinates corresponding to all data points on the profile baseline includes:

[0009] Get the starting point and ending point coordinates of the profile baseline;

[0010] Determine the straight line equation corresponding to the profile baseline according to the starting point coordinates and the end point coordinates;

[0011] 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.

[0012] In combination with the second implementable manner of the first aspect, in a third implementable manner of the first aspect, obtaining the start point coordinates and the end point coordinates of the profile baseline includes:

[0013] Obtaining the starting point longitude and latitude and longitude of the profile baseline, as well as the starting point longitude and latitude values, midpoint longitude and latitude values, and the number of pixels in the longitude and latitude directions of the radar three-dimensional puzzle;

[0014] According to the latitude and longitude values ​​of the starting point, the latitude and longitude values ​​of the midpoint 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;

[0015] 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.

[0016] In combination with the second implementable manner of the first aspect, in a fourth implementable manner of the first aspect, determining the coordinates of all data points on the profile baseline by using the straight line equation includes:

[0017] 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;

[0018] 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.

[0019] In combination with the second implementable manner of the first aspect, in a fifth implementable manner of the first aspect, determining the coordinates of all data points on the profile baseline by using the straight line equation includes:

[0020] 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;

[0021] In response to a data point not being within the area covered by the radar three-dimensional mosaic, the data point is removed.

[0022] In combination with the first implementable manner of the first aspect, in a sixth implementable manner of the first aspect, extracting radar data corresponding to each layer of the data point includes:

[0023] 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;

[0024] Determine the point offset corresponding to the data point through the layer offset and the corresponding coordinates;

[0025] The radar data corresponding to the data point is extracted from the radar three-dimensional puzzle file according to the point offset.

[0026] In combination with the first implementable manner of the first aspect, in a seventh implementable 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 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;

[0028] 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:

[0029] 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 data group in sequence according to the ordinate;

[0030] 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;

[0031] 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.

[0032] In combination with the first implementable manner of the first aspect, in an eighth implementable manner of the first aspect, a preset data color table is searched according to corresponding radar data to obtain an RGB value of a color corresponding to the radar data.

[0033] In a second aspect, a vertical profile drawing system based on radar three-dimensional mosaic is provided, comprising:

[0034] An acquisition module configured to acquire coordinates corresponding to all data points on the profile baseline;

[0035] 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;

[0036] A drawing module is configured to draw the vertical profile based on the two-dimensional array corresponding to all data points.

[0037] Beneficial effect: By adopting the method and system for drawing a vertical profile based on a radar three-dimensional puzzle of the present invention, corresponding radar data can be extracted from the radar three-dimensional puzzle according to the coordinates of each data point on the obtained profile baseline, and a corresponding vertical profile of the radar reflectivity factor can be drawn using the extracted radar data, thereby realizing the drawing of a vertical profile of any radar reflectivity factor to meet the business needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the specific implementation of the present invention, the following will briefly introduce the drawings required for use in the specific implementation. In all the drawings, each element or part is not necessarily drawn according to the actual scale.

[0039] Figure 1 A flowchart of a method for drawing a vertical profile based on a radar three-dimensional puzzle provided by an embodiment of the present invention;

[0040] Figure 2 A system block diagram of a vertical profile drawing system based on radar three-dimensional puzzle provided by an embodiment of the present invention;

[0041] Figure 3 It is a schematic diagram of the profile baseline;

[0042] Figure 4 The vertical profile drawing method provided by the present invention is used to draw Figure 3 The vertical profile corresponding to the profile baseline shown;

[0043] Figure 5 This is a schematic diagram of the data structure of the radar 3D puzzle file. DETAILED DESCRIPTION

[0044] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.

[0045] like Figure 1 The flowchart of the vertical profile drawing method based on radar three-dimensional puzzle is shown, and the drawing method includes:

[0046] Step 1, obtain the coordinates corresponding to all data points on the profile baseline;

[0047] Step 2: traverse each layer of data of the radar three-dimensional 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;

[0048] Step 3: Draw the vertical profile based on the two-dimensional array corresponding to all data points.

[0049] Specifically, first, the coordinates of all data points on the profile baseline of the vertical profile of the radar reflectivity factor required by the user can be obtained. Then, the data of each layer of the radar three-dimensional puzzle can be traversed in turn, and the radar data corresponding to the data point can be extracted from each layer of data according to the coordinates of the data point, 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, the vertical profile corresponding to the profile baseline can be drawn based on the radar data in the two-dimensional array corresponding to all data points, that is, the vertical profile of the radar reflectivity factor required by the user. In this way, the drawing of any vertical profile of the radar reflectivity factor can be realized to meet any needs of the user.

[0050] In this embodiment, optionally, in step 1, obtaining coordinates corresponding to all data points on the profile baseline includes:

[0051] Get the starting point and ending point coordinates of the profile baseline;

[0052] Determine the straight line equation corresponding to the profile baseline according to the starting point coordinates and the end point coordinates;

[0053] 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.

[0054] Specifically, when obtaining the coordinates of the data points, in order to facilitate the selection of the required vertical profile of the radar reflectivity factor, the user can only provide the starting and ending coordinates of the profile baseline, without providing the coordinates of all the data points on the profile baseline. The straight line equation corresponding to the profile baseline can be determined based on the starting and ending coordinates. Finally, the pixel size in the radar three-dimensional puzzle is used as the step size, and 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 straight line equation.

[0055] In this embodiment, optionally, obtaining the starting point coordinates and the ending point coordinates of the profile baseline includes:

[0056] Obtaining the starting point longitude and latitude and longitude of the profile baseline, as well as the starting point longitude and latitude values, midpoint longitude and latitude values, and the number of pixels in the longitude and latitude directions of the radar three-dimensional puzzle;

[0057] According to the latitude and longitude values ​​of the starting point, the latitude and longitude values ​​of the midpoint 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;

[0058] 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.

[0059] Specifically, in most cases, users only know the longitude and latitude of the starting and ending points of the profile baseline of the vertical profile of the required radar reflectivity factor. In order to facilitate users to provide the starting and ending coordinates of the profile baseline, users can only provide the longitude and latitude of the starting and ending points of the profile baseline, and combine the starting longitude and latitude values ​​of the radar 3D puzzle, the number of pixels corresponding to the longitude and latitude, and the starting and ending coordinates of the profile baseline in the radar 3D puzzle can be calculated, thereby converting the longitude and latitude coordinates of the starting and ending points of the profile baseline into plane rectangular coordinates in the radar 3D puzzle to facilitate subsequent data extraction. The specific calculation formula is as follows:

[0060] x=|JJ s |*a;

[0061] y=|W s -W|*b;

[0062] Among them, x and y are the horizontal and vertical coordinates of the data point in the radar three-dimensional puzzle, J and W are the latitude and longitude of the end point, and J s , W s is the latitude and longitude value of the starting point in the radar 3D puzzle, 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] Among them, c and d are the number of pixels corresponding to the latitude and longitude directions in the radar 3D puzzle, J m , W m The longitude and latitude values ​​corresponding to the midpoint of the radar 3D puzzle.

[0066] In this embodiment, optionally, the coordinates of all data points on the profile baseline are determined by the straight line equation, including:

[0067] 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;

[0068] 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.

[0069] Specifically, after the equation of the line is determined, the coordinates of the data points on the baseline of the profile can be calculated cyclically with the pixel 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 line is greater than 1 and less than 1 respectively. Among them, when the slope is less than 1 or equal to, it indicates that there are more pixels covered in the horizontal coordinate direction, and the X-axis coordinate can be used as a loop to calculate the corresponding Y-axis coordinate through the straight line equation. Conversely, when the slope is greater than 1, the Y-axis coordinate can be used as a loop to calculate the corresponding X-axis coordinate through the straight line equation. Thereby increasing the number of data points and ensuring the drawing accuracy of the vertical profile.

[0070] In this embodiment, optionally, the coordinates of all data points on the profile baseline are determined by the straight line equation, including:

[0071] 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;

[0072] In response to a data point not being within the area covered by the radar three-dimensional mosaic, the data point is removed.

[0073] Specifically, when the profile product user draws the profile baseline in the applied software interface, the baseline range may exceed the actual radar puzzle data coverage. 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 covered by the radar three-dimensional puzzle. It should be understood that all sites within the area covered by the radar three-dimensional puzzle have corresponding profile baseline data. If the coordinates of the data point are not within the area, the radar three-dimensional puzzle does not have the radar data corresponding to the data point, and the data point needs to be removed to prevent the data point from participating in the 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 radar data corresponding to each layer of the data point includes:

[0075] 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;

[0076] Determine the point offset corresponding to the data point through the layer offset and the corresponding coordinates;

[0077] The radar data corresponding to the data point is extracted from the radar three-dimensional puzzle file according to the point offset.

[0078] Specifically, if Figure 5As shown, the radar 3D puzzle file includes a file header and 21 layers of data. When extracting radar data corresponding to a data point, the same method can be used to extract radar data from each layer of data in sequence. Specifically:

[0079] First, the layer offset of the data layer can be calculated according to the file header size of the radar 3D puzzle file, as well as the data layer index, horizontal axis data volume, and vertical axis data volume of the current data layer. 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 file header size, G i is the data layer index of the current data layer, is the horizontal axis data volume of the current data layer, It is the horizontal axis data volume of the current data layer.

[0082] Then, the point offset corresponding to the data point can be determined by 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 and y are the coordinates of the data point.

[0085] Finally, the unsigned byte data at that position in the radar 3D puzzle file can be read according to the position of the point offset and stored in a 2D array.

[0086] In this embodiment, optionally, drawing the vertical profile graph based on the two-dimensional array corresponding to all data points includes:

[0087] 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;

[0088] 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:

[0089] 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 data group in sequence 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 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;

[0091] 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.

[0092] Specifically, first, we can calculate the number of pixels corresponding to each data point in the horizontal distance and the number of pixels corresponding to each kilometer in the vertical height according to the resolution of the required profile product. The specific calculation formula is as follows:

[0093] k x =L / P;

[0094] k y =H / Q;

[0095] Among them, k x is the number of pixels corresponding to each data point on the horizontal distance, k y is the number of pixels corresponding to each kilometer in vertical height, L and H are the horizontal width pixel value and vertical height pixel value of the vertical profile, respectively, 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 level of the vertical profile, the radar data of each altitude layer is drawn in turn. Specifically, it includes:

[0097] First calculate the pixel coordinates of the current altitude layer in the vertical direction. The specific calculation formula is as follows:

[0098] Y i =HQ i *k y ;

[0099] Among them, Q i It is the physical height corresponding to the current altitude layer.

[0100] Then, the radar data of all data points corresponding to the pixel coordinates in the longitudinal direction of the current altitude layer are read from the two-dimensional array, and each data point is plotted in turn according to the corresponding radar data. Specifically:

[0101] First, calculate the coordinates of the lower left corner of the rectangle corresponding to the data point based on the coordinates of the data point. The specific calculation formula is as follows:

[0102] x z =R*k x ;

[0103] y z=HQ i *k y ;

[0104] R is the data point index.

[0105] After determining the coordinates of the lower left corner of the rectangle, the corresponding rectangle can be drawn in the vertical profile according to the coordinates of the data point and the corresponding coordinates of the lower left corner. Then, according to the calculated width pixels and height pixels, the RGB value of the color corresponding to the radar data is obtained by searching the preset data color table, thereby completing the drawing of the rectangle corresponding to the data point. The specific calculation formulas for width pixels and height pixels are as follows:

[0106] S=k x ;

[0107] T=k y *(Q i -Q i-1 );

[0108] Among them, S is the width in pixels and T is the height in pixels.

[0109] After the drawing of the data point is completed, the next data point can be drawn in the vertical profile in order. This is repeated until all data points on the profile baseline are drawn, and the next height layer can be drawn in the vertical profile. This is repeated until all height layers of the vertical profile are drawn, and the vertical profile required by the user can be obtained.

[0110] Using the vertical cross-sectional drawing method provided in this embodiment, draw Figure 3 The vertical profile corresponding to the profile baseline shown in the figure is drawn as follows: Figure 4 shown.

[0111] like Figure 2 The system block diagram of the vertical profile drawing system based on radar three-dimensional mosaic is shown, and the extraction system includes:

[0112] An acquisition module configured to acquire coordinates corresponding to all data points on the profile baseline;

[0113] 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;

[0114] A drawing module is configured to draw the vertical profile based on the two-dimensional array 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 obtain the coordinates of all data points on the profile baseline of the vertical profile of the radar reflectivity factor required by the user. The extraction module can traverse the data of each layer of the radar three-dimensional puzzle in turn, extract the radar data corresponding to the data point from each layer of data according to the coordinates of the data point, and store the extracted radar data in a two-dimensional array. Repeat this until the radar data of all data points are extracted. The drawing module can draw a vertical profile corresponding to the profile baseline based on the radar data in the two-dimensional array corresponding to all data points, that is, the vertical profile of the radar reflectivity factor required by the user. In this way, the drawing of any vertical profile of the radar reflectivity factor 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. 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 included in the scope of the claims and specification of the present invention.

Claims

1. A method for drawing vertical profiles based on radar three-dimensional puzzles, It is 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; The vertical profile is drawn based on the two-dimensional array corresponding to all data points.

2. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 1, It is 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, It is characterized in that Get the start and end coordinates of the profile baseline, including: Obtaining the starting point longitude and latitude and longitude of the profile baseline, as well as the starting point longitude and latitude values, midpoint 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 midpoint 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, It is 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, It is 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, It is characterized in that 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.

7. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 1, It is 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 data group 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.

8. The method for drawing a vertical profile based on radar three-dimensional puzzle according to claim 1, It is 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.

9. A vertical profile drawing system based on radar three-dimensional puzzle, It is 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 is configured to draw the vertical profile based on the two-dimensional array corresponding to all data points.

Citation Information

Patent Citations

  • Three-dimensional visualization method and system for real-time meteorological networking radar data

    CN105678846A

  • A method for rapidly drawing a section map based on a CAD topographic map

    CN109035364A

  • Radar vertical profile map display method and device

    CN111025237A

  • Method to create an alternate integrated circuit layout view from a two dimensional database

    US7281229B1