Petrogeochemical diagrams are effective and common tools in current pertrogeochemical research, used for rock classification,genetic discrimination of rocks and ore deposits,tectonic environment discrimina-tion,and evaluation of the geological evolutionary history.This paper examines the analysis support softwares for petrogeochemical diagrams and identifies the key issues related to the softwares.These issues include the limitations of available diagram types and quantity,the lack of automation,the weakness of software independ-ence,and so on.By collecting 232 diagrams,which show 8 different categories of petrogeochemical fields,we used the postfix expression to calculate and plot diagrams of these fields automatically and used XML to define and extend the diagrams.A program based on expertsworkflow in the field of petrogeochemistry is designed, which can be used to draw,plot,and compute petrogeochemical diagrams,and also can be used in common methods of calculation,such as CIPW.%岩石地球化学图解是目前岩石地球化学研究工作中常用的有效手段,其对岩石分类、岩石和矿床的成因判别、构造环境判别和地质演化历史等方面的研究有重要的意义。通过对目前国内外常用的岩石地球化学图解辅助分析软件的分析,发现此类软件亟待解决的关键问题,即收录图解的种类和数量有限且不易扩展、使用过程自动化程度不高和软件独立性不强等。在收集整理了岩石地球化学领域8个大类、232幅图解的基础上,提出采用后缀表达式实现投点过程自动化和使用 XML 定义、扩展图解,按照岩石地球化学领域专家的工作流程,设计实现岩石地球化学图解成图、投点和计算软件以及 CIPW 等岩石地球化学常用计算方法。
展开▼