# IonexFileReader **Repository Path**: llongww/IonexFileReader ## Basic Information - **Project Name**: IonexFileReader - **Description**: IONEX 文件解析库 - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-09-13 - **Last Updated**: 2024-09-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: IONEX, 空间电离层数据交换格式, IONosphereMapEXchange ## README # IonexFileReader #### 介绍 IONEX 文件解析库,C++23,在VS2022下编译通过,推荐使用vcpkg安装pegtl依赖库。 IONEX(IONosphere Map EXchange)是最常用的空间电离层数据交换格式。 #### 依赖库 PEGTL: https://github.com/taocpp/PEGTL #### 示例 ```cpp std::ifstream s("iscg0010.22i", std::ios::binary); std::istreambuf_iterator beg(s), end; std::string str(beg, end); Ionex::IonexFile file(std::move(str)); if (!file.load()) { std::println("load ionex file failed:{}", filepath); } else { std::println("load ionex file success:{}", filepath); } ``` #### 参考文献: https://gssc.esa.int/wp-content/uploads/2018/07/ionex11.pdf