arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.07752cs.SE
收藏

用代码分析法解析地理模型输入输出的数据格式

Parsing Data Formats of the Inputs and Outputs of Geographic Models with Code Analysis

Xinghua Cheng, Di Hu, Handong He, Guonian Lv, A-Xing Zhu

摘要:

模型Web服务提供了一种实现和促进地理模型共享的方法。地理模型输入输出的描述和获取是构建和使用模型Web服务的关键问题。这些用于描述和获取地理模型IO的数据格式的方法可以分为两类,即,基于中间数据格式和基于本地数据格式。然而,这两个类别主要考虑的是对地理模型IO的描述,而对获取的关注相对较少。为了解决这个问题,本文提出了一种方法来自动解析数据格式的IO之间的关系,利用IO和源代码。该方法可以利用这种严格耦合的关系和源代码中数据格式的表达形式,回溯推导IO数据格式,自动生成数据格式文档。通过一个用FORTRAN语言编写的地理模型验证了该方法的可行性,结果表明,该方法显著提高了数据格式规范的编写效率,促进了地理模型作为模型Web服务的共享。

英文摘要:

Model web services provide an approach for implementing and facilitating the sharing of geographic models. The description and acquisition of inputs and outputs (IO) of geographic models is a key issue in constructing and using model web services. These approaches for describing and acquiring the data formats of the IO of geographic models can be classified into two categories, i.e., intermediate-data-format-based and native-data-format-based. Nonetheless, these two categories mainly consider the description of the IO of geographical models but relatively pay little attention to the acquisition. To address this issue, this paper proposes an approach for automatically parsing data formats of the IO utilizing the relationship between the IO and source codes. This proposed approach can utilize such a strict and coupling relationship and the expression form of the data formats in the source codes to retrospectively derive the IO data format and automatically generate data format documentation. The feasibility of the proposed approach has been verified via a geographical model coded in the FORTRAN language, which shows that it significantly improves the efficiency of writing data format specifications and promotes sharing geographic models as model web services.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑