数据与计算发展前沿 ›› 2026, Vol. 8 ›› Issue (3): 59-67.

doi: 10.11871/jfdc.issn.2096-742X.2026.03.006

• 专刊:第二十一届全国科学计算与信息化会议征文 • 上一篇    下一篇

通用天文卫星数据文件模板生成平台设计与实现

李士元1,2(),侯书进1,马想2,黄跃2,郑世界2,葛明玉2,王爽2,*()   

  1. 1 南阳师范学院河南 南阳 473061
    2 中国科学院高能物理研究所北京 100049
  • 收稿日期:2025-11-24 出版日期:2026-06-20 发布日期:2026-06-18
  • 通讯作者: 王爽
  • 作者简介:李士元,南阳师范学院物理与电子工程学院,硕士生,主要研究方向为天文卫星数据处理。
    本文中负责通用天文卫星数据文件模板生成平台设计与实现,文章内容撰写。
    LI Shiyuan is currently a master’s student at the Physics and Electronic Engineering, Nanyang Normal University, His main research interests include astronomical satellites data processing.
    In this paper, he is responsible for the design and implementation of the universal astronomical satellite data file template generation platform, as well as manuscript writing.
    Email: lishiyuan@ihep.ac.cn|王爽,博士,中国科学院高能物理研究所,工程师,主要研究方向为天文卫星科学数据处理软件框架研发和科学数据共享。
    本文中负责技术方案制定,论文修改与审定。
    WANG Shuang, Ph.D., is an engineer at the Institute of High Energy Physics, Chinese Academy of Sciences. Her main research interests include development of software frameworks for astronomical satellite scientific data processing and scientific data sharing.
    In this paper, she is responsible for the technical solution design, manuscript revision, and manuscript finalization.
    Email: wangshuang@ihep.ac.cn
  • 基金资助:
    国家自然科学基金(U1938116);谢家麟基金(E45469U210);河南省自然科学基金(242300420261)

Design and Implementation of Universal Astronomical Data File Template Framework

LI Shiyuan1,2(),HOU Shujin1,MA Xiang2,HUANG Yue2,ZHENG Shijie2,GE Mingyu2,WANG Shuang2,*()   

  1. 1 Nanyang Normal University, Nanyang, Henan 473061, China
    2 Institute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, China
  • Received:2025-11-24 Online:2026-06-20 Published:2026-06-18
  • Contact: WANG Shuang

摘要:

【背景】天文学中,数据文件模板是存储标准化卫星数据产品的载体,能够保证数据一致性,提升数据标准化存储能力。天文卫星数据处理过程通过观测数据反推天体源的入射信息,生成能谱、光变和图像等,进而推断发生的物理过程,每一步产生的结果通过数据文件记录保存,以保证数据的标准化存储。FITS(Flexible Image Transport System,普适图像传输系统)格式因具有自描述性、灵活性和兼容性,目前成为天文数据交换和存储的标准格式。 【目的】针对当前天文卫星数据文件模板生成方式复杂且不通用的问题,本文设计并实现了一个通用的天文卫星数据文件模板生成平台。 【方法】通过调研现有卫星数据文件模板的生成方式,本研究基于Flask框架构建了前后端分离的可视化交互平台,主要功能包括重复关键字提取、关键字自动分类、模板生成和文件模板库管理,实现了模板生成流程的自动化。 【结果】通过对CATCH-01、eXTP、GECAM等多颗卫星的关键词信息进行分类与数据文件模板生成测试,实验结果验证了该平台的实用性和准确性。 【结论】本文设计并构建了数据文件模板生成平台,作为数据处理过程的一部分,为科学用户提供了标准化的存储服务,提升了天文卫星数据产品生成过程的规范性。

关键词: 数据文件模板, 天文卫星, FITS, 数据处理, 标准化

Abstract:

[Background] In astronomy, data file templates serve as standardized containers for satellite data products, ensuring data consistency and enhancing the capability of standardized data storage. The satellite data processing workflow involves reconstructing incident source information from observational data to generate energy spectra, light curves, and images, thereby enabling the inference of underlying physical processes. Each step in this pipeline is recorded and preserved using data file templates to maintain standardized data storage. The FITS (Flexible Image Transport System) format has become the standard for astronomical data exchange and storage due to its self-describing nature, flexibility, and compatibility. [Objective] To address the complexity and lack of generalizability in current astronomical satellite data file template generation methods, this paper designs and implements a universal platform for generating data file templates for astronomical satellites. [Methods] By investigating existing satellite data file template generation approaches, this study developes a visualization platform with a decoupled front-end and back-end architecture based on the Flask framework. Key functionalities include duplicate keyword extraction, automatic keyword classification, template generation, and file template library management, achieving full automation of the template generation workflow. [Results] The platform is tested on multiple satellites, including CATCH-01, eXTP, and GECAM, for keyword classification and data file template creation. Experimental results demonstrate the platform’s practicality and accuracy. [Conclusions] This study designs and constructs a data file template generation platform that provides standardized storage services for scientific users as part of the data processing pipeline, enhancing the standardization of the data product generation process for astronomical satellites.

Key words: data file template, astronomical satellite, FITS, data processing, standardization