摘要
以水文模型SWAT为例,探索了带源代码的Fortran程序向Web Service封装的方法。根据地理模型中传输参数多的特点以及模块内部存在读文件(长期、地理数据量大)的情况,分别给出了以文件的方式传输数据和传输文件指针参数的解决方案。该封装为实现分布式的地理模型环境打下了基础。
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.
出处
《计算机科学与探索》
CSCD
2011年第3期221-228,共8页
Journal of Frontiers of Computer Science and Technology
基金
国家自然科学基金
国家重点基础研究发展规划(973)~~