Weather forecast data automatic analysis and storage system and map publishing system
Through the automatic analysis and storage system of weather forecast data and the map release system, combined with GIS technology and NetCDF analysis library, the problems of low data processing efficiency and poor module scalability of the traditional weather forecast system are solved, and the intelligent, automated and intelligent weather forecasting is realized. Accuracy improves the real-time and security of data.
Patent Information
- Application Number
- CN202310352194.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional weather forecast systems have problems such as low data processing efficiency, poor scalability of system modules, and difficulties in service release and use, making it difficult to achieve intelligent, automated, and accurate weather forecasts.
An automatic analysis and storage system for weather forecast data is designed, including data collection, analysis, storage, management and access units. It combines GIS technology and NetCDF analysis library to realize real-time collection, analysis, storage and management of data, and publish it through maps. The system converts data into a visual format to improve the real-time and accuracy of the data.
It improves the processing efficiency of weather forecast data and the scalability of the system, realizes the intelligence, automation and accuracy of data, solves the security problems of traditional systems, simplifies the data calling steps and time, and expands data application scenarios.
Smart Images

Figure CN118733558A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of meteorological data analysis and storage and the technical field of map publishing, and specifically relates to an automatic analysis and storage system for meteorological forecast data and a map publishing system. Background Art
[0002] Weather can pose a great threat to people's production, life and health. For example, typhoon weather may trigger tsunamis and wind disasters, causing damage to houses and infrastructure in coastal areas, as well as casualties. High temperature weather may trigger tropical cyclones and form an urban heat island effect, which can cause heatstroke or even fainting in severe cases.
[0003] Therefore, it is very important to take scientific and effective measures to deal with special weather and weather disasters. Weather forecast refers to the prediction of the changing trend of meteorological, hydrological, marine and geological phenomena in the future through systematic observation, analysis and prediction of atmospheric, hydrological, marine and geological phenomena, so as to provide a scientific basis for decision-making in the fields of society, economy, agriculture, transportation, national defense, etc. As an important public service, it has a significant impact on the production, life, security and development of human society.
[0004] With the continuous development of social economy and the continuous improvement of scientific and technological level, the requirements for weather forecasting are becoming higher and higher. In the current context of informatization and intelligence, how to realize the intelligence, automation and precision of weather forecasting has become a hot topic and difficulty in research.
[0005] At present, the traditional weather forecast product development model has problems such as low data processing efficiency, poor scalability of system modules, difficulty in service release and use, and security issues.
[0006] Therefore, in order to improve the automation and accuracy of weather forecast systems, new technical means and system architectures need to be adopted. Summary of the invention
[0007] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide an automatic parsing and warehousing system for weather forecast data and a map publishing system, which can solve the problems existing in the prior art such as low weather forecast data processing efficiency, poor system module scalability, and difficulty in service publishing and use.
[0008] To achieve the above-mentioned purpose and other related purposes, the present invention first provides a weather forecast data automatic parsing and warehousing system, including: a data acquisition unit, which is used to obtain weather forecast data in each period; a data parsing unit, connected to the data acquisition unit, and used to perform information extraction, coordinate conversion, correction operation and format conversion on the collected weather forecast data to obtain parsed weather forecast data; a data storage unit, which is connected to the data parsing unit, and used to store the parsed weather forecast data in a data unit warehouse; a data management unit, which is connected to the data storage unit, and used to perform data management operations on the weather forecast data stored in the data unit warehouse; wherein the data management operations include data backup, data recovery, data migration and data cleaning; a data access unit, which is connected to the data storage unit, and used to access and analyze the weather forecast data stored in the data unit warehouse; a system monitoring unit, which is used to monitor and manage the entire system, including system performance, operating status, abnormality detection and alarm operations.
[0009] In one embodiment of the present invention, the weather forecast data includes an NC file.
[0010] In one embodiment of the present invention, the data acquisition unit includes: a data monitoring subunit, which is used to monitor in real time whether there is weather forecast data to be processed in the numerical weather forecast model; a data downloading subunit, which is used to download the weather forecast data; and a data transmission subunit, which is used to transmit the weather forecast data to the data analysis unit.
[0011] In one embodiment of the present invention, the parsing library used in the data transmission subunit includes a NetCDF parsing library.
[0012] In one embodiment of the present invention, the data analysis unit is further used to: based on the coordinates of each point in the weather forecast area, use GIS technology to obtain weather forecast data for each point in the area.
[0013] In one embodiment of the present invention, the data analysis unit further includes: a detection unit for detecting whether there is an anomaly in the weather forecast data, if so, performing data anomaly processing and recording a log; if not, performing data analysis.
[0014] In one embodiment of the present invention, the data management operation further includes: data addition, data deletion, data update and data query.
[0015] The present invention also provides a map publishing system, which is connected to any of the above-mentioned automatic parsing and warehousing systems for meteorological forecast data; the map publishing system includes: a data conversion unit, which is used to call the weather forecast data and convert the weather forecast data to obtain visualization parameters and obtain a data source for visualization display; a map publishing unit, which is used to render a map style required for product visualization display according to the visualization parameters and the data source and publish the map style for web page calling.
[0016] In one embodiment of the present invention, the data conversion unit is connected to the data access module in the meteorological forecast data automatic parsing and warehousing system to obtain the weather forecast data; and, according to the product visualization display requirements, the weather forecast data is converted into a GIS data format corresponding to the display requirements.
[0017] In one embodiment of the present invention, the map publishing unit further includes: based on GIS software or map API, and according to the display requirements, generating corresponding engineering files for web page calls.
[0018] As described above, the map publishing system provided by the present invention has the following beneficial technical effects: by setting up a data conversion unit, a map publishing unit, and an automatic transfer unit, by converting weather forecast data into easy-to-understand and visualized map data, the data is made more intuitive and easy to share; the real-time and accuracy of the data are improved, and at the same time, data query and analysis functions can be provided, and the application scenarios of the data are expanded, thereby improving the scalability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 Shown is a schematic diagram of the structure of the automatic parsing and warehousing system for weather forecast data provided by the present invention in one embodiment;
[0020] Figure 2 Shown is a schematic diagram of the structure of the map publishing system provided by the present invention in one embodiment;
[0021] Component number description
[0022] 100 Weather Forecast Data Automated Parsing and Storage System
[0023] 110 Data Acquisition Unit
[0024] 120 Data Analysis Unit
[0025] 130 Data storage unit
[0026] 140 Data Management Unit
[0027] 150 Data Access Unit
[0028] 160 System Monitoring Unit
[0029] 200 Map Publishing System
[0030] 210 Data Conversion Unit
[0031] 220 Map Publishing Unit
[0032] 230 Automatic transfer unit
[0033] Specific implementation methods
[0034] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0035] It should be noted that the illustrations provided in the following embodiments are only for schematically illustrating the basic concept of the present invention.
[0036] In order to solve the technical problems existing in the prior art, the present invention provides a weather forecast data automatic parsing and warehousing system and a map publishing system, which are used to solve the problems of low data processing efficiency and poor scalability of system modules existing in the traditional weather forecast product development model, and realize the intelligent, automated and precise weather forecast.
[0037] See also Figure 1 , showing a schematic diagram of the structure of the automatic parsing and warehousing system for weather forecast data provided in an embodiment of the present invention.
[0038] like Figure 1 As shown, the early warning system includes a data acquisition unit 110 , a data analysis unit 120 , a data storage unit 130 , a data management unit 140 , a data access unit 150 , and a system monitoring unit 160 .
[0039] The data acquisition unit 110 mainly includes a data monitoring subunit, a data downloading subunit and a data transmission subunit.
[0040] Optionally, the NC file download unit includes but is not limited to obtaining through data sharing platforms of numerical weather forecast models such as GRAPES, WRF, ECMWF or other similar institutions, and the obtaining method includes but is not limited to direct downloading or retrieving data through an API interface, or submitting a data customization request to the China Meteorological Administration or other similar institutions.
[0041] Specifically, to ensure real-time monitoring of the numerical weather forecast model, this unit uses the form of self-startup at startup to scan whether there are any files to be processed, and in real time, directly downloads the unprocessed weather forecast NC files from the data sharing platform or directly retrieves the data through the API interface, and then uses the API in the parsing library, namely the NetCDF library, to quickly write a program to open the acquired weather forecast NC files.
[0042] In this embodiment, the data analysis unit 120 is connected to the data collection unit 110, and is responsible for reading the collected original weather forecast file, performing analysis, processing, conversion and correction operations, and converting the data into a standard format.
[0043] Specifically, the NC transmission unit uses the API in the NetCDF library to first detect whether the file is abnormal. If it is abnormal, it will process the abnormal file and record the log; otherwise, write a program to obtain the variables in the file and the dimensions, attributes, and values of the variables, and close the file. Secondly, use GIS technology or other map services to extract the range of the forecast area, convert the forecast area range into a coordinate system, and calculate the coordinates of each point in the area based on the gridding method. Then, use the calculated coordinates to filter the variable data read from the NC file to obtain the data in the area, forming the NC file data in the area.
[0044] The data storage unit 130 is connected to the data parsing unit 120 and is responsible for storing the parsed prediction data in a data unit warehouse for subsequent data query, analysis and application.
[0045] Optionally, the database used in this unit to store the data obtained from the previous unit may be a PostgreSQL database, a MySQL database, or an Oracle database.
[0046] The data management unit 140 is connected to the data storage unit 130 and is responsible for managing the stored prediction data, including operations such as data backup, recovery, migration, and cleaning, to ensure the integrity and reliability of the prediction data;
[0047] The data access unit 150 is connected to the data storage unit 130, and is responsible for accessing the stored weather forecast data, providing data query, statistics, analysis and other functions, so that users can perform data analysis and application. Both units are based on the basic functions of the database, including database table structure, database data addition, deletion, modification, query and other specific functions, database management tools, etc.
[0048] The system monitoring unit 160 is responsible for monitoring and managing the entire system of fully automated parsing and warehousing of weather forecast data, including system performance, operating status, anomaly detection and alarm operations, to ensure the stability and reliability of the system.
[0049] The weather forecast data automatic parsing and storage system provided by the present invention divides the entire system into multiple small services, each of which can be independently developed, deployed and operated. This technical architecture can achieve system decoupling and flexibility, and improve the scalability and fault tolerance of the system.
[0050] By setting up a data acquisition unit to obtain weather forecast files, and parsing the required data in the data in turn in the data analysis unit, and then storing it through the data storage unit, the intelligence, automation and real-time nature of weather forecasting technology can be guaranteed. The required data is stored in the database in advance, which is convenient for instant call when building a visual interface, greatly simplifying the data call steps and time, and improving the efficiency and quality of the system.
[0051] The data management unit and data access unit serve as functional supplements to the management and access of data stored in the database, facilitating subsequent data visualization calls and map publishing operations; the system monitoring unit is responsible for automatically parsing the files and data transmitted in the entire meteorological forecast data storage system, as well as detecting the system performance and operating status, ensuring the normal operation of the system and solving the security issues of traditional weather forecasting.
[0052] In order to solve the technical problems existing in the prior art, the present invention also provides a map publishing system, which is connected to the automatic parsing and warehousing system for meteorological forecast data as described above, and is used to retrieve various weather forecast data stored in the system to publish maps based on the weather forecast data.
[0053] See also Figure 2 , showing a structural schematic diagram of the map publishing system provided in an embodiment of the present invention.
[0054] like Figure 2 As shown, the early warning system includes a data generating unit 210 , a map publishing unit 220 , and an automatic transfer unit 230 .
[0055] The data generation unit 210 is responsible for connecting and calling the map to publish the required weather forecast data, visualizing the processing parameters and storing them.
[0056] Specifically, the weather forecast data required for map publishing involved in the data conversion unit comes from the weather forecast data automatic parsing and storage system, and all the data information required for display is obtained through the data access module of the system. After acquisition, this part of the data needs to be cleaned, including removing duplicate data, filling missing values, etc., to provide a data source for subsequent visualization processing and trend lines at any point on the web page.
[0057] Specifically, the visualization processing parameters involved in the data conversion unit are stored, and a suitable GIS data format is generated with specific reference to the product visualization display requirements; visualization processing parameters are set, such as grid size, contour line settings, data processing range, vector feature points, etc., and finally the processing results are stored in the form of FileGDB together with the weather forecast data required for map publishing.
[0058] The map publishing unit 220 is connected to the data generating unit 210, uses the parameters and data resources stored in the data conversion unit, uses GIS software or corresponding map API, and sets the point, line, and grid rendering styles of sea surface wind, waves, tides, and currents according to product visualization requirements, automatically generates engineering files, and finally publishes map services for web page calls.
[0059] The automatic transfer unit 230 is connected to the map publishing unit 220 and is responsible for storing the data after the data processing is completed. According to business needs, the standard NC transfer tasks of each element are configured. After the data processing is completed, all data are repackaged into NC files and the results are automatically sent to the database. Specifically, the data management module of the weather forecast data automatic parsing and storage system is used to complete the data update.
[0060] In summary, the map publishing system provided by the present invention is mainly used for data visualization operations when using microservices to automatically parse and store weather forecast data into the system for real-time detection. The data generation unit is used to connect to the database in the system for automatic parsing and storing weather forecast data, obtain data, and generate GIS data required for map publishing. The map publishing unit is then used to complete the rendering of the overall visualization style and map publishing. After the data processing is completed, the data results are packaged as NC files and updated to the database. By converting weather forecast data into easy-to-understand and visualized map data, the data is made more intuitive and easier to share. It can also provide data query and analysis functions, expand the application scenarios of data, increase the scalability of the weather forecast system, and solve the problem of difficulty in publishing and using traditional weather forecast system services.
[0061] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
[0062] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A weather forecast data automatic parsing and storage system, characterized in that: include: A data acquisition unit, which is used to obtain weather forecast data in each period; A data parsing unit, connected to the data collection unit, for performing information extraction, coordinate conversion, correction operation and format conversion on the collected weather forecast data to obtain parsed weather forecast data; A data storage unit, connected to the data parsing unit, for storing the parsed weather forecast data in a data unit warehouse; A data management unit connected to the data storage unit and used to perform data management operations on the weather forecast data stored in the data unit warehouse; wherein the data management operations include data backup, data recovery, data migration and data cleaning; A data access unit, connected to the data storage unit, for accessing and analyzing the weather forecast data stored in the data unit warehouse; The system monitoring unit is used to monitor and manage the entire system, including system performance, operating status, anomaly detection and alarm operations.
2. The weather forecast data automatic parsing and storage system according to claim 1 is characterized in that: The weather forecast data includes an NC file.
3. The automatic parsing and storage system for weather forecast data according to claim 1 is characterized in that: The data acquisition unit comprises: A data monitoring subunit, which is used to monitor in real time whether there is weather forecast data to be processed in the numerical weather forecast model; A data downloading subunit, which is used to download the weather forecast data; The data transmission subunit is used to transmit the weather forecast data to the data analysis unit.
4. The automatic parsing and storage system for weather forecast data according to claim 3 is characterized in that: The parsing library used in the data transmission subunit includes a NetCDF parsing library.
5. The weather forecast data automatic parsing and storage system according to claim 1 is characterized in that: The data parsing unit is also used for: Based on the coordinates of each point in the weather forecast area, GIS technology is used to obtain weather forecast data for each point in the area.
6. The weather forecast data automatic parsing and storage system according to claim 1 is characterized in that: The data parsing unit further includes: The detection unit is used to detect whether there is any abnormality in the weather forecast data. If so, data abnormality processing is performed and a log is recorded; if not, data analysis is performed.
7. The automatic parsing and storage system for weather forecast data according to claim 1 is characterized in that: The data management operations also include: data addition, data deletion, data update and data query.
8. A map publishing system, characterized in that: Connected to the weather forecast data automatic parsing and storage system as described in any one of claims 1 to 7; The map publishing system comprises: A data conversion unit, used to call the weather forecast data and convert the weather forecast data to obtain visualization parameters and a data source for visualization display; A map publishing unit is connected to the data conversion unit and is used to render a map style required for product visualization display according to the visualization parameters and the data source and publish the map style for web page calling.
9. The map publishing system according to claim 8, characterized in that: The data conversion unit is connected to the data access module in the weather forecast data automatic parsing and storage system to obtain the weather forecast data; and The data conversion unit is also used to convert the weather forecast data into a GIS data format corresponding to the display requirements according to the display requirements of the product visualization.
10. The map publishing system according to claim 9, characterized in that: The map publishing unit further includes: According to the display requirements, a project file corresponding to the display requirements is generated for the web page to call.
