计算机科学与探索 ›› 2011, Vol. 5 ›› Issue (3): 221-228.

• 学术研究 • 上一篇    下一篇

Fortran地理模型的拆分与服务化封装

汪小林, 邓 浩, 王海波, 庞 潇, 罗英伟   

  1. 北京大学 信息科学技术学院, 北京 100871
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-03-01 发布日期:2011-03-01

Split and Web Service Encapsulation of Fortran Geographical Model

WANG Xiaolin, DENG Hao, WANG Haibo, PANG Xiao, LUO Yingwei   

  1. School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-03-01 Published:2011-03-01

摘要: 以水文模型SWAT为例, 探索了带源代码的Fortran程序向Web Service封装的方法。根据地理模型中传输参数多的特点以及模块内部存在读文件(长期、地理数据量大)的情况, 分别给出了以文件的方式传输数据和传输文件指针参数的解决方案。该封装为实现分布式的地理模型环境打下了基础。

关键词: Web服务, 封装, 地理模型, 土壤和水文评估工具(SWAT), 分布式地理建模环境

Abstract: This paper takes the hydrological model SWAT as an example, explores the encapsulation technology which encapsulates a Fortran source code into a Web Service. In the geographical models, there are a great many of global variable parameters and internal file readings, which is different from the traditional encapsulation situation. To solve this problem, this paper puts forward a method which makes use of file to transport global variables and file pointer parameters. This encapsulation work is the basis of creating the distributed geographical model environment.

Key words: Web Service, encapsulation, geographical model, soil and water assessment tool (SWAT), distributed geographical model environment