摘要
针对目前高分辨率数值模式资料在预报业务中难以有效应用问题,开发了基于Web的数值模式交互显示系统,该系统分为服务器端和浏览器客户端2部分。服务器端由数据接收及处理、Web服务器2个核心模块组成,模式数据处理采用Grib码或NC格式,节省了存储空间并保留了完整的预报信息;利用Python语言Django框架搭建的Web服务器,通过httpRequest机制接收前端绘图信息,在服务器端应用Python扩展包pyGrADS在后台生成预报图形,并以图片的形式返回浏览器,实现了在B/S架构下进行实时交互显示数值模式的功能。在浏览器客户端建立了可自由选择区域和变量的交互前端显示界面,并根据预报思路,设计不同的天气预报图形模板,能够快速生成各种预报图形。
In order to overcome the problem that the high resolution numerical model is difficult to be applied in the operational forecasting,the fine weather analysis system is developed based on Web.The system uses the B/S architecture,and the server side is made up of two core modules:data acquisition and preprocessing,and Web server.The model data processing is conducted directly using the grib code or NC format,which saves the storage space and retains the complete forecast information.The Django framework is established by the Python Web programming language,through the httpRequest mechanism to receive the front-end drawing information,and the Python extended packet pyGrADS is applied on the server side to generate forecast graphics in the background,which returns to the browser in the form of pictures,so to realize the function of real-time interactive display of numerical models in the B/S architecture.In the browser side,a simple interactive display interface that allows selecting freely the areas and variables is established,and according to the forecast ideas,different weather forecast graphics templates are designed for different categories,which can quickly generate various forecast graphics.
出处
《气象科技》
2018年第1期194-199,共6页
Meteorological Science and Technology
基金
国家科技支撑计划中期天气预报关键技术集成与业务系统建设项目(2015BAC0B07)资助
关键词
B/S架构
交互显示系统
预报平台
B/S architecture
interactive display system
~orecast plat{orm