Application of the MARS to Data Management of NWP Productions
-
摘要: 该文简单介绍MARS (Meteorological Archival and Retrieval System) 软件的架构及组成部分,并基于MARS软件,介绍了数值预报产品数据管理系统设计与实现。通过在GRIB2数据段对应描述层次类型和气象要素的表格文件中定义新的层次类型和气象要素,在MARS软件解析GRIB2数据所需要查找的相关模板表格文件中定义气象要素对应的产品类型号、要素类别号、要素号、要素名称和要素名称缩写,说明GRIB2数据模板和代码表创建方法。以GRAPES模式产品GRIB2数据为例,实现应用MARS软件管理GRAPES模式产品GRIB2数据。结合存储管理TSM (Tivoli Storage Manager) 软件,研究开发MARS软件和TSM软件连接接口程序,实现数据的直接迁移和回调。以T639L60模式产品为例,通过测试检索性能,MARS软件检索数值预报产品速度超过当前国家级气象数据管理系统数据检索速度1倍,说明MARS软件检索数值预报产品数据具有时效优势。Abstract: The NWP model runs several times every day, creating a large number of files of hundred megabytes each. In the current national meteorological data management system, the NWP model data are managed by the combination of file system and database system, which improves the operation of relative data compared to the traditional file system or database system alone. But data are separated from their index and description, which makes it difficult to manage the massive data of NWP productions.The MARS (Meteorological Archive and Retrieve System) based on the description of meteorology can be used to resolve the above problems. The client-server architecture of the MARS is introduced briefly, and functional components of the MARS are also explained in detail. A data management solution for the national operational NWP model is designed based on the current version of the MARS. According to the characteristic of table-driven code formats, the method of creating GRIB2 code tables and templates is introduced. The application programming interface (API) between the MARS and the Tivoli Storage Manager (TSM) is studied and implemented, considering the I/O feature of disk and tape, and API achieves direct data flushing and retrieving. Taking GRIB2 data of GRAPES global model production for example, data management is implemented by the MARS. Performance test indicates that the MARS can accelerate retrieving of certain data by over one time, demonstrating great advantages of time efficiency.The MARS integrates the meteorological content orient data management technique and the hierarchical storage management technique. Its adaptability and scalability are also verified through long time application in many meteorological centers, showing wider application prospect in the field of NWP production data management.
-
表 1 气象数值模式要素场属性及示例取值
Table 1 Attributes for meteorological parameter fields
要素场属性 示例取值 类别 (Class) Operational 版本 (Version) 1 数据流 (Stream) Daily archive 类型 (Type) Forecast 要素 (Parameter) Temperature 层次类型 (Level Type) Pressure level 层次 (Level) 1000 hPa 日期 (Date) 1993-08-10 时次 (Base Time) 1200 预报时效 (Time Step) 120 h 成员 (Member for EPS) 42 表 2 CIMISS的数据管理系统和基于MARS软件的数值预报模式产品数据管理系统检索T639L60模式产品性能
Table 2 Performance of retrieving T639L60 model production by the data management system of CIMISS and the MARS based system
系统 要素 GRIB2消息数 数据量/MB 耗时/s CIMISS 温度 32 5.23 6 全部 344 61.58 60 MARS 温度 32 5.23 2.85 全部 344 61.58 28.94 -
[1] 陈德辉, 薛纪善.数值天气预报业务模式现状与展望.气象学报, 2004, 62(5):623-633. doi: 10.11676/qxxb2004.061 [2] 矫梅燕, 龚建东, 周兵, 等.天气预报的业务技术进展.应用气象学报, 2006, 17(5):594-601. doi: 10.11898/1001-7313.20060502 [3] 张玺.并行文件系统下数据迁移功能的实现.北京信息科技大学学报, 2012, 12(5):77-80. http://www.cnki.com.cn/Article/CJFDTOTAL-BJGY201205018.htm [4] 沈文海, 赵芳, 高华云, 等.国家级气象资料存储检索系统的建立.应用气象学报, 2004, 15(6):727-736. http://qikan.camscma.cn/jams/ch/reader/view_abstract.aspx?file_no=20040690&flag=1 [5] 李集明, 沈文海, 王国复.气象信息共享平台及其关键技术研究.应用气象学报, 2006, 17(5):621-628. doi: 10.11898/1001-7313.20060505 [6] 国家气象信息中心. 新一代天气雷达信息共享平台总体设计. 北京: 中国气象局, 2009. [7] 杨润芝, 马强, 李德泉, 等.内存转发模型在CIMISS数据收发系统中的应用.应用气象学报, 2012, 23(3):377-384. http://qikan.camscma.cn/jams/ch/reader/view_abstract.aspx?file_no=20120315&flag=1 [8] Raoult B.Data Handling via MARS at ECMWF.ECMWF Newsletter, 1996, 72:15-19. http://www.ecmwf.int/ [9] Raoult B.Implementing MARS using object-oriented technology.ECMWF Newsletter, 1997, 75:9-10. http://www.advancedtraining.com.au/training-courses/elioocjpl-implementing-objectoriented-concepts-in-the-java-programming-language-wj1103se6-sun-v20.php [10] Raoult B.MARS, ECMWF's Meteorological Archive:Experience in Managing a Large Archive.[2013-12-10]. http://vds.cnes.fr/manifestations/PV2002/DATA/1-5_raoult.pdf. [11] Raoult B.Architecture of the new MARS server.[2013-12-10]. http://www.ecmwf.int/publications/manuals/mars/server.pdf. [12] ECMWF Operations Department.MARS User Guide.[2013-12-20]. http://www.ecmwf.int/publications/manuals/mars/guide/MarsUserGuide.pdf. [13] ECMWF EMOSLIB.[2014-09-27]. https://software.ecmwf.int/wiki/display/EMOS/Emoslib. [14] 伍湘君, 金之雁, 黄丽萍, 等.GRAPES模式软件框架与实现.应用气象学报, 2005, 16(4):539-546. doi: 10.11898/1001-7313.20050415 [15] 麻素红, 吴俞, 瞿安祥, 等.T213与T639模式热带气旋预报误差对比.应用气象学报, 2012, 23(2):167-173. doi: 10.11898/1001-7313.20120205 [16] 闫之辉, 王雨, 朱国富.国家气象中心业务数值预报发展的回顾与展望.气象, 2010, 36(7):26-32. doi: 10.7519/j.issn.1000-0526.2010.07.007 [17] 刘媛媛, 应显勋, 赵芳.GRIB2介绍及解码初探.气象科技, 2006, 34(增刊Ⅰ):61-64. http://www.cnki.com.cn/Article/CJFDTOTAL-QXKJ2006S1014.htm [18] 国家气象信息中心通信台.表格驱动码编码手册.北京:气象出版社, 2005. [19] WMO.Guide to the WMO Table Driven Code Form Used for the Representation and Exchange of Regularly Spaced Data In Binary Form:FM 92 GRIB Edition 2.[2013-12-10]. http://www.wmo.int/pages/prog/www/WMOCodes/Guides/GRIB/GRIB2_062006.pdf. [20] WMO.Introduction to GRIB Edition1 and GRIB Edition 2.[2013-12-10]. http://www.wmo.int/pages/prog/www/WMOCodes/Guides/GRIB/Introduction_GRIB1-GRIB2.pdf. [21] ECMWF.Grib decoder.[2013-12-10]. https://software.ecmwf.int/wiki/display/GRIB/Home. [22] IBM Tivoli Storage Manager for AIX Version 6.2 Using the Application Programming Interface.[2014-09-15]. http://pic.dhe.ibm.com/infocenter/tsminfo/v6r2/topic/com.ibm.itsm.client.develop.doc/b_api_using.pdf.