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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user