CN112232026A - Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model - Google Patents
Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model Download PDFInfo
- Publication number
- CN112232026A CN112232026A CN202011101346.2A CN202011101346A CN112232026A CN 112232026 A CN112232026 A CN 112232026A CN 202011101346 A CN202011101346 A CN 202011101346A CN 112232026 A CN112232026 A CN 112232026A
- Authority
- CN
- China
- Prior art keywords
- data
- hysplit
- meteorological field
- field data
- method suitable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a meteorological field data conversion method suitable for a HYSPLIT particle Lagrange atmospheric diffusion model, which is used for storing converted meteorological input field data information in a segmented mode, and has strong readability, the segmented data can be quickly merged and processed to generate a meteorological field file required by the HYSPLIT model.
Description
Technical Field
The invention belongs to the technical field of meteorological science, and particularly relates to a meteorological field data conversion processing program method suitable for a HYSPLIT particle Lagrange atmospheric diffusion model.
Background
Under the driving of corresponding format meteorological field data, the model widely supports simulation related to atmospheric transmission and diffusion of general atmospheric pollutants and harmful substances and deposition of the substances (such as persistent organic matters, mercury and the like) on the earth surface. Applications in particular areas include tracking and predicting the release of radioactive substances, volcanic ash, wildfire smoke.
However, in operation, such models require meteorological input field data in a corresponding format, for example, hypersplit uses ARL format data, while other modes mostly use data in a time node segmented grib format, the models are different in applicable meteorological field data format, and domestic meteorological data cannot be directly applied to such modes, and meteorological data from different sources are applicable to different modes, which causes inconvenience for cross validation and service use among the modes. Therefore, a method for converting and processing the meteorological field data suitable for the HYSPLIT particle Lagrange atmospheric diffusion model is needed to be developed to quickly construct model input meteorological field data so as to facilitate related scientific research and business work based on the model.
Disclosure of Invention
In view of the above, the present invention provides a meteorological field data conversion method suitable for the HYSPLIT particle Lagrange atmospheric diffusion model, and the method of the present invention is adopted to store the converted meteorological input field data information in segments, so that readability is high, segment data can be quickly merged, and a meteorological field file required by the HYSPLIT model is generated.
The invention content is as follows: in order to solve the technical problems, the technical means adopted by the invention is as follows: a meteorological field data conversion method suitable for a HYSPLIT particle Lagrange atmospheric diffusion model comprises the following steps:
s1: reading the meteorological field data to be converted on time, and extracting element data in the data, wherein the element data comprises time, direction, ground variables, hierarchical information and lattice point setting;
s2: performing data resolution matching processing on the hierarchical information in the extracted element data according to the grid resolution of the ARL hierarchical data in the HYSPLIT mode, and setting time, ground variables and grid points extracted in step S1 as head information of the ARL; simultaneously, the azimuth and the layered information are arranged at the tail part of the head information according to an ARL data structure, so that a layered binary data text of a plurality of time nodes is formed;
s3: and splicing the layered binary data texts of the multiple time nodes obtained in the step S2 to complete binary file conversion input in the HYSPLIT mode.
Further, step S3 splices the layered binary data text using cat or type commands.
Further, in step S1, the meteorological field data to be converted is output data in a grib mode, a netcdf mode, or a grams mode.
Further, in step S2, the header information is in a 50-byte data format.
Has the advantages that: compared with the prior art, the method has the advantages that the converted meteorological input field data information is stored in a segmented mode, readability is high, segmented data can be rapidly combined and processed, and the meteorological field file required by the HYSPLIT model is generated.
Drawings
Fig. 1 is a schematic flow chart of the meteorological field data conversion method suitable for the HYSPLIT particle Lagrange atmospheric diffusion model.
Detailed Description
The invention will be further elucidated with reference to the following description of an embodiment in conjunction with the accompanying drawing. It is to be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention, which is to be given the full breadth of the appended claims and any and all equivalent modifications thereof which may occur to those skilled in the art upon reading the present specification.
Referring to fig. 1, the meteorological field data conversion processing method suitable for the HYSPLIT particle Lagrange atmospheric diffusion model of the present invention includes the following steps:
the first step is as follows: meteorological elements of different heights of the meteorological field to be converted are read in time. For example: reading the grib and netcdf fine grid data or the Grapes mode output result data, finding corresponding information in the converted meteorological field and extracting the corresponding information, wherein the corresponding information comprises data such as corresponding time, direction, ground variables, hierarchical information, lattice point setting and the like;
the second step is that: the hierarchical information in the extracted element data is subjected to data resolution matching processing in accordance with the mesh resolution of the ARL hierarchical data in the HYSPLIT mode (all data record lengths match by a plurality of time node hierarchical binary data files having resolutions matching the ARL data), and is set as the head information of the ARL, i.e., index ASCII records, which contain information of time, lattice point setting, variables, and layers, and employs one 50-byte head record, with the time, ground variables, and lattice points extracted in step S1. And simultaneously, the orientation and the layering information are arranged at the tail part of the head information according to an ARL data structure, and the data is data of X bytes by Y bytes (X, Y are lattice points in the horizontal direction and the vertical direction). All data is compressed into one byte, and the compression is based on the difference of the data of adjacent grid points. The data of the ground variable is preceded and the data of the hierarchical variable is followed in one time, so that hierarchical binary data texts of a plurality of time nodes are formed.
The third step: and carrying out data splicing on the layered binary data texts of the plurality of time nodes. And executing data file splicing through a system cat or type command to generate a finished binary file suitable for HYSPLIT mode input, so that all data conversion processing is finished.
And all the grid information in the second step is stored in the corresponding segmented files. All the grid information in the third step is stored in the same file;
finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (4)
1. A meteorological field data conversion method suitable for a HYSPLIT particle Lagrange atmospheric diffusion model is characterized by comprising the following steps:
s1: reading the meteorological field data to be converted on time, and extracting element data in the data, wherein the element data comprises time, direction, ground variables, hierarchical information and lattice point setting;
s2: performing data resolution matching processing on the hierarchical information in the extracted element data according to the grid resolution of the ARL hierarchical data in the HYSPLIT mode, and setting time, ground variables and grid points extracted in step S1 as head information of the ARL; simultaneously, the azimuth and the layered information are arranged at the tail part of the head information according to an ARL data structure, so that a layered binary data text of a plurality of time nodes is formed;
s3: and splicing the layered binary data texts of the multiple time nodes obtained in the step S2 to complete binary file conversion input in the HYSPLIT mode.
2. The meteorological field data conversion method suitable for the HYSPLIT particle Lagrangian atmospheric diffusion model according to claim 1, wherein: step S3 stitches the layered binary data text using cat or type commands.
3. The meteorological field data conversion method suitable for the HYSPLIT particle Lagrangian atmospheric diffusion model according to claim 1, wherein: in step S1, the meteorological field data to be converted is output data in a grib mode, a netcdf mode or a Grapes mode.
4. The meteorological field data conversion method suitable for the HYSPLIT particle Lagrangian atmospheric diffusion model according to claim 1, wherein: the header information is in 50-byte data format in step S2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011101346.2A CN112232026A (en) | 2020-10-15 | 2020-10-15 | Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011101346.2A CN112232026A (en) | 2020-10-15 | 2020-10-15 | Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112232026A true CN112232026A (en) | 2021-01-15 |
Family
ID=74113016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011101346.2A Pending CN112232026A (en) | 2020-10-15 | 2020-10-15 | Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112232026A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116010525A (en) * | 2023-02-02 | 2023-04-25 | 国家气象信息中心(中国气象局气象数据中心) | Meteorological mode data decoding processing method |
-
2020
- 2020-10-15 CN CN202011101346.2A patent/CN112232026A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116010525A (en) * | 2023-02-02 | 2023-04-25 | 国家气象信息中心(中国气象局气象数据中心) | Meteorological mode data decoding processing method |
CN116010525B (en) * | 2023-02-02 | 2023-10-13 | 国家气象信息中心(中国气象局气象数据中心) | Meteorological mode data decoding processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101446971B (en) | Method for building content management system and device thereof | |
CN108446313B (en) | Data format conversion method and device | |
CN102999524B (en) | A kind of document associations search method and system | |
CN103440282B (en) | A kind of test data storage system and method | |
CN102508919A (en) | Data processing method and system | |
CN114138861A (en) | Multi-source heterogeneous data processing method, device and system | |
CN112232026A (en) | Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model | |
CN106802928A (en) | Power network historical data management method and its system | |
CN114913376A (en) | Image-based defect automatic identification method, device and system and storage medium | |
CN102411498A (en) | Method for realizing data model and graphical designer | |
CN112052248A (en) | Audit big data processing method and system | |
CN116028574A (en) | Government full life cycle big data management system and method thereof | |
CN115858498A (en) | Five-dimensional space-time distributed database construction method and device | |
CN116050579A (en) | Building energy consumption prediction method and system based on depth feature fusion network | |
CN100579032C (en) | Performance data automated management system and method | |
US20110158242A1 (en) | Transporting object packets in a nested system landscape | |
CN110334024A (en) | A kind of testing case management based on tree, device and terminal | |
CN112883689A (en) | Processing method of credit investigation second generation credit report finger derivative variable | |
CN112699117A (en) | Data transmission system, data transmission method, device and medium based on Internet of things | |
CN115766447B (en) | Equipment function updating method and device | |
Lyu et al. | Design and implementation of railway green performance basic data collection system | |
CN107967369B (en) | Method for converting data in cache into array structure | |
CN116132432B (en) | Thunderstorm warning picture generation algorithm design method for cloud cooperation | |
CN117786705B (en) | Statement-level vulnerability detection method and system based on heterogeneous graph transformation network | |
KR102645797B1 (en) | CAD drawing high-speed display method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |