mcc_ccte_iers.h: fix std::regex for parsing IERS Bulletin A data

mcc_coord_test.cpp: add IERS Bulletine A loading testing
This commit is contained in:
2026-10-12 17:08:27 +03:00
parent 33e79075fc
commit b51c7c2aad
3 changed files with 508 additions and 2 deletions

View File

@@ -479,8 +479,12 @@ private:
inline static const std::regex bull_tab_title_rx{"^ *MJD +x\\(arcsec\\) +y\\(arcsec\\) +UT1-UTC\\(sec\\) *$"};
// inline static const std::regex bull_tab_vals_rx{
// "^ *[0-9]{4,} +[0-9]{1,2} +[0-9]{1,2} +[0-9]{5,} +[0-9]+\\.[0-9]+
// +[0-9]+\\.[0-9]+ +[0-9]+\\.[0-9]+ *$"};
inline static const std::regex bull_tab_vals_rx{
"^ *[0-9]{4,} +[0-9]{1,2} +[0-9]{1,2} +[0-9]{5,} +[0-9]+\\.[0-9]+ +[0-9]+\\.[0-9]+ +[0-9]+\\.[0-9]+ *$"};
"^ *[0-9]{4,} +[0-9]{1,2} +[0-9]{1,2} +[0-9]{5,} +(\\+|\\-)?[0-9]+\\.[0-9]+ +(\\+|\\-)?[0-9]+\\.[0-9]+ "
"+(\\+|\\-)?[0-9]+\\.[0-9]+ *$"};
time_point_t _date;