摘要
目前大气辐射传输计算软件基本上采用Fortran开发,由于Fortran是基于科学计算的高级语言,在界面设计、人机交互等方面较弱,而Visual C++(VC)有着强大的人机交互和图像处理能力,因此VC与Fortran混合编程可以发挥各自长处。针对现有VC与Fortran混合编程基于DLL库和基于文件操作方式不易升级和扩展的不足,提出了利用COM组件技术实现VC与Fortran混合编程的方法,并给出了通过混合编程实现大气辐射传输计算模块的例子。实验证明这种方法是行之有效的,可广泛应用于大气修正、光学遥感成像模拟系统等的开发中。
Current atmospheric radiation transmission calculating software(ARTCS) is basically developed by Fortran. As an advanced language based on scientific computation, Fortran is feeble in interface design and human-computer interaction and so on, while Visual C++ (VC) has strong ability to realize human-computer interaction and image processing. VC and Fortran can play their respective advantages by joint programming Joint programming of VC and Fortran, mainly based on DLL library and operating files, is not easy to extend and update. Aimed at this problem, the joint programming of VC and Fortran with the COM technology is expounded and a practical example of joint programming is given in atmospheric radiation transmission module. It is proved that the method is effective and can be widely used in the development of atmospheric correction and optical remote sensing imaging simulation system
出处
《大气与环境光学学报》
CAS
2007年第5期381-385,共5页
Journal of Atmospheric and Environmental Optics
基金
国家自然科学基金(40571105)
中科院知识创新项目(O53H931291)
关键词
COM
混合编程
辐射传输
计算
COM
joint programming
radiation transmission
computation