Compare commits
25 Commits
537207cd16
...
alpha0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| b51c7c2aad | |||
| 33e79075fc | |||
| 2916bd4541 | |||
| 42f43cc1a1 | |||
| cd97ed875f | |||
| b3c7584205 | |||
| 5984bc5204 | |||
| d865e51ffb | |||
| 6e6f230f4d | |||
| a1f17f0d76 | |||
| e1a136a839 | |||
| 3497850e1f | |||
| e9c329d88f | |||
| 445a029a2f | |||
| 8e5e3631ba | |||
| 304464dbda | |||
| 4b5a390987 | |||
| 47ba7342e7 | |||
| c5f17b7403 | |||
| 8d36444c51 | |||
| d40ecb5df7 | |||
| d8130cede2 | |||
| 056c152d49 | |||
|
|
9630751a4d | ||
| 3dbe4c12b7 |
@@ -355,6 +355,9 @@ if(BUILD_TESTS)
|
|||||||
|
|
||||||
add_executable(mcc_pcm_z1000_test tests/mcc_pcm_z1000_test.cpp)
|
add_executable(mcc_pcm_z1000_test tests/mcc_pcm_z1000_test.cpp)
|
||||||
target_link_libraries(mcc_pcm_z1000_test PRIVATE ${PROJECT_NAME})
|
target_link_libraries(mcc_pcm_z1000_test PRIVATE ${PROJECT_NAME})
|
||||||
|
|
||||||
|
add_executable(mcc_keyvalue_test tests/mcc_keyvalue_test.cpp)
|
||||||
|
target_link_libraries(mcc_keyvalue_test PRIVATE ${PROJECT_NAME})
|
||||||
else()
|
else()
|
||||||
# This is just a stub to allow access to the path and library settings for the ${PROJECT_NAME} target during development
|
# This is just a stub to allow access to the path and library settings for the ${PROJECT_NAME} target during development
|
||||||
add_executable(just_stub EXCLUDE_FROM_ALL main.cpp)
|
add_executable(just_stub EXCLUDE_FROM_ALL main.cpp)
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ include(FortranCInterface)
|
|||||||
FortranCInterface_HEADER(
|
FortranCInterface_HEADER(
|
||||||
FortranCInterface.h
|
FortranCInterface.h
|
||||||
MACRO_NAMESPACE "FC_"
|
MACRO_NAMESPACE "FC_"
|
||||||
# SYMBOL_NAMESPACE "fp_"
|
SYMBOL_NAMESPACE "fitpack_"
|
||||||
SYMBOL_NAMESPACE ""
|
#SYMBOL_NAMESPACE ""
|
||||||
# SYMBOLS ${func_str}
|
# SYMBOLS ${func_str}
|
||||||
SYMBOLS ${func_name}
|
SYMBOLS ${func_name}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -8,8 +8,11 @@
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* fitting on XY-grid */
|
/* fitting on XY-grid */
|
||||||
void surfit(int* iopt,
|
void fitpack_surfit(int* iopt,
|
||||||
|
// void surfit(int* iopt,
|
||||||
int* m,
|
int* m,
|
||||||
double* x,
|
double* x,
|
||||||
double* y,
|
double* y,
|
||||||
@@ -41,7 +44,8 @@ void surfit(int* iopt,
|
|||||||
int* ier);
|
int* ier);
|
||||||
|
|
||||||
/* XY-grid */
|
/* XY-grid */
|
||||||
void bispev(double* tx,
|
void fitpack_bispev(double* tx,
|
||||||
|
// void bispev(double* tx,
|
||||||
int* nx,
|
int* nx,
|
||||||
double* ty,
|
double* ty,
|
||||||
int* ny,
|
int* ny,
|
||||||
@@ -60,7 +64,8 @@ void bispev(double* tx,
|
|||||||
int* ier);
|
int* ier);
|
||||||
|
|
||||||
/* XY-grid */
|
/* XY-grid */
|
||||||
void parder(double* tx,
|
void fitpack_parder(double* tx,
|
||||||
|
// void parder(double* tx,
|
||||||
int* nx,
|
int* nx,
|
||||||
double* ty,
|
double* ty,
|
||||||
int* ny,
|
int* ny,
|
||||||
@@ -81,7 +86,8 @@ void parder(double* tx,
|
|||||||
int* ier);
|
int* ier);
|
||||||
|
|
||||||
/* fitting on sphere */
|
/* fitting on sphere */
|
||||||
void sphere(int* iopt,
|
void fitpack_sphere(int* iopt,
|
||||||
|
// void sphere(int* iopt,
|
||||||
int* m,
|
int* m,
|
||||||
double* teta,
|
double* teta,
|
||||||
double* phi,
|
double* phi,
|
||||||
@@ -106,7 +112,8 @@ void sphere(int* iopt,
|
|||||||
int* ier);
|
int* ier);
|
||||||
|
|
||||||
/* calculation for set of points (not grid) */
|
/* calculation for set of points (not grid) */
|
||||||
void bispeu(double* tx,
|
void fitpack_bispeu(double* tx,
|
||||||
|
// void bispeu(double* tx,
|
||||||
int* nx,
|
int* nx,
|
||||||
double* ty,
|
double* ty,
|
||||||
int* ny,
|
int* ny,
|
||||||
@@ -123,7 +130,8 @@ void bispeu(double* tx,
|
|||||||
|
|
||||||
|
|
||||||
/* calculation for set of points (not grid) */
|
/* calculation for set of points (not grid) */
|
||||||
void pardeu(double* tx,
|
void fitpack_pardeu(double* tx,
|
||||||
|
// void pardeu(double* tx,
|
||||||
int* nx,
|
int* nx,
|
||||||
double* ty,
|
double* ty,
|
||||||
int* ny,
|
int* ny,
|
||||||
@@ -257,23 +265,15 @@ int fitpack_sphere_smooth(const TethaT& tetha,
|
|||||||
if constexpr (std::ranges::contiguous_range<WeightT>) {
|
if constexpr (std::ranges::contiguous_range<WeightT>) {
|
||||||
auto weight_ptr = const_cast<double*>(std::ranges::data(weight));
|
auto weight_ptr = const_cast<double*>(std::ranges::data(weight));
|
||||||
|
|
||||||
sphere(&iopt, &m, tetha_ptr, phi_ptr, func_ptr, weight_ptr, &s_par, &nt, &np, &eps, &ntest, tetha_knots_ptr,
|
fitpack_sphere(&iopt, &m, tetha_ptr, phi_ptr, func_ptr, weight_ptr, &s_par, &nt, &np, &eps, &ntest,
|
||||||
&npest, phi_knots_ptr, std::ranges::data(coeffs), &resi2_sum, wrk1.data(), &lwrk1, wrk2.data(), &lwrk2,
|
tetha_knots_ptr, &npest, phi_knots_ptr, std::ranges::data(coeffs), &resi2_sum, wrk1.data(),
|
||||||
iwrk.data(), &kwrk, &res);
|
&lwrk1, wrk2.data(), &lwrk2, iwrk.data(), &kwrk, &res);
|
||||||
// sphere(&iopt, &m, std::ranges::data(tetha), std::ranges::data(phi), std::ranges::data(func),
|
|
||||||
// std::ranges::data(weight), &s_par, &ntest, &npest, &eps, &ntest, std::ranges::data(tetha_knots),
|
|
||||||
// &npest, std::ranges::data(phi_knots), std::ranges::data(coeffs), &resi2_sum, wrk1.data(), &lwrk1,
|
|
||||||
// wrk2.data(), &lwrk2, iwrk.data(), &kwrk, &res);
|
|
||||||
} else {
|
} else {
|
||||||
std::vector<double> weight_vec(m, weight);
|
std::vector<double> weight_vec(m, weight);
|
||||||
|
|
||||||
sphere(&iopt, &m, tetha_ptr, phi_ptr, func_ptr, weight_vec.data(), &s_par, &nt, &np, &eps, &ntest,
|
fitpack_sphere(&iopt, &m, tetha_ptr, phi_ptr, func_ptr, weight_vec.data(), &s_par, &nt, &np, &eps, &ntest,
|
||||||
tetha_knots_ptr, &npest, phi_knots_ptr, std::ranges::data(coeffs), &resi2_sum, wrk1.data(), &lwrk1,
|
tetha_knots_ptr, &npest, phi_knots_ptr, std::ranges::data(coeffs), &resi2_sum, wrk1.data(),
|
||||||
wrk2.data(), &lwrk2, iwrk.data(), &kwrk, &res);
|
&lwrk1, wrk2.data(), &lwrk2, iwrk.data(), &kwrk, &res);
|
||||||
// res = sphere(&iopt, &m, std::ranges::data(tetha), std::ranges::data(phi), std::ranges::data(func),
|
|
||||||
// weight_vec.data(), &s_par, &ntest, &npest, &eps, &ntest, std::ranges::data(tetha_knots), &npest,
|
|
||||||
// std::ranges::data(phi_knots), std::ranges::data(coeffs), &resi2_sum, wrk1.get(), &lwrk1,
|
|
||||||
// wrk2.get(), &lwrk2, iwrk.get(), &kwrk, &res);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -367,7 +367,7 @@ int fitpack_eval_spl2d_grid(const TXT& tx,
|
|||||||
auto x_ptr = const_cast<double*>(std::ranges::data(x));
|
auto x_ptr = const_cast<double*>(std::ranges::data(x));
|
||||||
auto y_ptr = const_cast<double*>(std::ranges::data(y));
|
auto y_ptr = const_cast<double*>(std::ranges::data(y));
|
||||||
|
|
||||||
bispev(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, x_ptr, &mx, y_ptr, &my, std::ranges::data(func),
|
fitpack_bispev(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, x_ptr, &mx, y_ptr, &my, std::ranges::data(func),
|
||||||
wrk.data(), &lwrk, iwrk.data(), &kwrk, &ier);
|
wrk.data(), &lwrk, iwrk.data(), &kwrk, &ier);
|
||||||
|
|
||||||
return ier;
|
return ier;
|
||||||
@@ -431,8 +431,10 @@ int fitpack_eval_spl2d(const TXT& tx,
|
|||||||
int lwrk = kx + ky + 2;
|
int lwrk = kx + ky + 2;
|
||||||
std::vector<double> wrk(lwrk);
|
std::vector<double> wrk(lwrk);
|
||||||
|
|
||||||
bispeu(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, x_ptr, y_ptr, std::ranges::data(func), &m, wrk.data(),
|
fitpack_bispeu(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, x_ptr, y_ptr, std::ranges::data(func), &m,
|
||||||
&lwrk, &ier);
|
wrk.data(), &lwrk, &ier);
|
||||||
|
// bispeu(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, x_ptr, y_ptr, std::ranges::data(func), &m, wrk.data(),
|
||||||
|
// &lwrk, &ier);
|
||||||
|
|
||||||
return ier;
|
return ier;
|
||||||
}
|
}
|
||||||
@@ -536,8 +538,8 @@ int fitpack_parder_spl2d_grid(const TXT& tx,
|
|||||||
|
|
||||||
int ier = 0;
|
int ier = 0;
|
||||||
|
|
||||||
parder(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, &dx, &dy, x_ptr, &mx, y_ptr, &my, std::ranges::data(pder),
|
fitpack_parder(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, &dx, &dy, x_ptr, &mx, y_ptr, &my,
|
||||||
wrk.data(), &lwrk, iwrk.data(), &kwrk, &ier);
|
std::ranges::data(pder), wrk.data(), &lwrk, iwrk.data(), &kwrk, &ier);
|
||||||
|
|
||||||
return ier;
|
return ier;
|
||||||
}
|
}
|
||||||
@@ -604,8 +606,8 @@ int fitpack_parder_spl2d(const TXT& tx,
|
|||||||
int kwrk = 2 * m;
|
int kwrk = 2 * m;
|
||||||
std::vector<int> iwrk(kwrk);
|
std::vector<int> iwrk(kwrk);
|
||||||
|
|
||||||
pardeu(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, &dx, &dy, x_ptr, y_ptr, std::ranges::data(pder), &m,
|
fitpack_pardeu(tx_ptr, &ntx, ty_ptr, &nty, coeffs_ptr, &kx, &ky, &dx, &dy, x_ptr, y_ptr, std::ranges::data(pder),
|
||||||
wrk.data(), &lwrk, iwrk.data(), &kwrk, &ier);
|
&m, wrk.data(), &lwrk, iwrk.data(), &kwrk, &ier);
|
||||||
|
|
||||||
return ier;
|
return ier;
|
||||||
}
|
}
|
||||||
@@ -645,5 +647,4 @@ int fitpack_parder_spl2d(const TXT& tx,
|
|||||||
return fitpack_parder_spl2d(tx, ty, coeffs, xv, yv, pv, dx, dy, kx, ky);
|
return fitpack_parder_spl2d(tx, ty, coeffs, xv, yv, pv, dx, dy, kx, ky);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace mcc::bsplines
|
} // namespace mcc::bsplines
|
||||||
|
|||||||
@@ -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_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{
|
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;
|
time_point_t _date;
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ static std::string MCC_DEFAULT_LEAP_SECONDS_FILE = R"--(
|
|||||||
# Value of TAI-UTC in second valid beetween the initial value until
|
# Value of TAI-UTC in second valid beetween the initial value until
|
||||||
# the epoch given on the next line. The last line reads that NO
|
# the epoch given on the next line. The last line reads that NO
|
||||||
# leap second was introduced since the corresponding date
|
# leap second was introduced since the corresponding date
|
||||||
# Updated through IERS Bulletin 71 issued in January 2026
|
# Updated through IERS Bulletin 72 issued in July 2026
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# File expires on 28 December 2026
|
# File expires on 28 June 2027
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# MJD Date TAI-UTC (s)
|
# MJD Date TAI-UTC (s)
|
||||||
@@ -67,7 +67,7 @@ static std::string MCC_DEFAULT_IERS_BULLETIN_A_FILE = R"--(
|
|||||||
* *
|
* *
|
||||||
* Rapid Service/Prediction of Earth Orientation *
|
* Rapid Service/Prediction of Earth Orientation *
|
||||||
**********************************************************************
|
**********************************************************************
|
||||||
2 April 2026 Vol. XXXIX No. 014
|
8 October 2026 Vol. XXXIX No. 041
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
GENERAL INFORMATION:
|
GENERAL INFORMATION:
|
||||||
MJD = Julian Date - 2 400 000.5 days
|
MJD = Julian Date - 2 400 000.5 days
|
||||||
@@ -76,7 +76,6 @@ static std::string MCC_DEFAULT_IERS_BULLETIN_A_FILE = R"--(
|
|||||||
where pi = 3.14159265... and T is the date in Besselian years.
|
where pi = 3.14159265... and T is the date in Besselian years.
|
||||||
TT = TAI + 32.184 seconds
|
TT = TAI + 32.184 seconds
|
||||||
DUT1= (UT1-UTC) transmitted with time signals
|
DUT1= (UT1-UTC) transmitted with time signals
|
||||||
= +0.1 seconds beginning 10 July 2025 at 0000 UTC
|
|
||||||
= 0.0 seconds beginning 09 April 2026 at 0000 UTC
|
= 0.0 seconds beginning 09 April 2026 at 0000 UTC
|
||||||
Beginning 1 January 2017:
|
Beginning 1 January 2017:
|
||||||
TAI-UTC = 37.000 000 seconds
|
TAI-UTC = 37.000 000 seconds
|
||||||
@@ -84,7 +83,7 @@ static std::string MCC_DEFAULT_IERS_BULLETIN_A_FILE = R"--(
|
|||||||
* ANNOUNCEMENTS: *
|
* ANNOUNCEMENTS: *
|
||||||
* *
|
* *
|
||||||
* There will NOT be a leap second introduced in UTC *
|
* There will NOT be a leap second introduced in UTC *
|
||||||
* at the end of June 2026. *
|
* at the end of December 2026. *
|
||||||
* *
|
* *
|
||||||
* The primary source for IERS Rapid Service/Prediction Center (RS/PC) *
|
* The primary source for IERS Rapid Service/Prediction Center (RS/PC) *
|
||||||
* data products is the official IERS RS/PC website: *
|
* data products is the official IERS RS/PC website: *
|
||||||
@@ -117,45 +116,13 @@ static std::string MCC_DEFAULT_IERS_BULLETIN_A_FILE = R"--(
|
|||||||
IERS Rapid Service
|
IERS Rapid Service
|
||||||
MJD x error y error UT1-UTC error
|
MJD x error y error UT1-UTC error
|
||||||
" " " " s s
|
" " " " s s
|
||||||
26 3 27 61126 0.11396 .00009 0.40616 .00009 0.054712 0.000011
|
26 10 2 61315 0.17334 .00009 0.32459 .00009 -0.023137 0.000021
|
||||||
26 3 28 61127 0.11608 .00009 0.40712 .00009 0.054331 0.000032
|
26 10 3 61316 0.17258 .00009 0.32394 .00009 -0.023648 0.000022
|
||||||
26 3 29 61128 0.11863 .00009 0.40798 .00009 0.053686 0.000028
|
26 10 4 61317 0.17187 .00009 0.32345 .00009 -0.024220 0.000021
|
||||||
26 3 30 61129 0.12094 .00009 0.40874 .00009 0.052844 0.000019
|
26 10 5 61318 0.17095 .00009 0.32294 .00009 -0.025006 0.000022
|
||||||
26 3 31 61130 0.12280 .00009 0.40912 .00009 0.051947 0.000019
|
26 10 6 61319 0.16982 .00009 0.32250 .00009 -0.026011 0.000022
|
||||||
26 4 1 61131 0.12462 .00009 0.40946 .00009 0.050966 0.000017
|
26 10 7 61320 0.16879 .00009 0.32217 .00009 -0.027264 0.000023
|
||||||
26 4 2 61132 0.12646 .00009 0.41014 .00009 0.050038 0.000017
|
26 10 8 61321 0.16813 .00009 0.32221 .00009 -0.028742 0.000022
|
||||||
|
|
||||||
IERS Final Values
|
|
||||||
MJD x y UT1-UTC
|
|
||||||
" " s
|
|
||||||
26 2 2 61073 0.0920 0.3625 0.07040
|
|
||||||
26 2 3 61074 0.0919 0.3635 0.06991
|
|
||||||
26 2 4 61075 0.0921 0.3643 0.06930
|
|
||||||
26 2 5 61076 0.0923 0.3657 0.06860
|
|
||||||
26 2 6 61077 0.0927 0.3671 0.06798
|
|
||||||
26 2 7 61078 0.0933 0.3684 0.06751
|
|
||||||
26 2 8 61079 0.0939 0.3692 0.06724
|
|
||||||
26 2 9 61080 0.0954 0.3699 0.06717
|
|
||||||
26 2 10 61081 0.0969 0.3714 0.06731
|
|
||||||
26 2 11 61082 0.0985 0.3728 0.06765
|
|
||||||
26 2 12 61083 0.0997 0.3744 0.06813
|
|
||||||
26 2 13 61084 0.1005 0.3754 0.06868
|
|
||||||
26 2 14 61085 0.1012 0.3769 0.06921
|
|
||||||
26 2 15 61086 0.1015 0.3779 0.06967
|
|
||||||
26 2 16 61087 0.1018 0.3784 0.06995
|
|
||||||
26 2 17 61088 0.1026 0.3795 0.06992
|
|
||||||
26 2 18 61089 0.1031 0.3808 0.06959
|
|
||||||
26 2 19 61090 0.1038 0.3817 0.06901
|
|
||||||
26 2 20 61091 0.1049 0.3823 0.06831
|
|
||||||
26 2 21 61092 0.1059 0.3835 0.06763
|
|
||||||
26 2 22 61093 0.1067 0.3847 0.06705
|
|
||||||
26 2 23 61094 0.1072 0.3859 0.06661
|
|
||||||
26 2 24 61095 0.1075 0.3866 0.06639
|
|
||||||
26 2 25 61096 0.1069 0.3872 0.06645
|
|
||||||
26 2 26 61097 0.1060 0.3878 0.06673
|
|
||||||
26 2 27 61098 0.1056 0.3879 0.06705
|
|
||||||
26 2 28 61099 0.1055 0.3884 0.06725
|
|
||||||
26 3 1 61100 0.1050 0.3892 0.06723
|
|
||||||
|
|
||||||
_______________________________________________________________________
|
_______________________________________________________________________
|
||||||
|
|
||||||
@@ -163,474 +130,423 @@ static std::string MCC_DEFAULT_IERS_BULLETIN_A_FILE = R"--(
|
|||||||
The following formulas will not reproduce the predictions given below,
|
The following formulas will not reproduce the predictions given below,
|
||||||
but may be used to extend the predictions beyond the end of this table.
|
but may be used to extend the predictions beyond the end of this table.
|
||||||
|
|
||||||
x = 0.1544 - 0.0968 cos A + 0.0895 sin A + 0.0606 cos C - 0.0356 sin C
|
x = 0.1598 + 0.0465 cos A - 0.1071 sin A - 0.0426 cos C + 0.0358 sin C
|
||||||
y = 0.3678 + 0.0806 cos A + 0.0916 sin A - 0.0356 cos C - 0.0606 sin C
|
y = 0.3762 - 0.0906 cos A - 0.0441 sin A + 0.0358 cos C + 0.0426 sin C
|
||||||
UT1-UTC = 0.0692 + 0.00002 (MJD - 61140) - (UT2-UT1)
|
UT1-UTC = -0.1023 - 0.00035 (MJD - 61329) - (UT2-UT1)
|
||||||
|
|
||||||
where A = 2*pi*(MJD-61132)/365.25 and C = 2*pi*(MJD-61132)/435.
|
where A = 2*pi*(MJD-61321)/365.25 and C = 2*pi*(MJD-61321)/435.
|
||||||
|
|
||||||
TAI-UTC(MJD 61133) = 37.0
|
TAI-UTC(MJD 61322) = 37.0
|
||||||
The accuracy may be estimated from the expressions:
|
The accuracy may be estimated from the expressions:
|
||||||
S x,y = 0.00068 (MJD-61132)**0.80 S t = 0.00025 (MJD-61132)**0.75
|
S x,y = 0.00068 (MJD-61321)**0.80 S t = 0.00025 (MJD-61321)**0.75
|
||||||
Estimated accuracies are: Predictions 10 d 20 d 30 d 40 d
|
Estimated accuracies are: Predictions 10 d 20 d 30 d 40 d
|
||||||
Polar coord's 0.004 0.007 0.010 0.013
|
Polar coord's 0.004 0.007 0.010 0.013
|
||||||
UT1-UTC 0.0014 0.0024 0.0032 0.0040
|
UT1-UTC 0.0014 0.0024 0.0032 0.0040
|
||||||
|
|
||||||
MJD x(arcsec) y(arcsec) UT1-UTC(sec)
|
MJD x(arcsec) y(arcsec) UT1-UTC(sec)
|
||||||
2026 4 3 61133 0.1279 0.4108 0.04922
|
2026 10 9 61322 0.1672 0.3223 -0.03029
|
||||||
2026 4 4 61134 0.1293 0.4116 0.04859
|
2026 10 10 61323 0.1664 0.3225 -0.03180
|
||||||
2026 4 5 61135 0.1305 0.4122 0.04817
|
2026 10 11 61324 0.1656 0.3226 -0.03321
|
||||||
2026 4 6 61136 0.1317 0.4127 0.04794
|
2026 10 12 61325 0.1646 0.3227 -0.03444
|
||||||
2026 4 7 61137 0.1329 0.4131 0.04781
|
2026 10 13 61326 0.1636 0.3227 -0.03546
|
||||||
2026 4 8 61138 0.1340 0.4133 0.04775
|
2026 10 14 61327 0.1624 0.3225 -0.03625
|
||||||
2026 4 9 61139 0.1351 0.4136 0.04767
|
2026 10 15 61328 0.1614 0.3223 -0.03684
|
||||||
2026 4 10 61140 0.1363 0.4138 0.04754
|
2026 10 16 61329 0.1603 0.3222 -0.03732
|
||||||
2026 4 11 61141 0.1374 0.4140 0.04728
|
2026 10 17 61330 0.1593 0.3221 -0.03778
|
||||||
2026 4 12 61142 0.1385 0.4141 0.04687
|
2026 10 18 61331 0.1583 0.3220 -0.03834
|
||||||
2026 4 13 61143 0.1395 0.4143 0.04627
|
2026 10 19 61332 0.1573 0.3220 -0.03904
|
||||||
2026 4 14 61144 0.1406 0.4144 0.04544
|
2026 10 20 61333 0.1563 0.3220 -0.03991
|
||||||
2026 4 15 61145 0.1416 0.4146 0.04441
|
2026 10 21 61334 0.1553 0.3220 -0.04102
|
||||||
2026 4 16 61146 0.1426 0.4147 0.04326
|
2026 10 22 61335 0.1542 0.3220 -0.04236
|
||||||
2026 4 17 61147 0.1435 0.4148 0.04213
|
2026 10 23 61336 0.1532 0.3221 -0.04389
|
||||||
2026 4 18 61148 0.1445 0.4149 0.04119
|
2026 10 24 61337 0.1521 0.3221 -0.04556
|
||||||
2026 4 19 61149 0.1455 0.4149 0.04055
|
2026 10 25 61338 0.1511 0.3222 -0.04727
|
||||||
2026 4 20 61150 0.1464 0.4150 0.04022
|
2026 10 26 61339 0.1500 0.3222 -0.04888
|
||||||
2026 4 21 61151 0.1473 0.4150 0.04013
|
2026 10 27 61340 0.1489 0.3223 -0.05031
|
||||||
2026 4 22 61152 0.1483 0.4150 0.04013
|
2026 10 28 61341 0.1478 0.3224 -0.05150
|
||||||
2026 4 23 61153 0.1492 0.4150 0.04009
|
2026 10 29 61342 0.1467 0.3225 -0.05251
|
||||||
2026 4 24 61154 0.1502 0.4150 0.03987
|
2026 10 30 61343 0.1456 0.3226 -0.05343
|
||||||
2026 4 25 61155 0.1511 0.4149 0.03945
|
2026 10 31 61344 0.1445 0.3227 -0.05437
|
||||||
2026 4 26 61156 0.1520 0.4149 0.03882
|
2026 11 1 61345 0.1434 0.3228 -0.05546
|
||||||
2026 4 27 61157 0.1530 0.4149 0.03807
|
2026 11 2 61346 0.1423 0.3230 -0.05677
|
||||||
2026 4 28 61158 0.1539 0.4148 0.03726
|
2026 11 3 61347 0.1412 0.3231 -0.05830
|
||||||
2026 4 29 61159 0.1548 0.4147 0.03651
|
2026 11 4 61348 0.1401 0.3233 -0.05999
|
||||||
2026 4 30 61160 0.1557 0.4146 0.03588
|
2026 11 5 61349 0.1390 0.3235 -0.06177
|
||||||
2026 5 1 61161 0.1567 0.4145 0.03545
|
2026 11 6 61350 0.1379 0.3237 -0.06353
|
||||||
2026 5 2 61162 0.1576 0.4144 0.03525
|
2026 11 7 61351 0.1368 0.3239 -0.06518
|
||||||
2026 5 3 61163 0.1585 0.4142 0.03526
|
2026 11 8 61352 0.1357 0.3242 -0.06664
|
||||||
2026 5 4 61164 0.1595 0.4141 0.03547
|
2026 11 9 61353 0.1346 0.3244 -0.06789
|
||||||
2026 5 5 61165 0.1604 0.4139 0.03583
|
2026 11 10 61354 0.1334 0.3247 -0.06892
|
||||||
2026 5 6 61166 0.1613 0.4137 0.03626
|
2026 11 11 61355 0.1323 0.3250 -0.06976
|
||||||
2026 5 7 61167 0.1623 0.4135 0.03669
|
2026 11 12 61356 0.1312 0.3253 -0.07049
|
||||||
2026 5 8 61168 0.1632 0.4133 0.03704
|
2026 11 13 61357 0.1301 0.3256 -0.07117
|
||||||
2026 5 9 61169 0.1641 0.4131 0.03725
|
2026 11 14 61358 0.1290 0.3259 -0.07187
|
||||||
2026 5 10 61170 0.1651 0.4129 0.03725
|
2026 11 15 61359 0.1279 0.3263 -0.07267
|
||||||
2026 5 11 61171 0.1660 0.4126 0.03702
|
2026 11 16 61360 0.1268 0.3266 -0.07362
|
||||||
2026 5 12 61172 0.1669 0.4124 0.03657
|
2026 11 17 61361 0.1257 0.3270 -0.07477
|
||||||
2026 5 13 61173 0.1679 0.4121 0.03596
|
2026 11 18 61362 0.1246 0.3274 -0.07612
|
||||||
2026 5 14 61174 0.1688 0.4118 0.03530
|
2026 11 19 61363 0.1235 0.3278 -0.07765
|
||||||
2026 5 15 61175 0.1697 0.4115 0.03474
|
2026 11 20 61364 0.1224 0.3283 -0.07931
|
||||||
2026 5 16 61176 0.1706 0.4112 0.03440
|
2026 11 21 61365 0.1213 0.3287 -0.08103
|
||||||
2026 5 17 61177 0.1716 0.4108 0.03435
|
2026 11 22 61366 0.1203 0.3292 -0.08270
|
||||||
2026 5 18 61178 0.1725 0.4105 0.03457
|
2026 11 23 61367 0.1192 0.3296 -0.08420
|
||||||
2026 5 19 61179 0.1734 0.4101 0.03495
|
2026 11 24 61368 0.1181 0.3301 -0.08546
|
||||||
2026 5 20 61180 0.1743 0.4097 0.03534
|
2026 11 25 61369 0.1171 0.3306 -0.08647
|
||||||
2026 5 21 61181 0.1753 0.4093 0.03562
|
2026 11 26 61370 0.1160 0.3311 -0.08729
|
||||||
2026 5 22 61182 0.1762 0.4089 0.03570
|
2026 11 27 61371 0.1149 0.3317 -0.08807
|
||||||
2026 5 23 61183 0.1771 0.4085 0.03559
|
2026 11 28 61372 0.1139 0.3322 -0.08895
|
||||||
2026 5 24 61184 0.1780 0.4080 0.03533
|
2026 11 29 61373 0.1129 0.3328 -0.09003
|
||||||
2026 5 25 61185 0.1789 0.4076 0.03502
|
2026 11 30 61374 0.1118 0.3334 -0.09134
|
||||||
2026 5 26 61186 0.1798 0.4071 0.03474
|
2026 12 1 61375 0.1108 0.3340 -0.09284
|
||||||
2026 5 27 61187 0.1807 0.4066 0.03457
|
2026 12 2 61376 0.1098 0.3346 -0.09444
|
||||||
2026 5 28 61188 0.1816 0.4061 0.03456
|
2026 12 3 61377 0.1088 0.3352 -0.09603
|
||||||
2026 5 29 61189 0.1825 0.4056 0.03475
|
2026 12 4 61378 0.1078 0.3359 -0.09752
|
||||||
2026 5 30 61190 0.1833 0.4050 0.03514
|
2026 12 5 61379 0.1068 0.3365 -0.09884
|
||||||
2026 5 31 61191 0.1842 0.4045 0.03573
|
2026 12 6 61380 0.1058 0.3372 -0.09995
|
||||||
2026 6 1 61192 0.1851 0.4039 0.03648
|
2026 12 7 61381 0.1048 0.3379 -0.10085
|
||||||
2026 6 2 61193 0.1859 0.4033 0.03730
|
2026 12 8 61382 0.1038 0.3386 -0.10156
|
||||||
2026 6 3 61194 0.1868 0.4028 0.03814
|
2026 12 9 61383 0.1029 0.3393 -0.10213
|
||||||
2026 6 4 61195 0.1876 0.4021 0.03891
|
2026 12 10 61384 0.1019 0.3400 -0.10261
|
||||||
2026 6 5 61196 0.1885 0.4015 0.03955
|
2026 12 11 61385 0.1010 0.3408 -0.10308
|
||||||
2026 6 6 61197 0.1893 0.4009 0.04002
|
2026 12 12 61386 0.1001 0.3416 -0.10361
|
||||||
2026 6 7 61198 0.1901 0.4002 0.04029
|
2026 12 13 61387 0.0992 0.3423 -0.10426
|
||||||
2026 6 8 61199 0.1909 0.3996 0.04036
|
2026 12 14 61388 0.0983 0.3431 -0.10506
|
||||||
2026 6 9 61200 0.1917 0.3989 0.04027
|
2026 12 15 61389 0.0974 0.3439 -0.10604
|
||||||
2026 6 10 61201 0.1925 0.3982 0.04012
|
2026 12 16 61390 0.0965 0.3447 -0.10718
|
||||||
2026 6 11 61202 0.1933 0.3975 0.04001
|
2026 12 17 61391 0.0956 0.3456 -0.10847
|
||||||
2026 6 12 61203 0.1941 0.3968 0.04006
|
2026 12 18 61392 0.0948 0.3464 -0.10983
|
||||||
2026 6 13 61204 0.1949 0.3960 0.04038
|
2026 12 19 61393 0.0939 0.3473 -0.11117
|
||||||
2026 6 14 61205 0.1956 0.3953 0.04097
|
2026 12 20 61394 0.0931 0.3481 -0.11241
|
||||||
2026 6 15 61206 0.1964 0.3945 0.04177
|
2026 12 21 61395 0.0923 0.3490 -0.11346
|
||||||
2026 6 16 61207 0.1971 0.3937 0.04262
|
2026 12 22 61396 0.0915 0.3499 -0.11427
|
||||||
2026 6 17 61208 0.1978 0.3929 0.04339
|
2026 12 23 61397 0.0907 0.3508 -0.11490
|
||||||
2026 6 18 61209 0.1985 0.3921 0.04396
|
2026 12 24 61398 0.0900 0.3517 -0.11543
|
||||||
2026 6 19 61210 0.1992 0.3913 0.04430
|
2026 12 25 61399 0.0892 0.3527 -0.11604
|
||||||
2026 6 20 61211 0.1999 0.3905 0.04446
|
2026 12 26 61400 0.0885 0.3536 -0.11683
|
||||||
2026 6 21 61212 0.2006 0.3897 0.04454
|
2026 12 27 61401 0.0877 0.3546 -0.11789
|
||||||
2026 6 22 61213 0.2013 0.3888 0.04464
|
2026 12 28 61402 0.0870 0.3555 -0.11917
|
||||||
2026 6 23 61214 0.2019 0.3879 0.04485
|
2026 12 29 61403 0.0863 0.3565 -0.12060
|
||||||
2026 6 24 61215 0.2025 0.3871 0.04523
|
2026 12 30 61404 0.0857 0.3575 -0.12202
|
||||||
2026 6 25 61216 0.2031 0.3862 0.04582
|
2026 12 31 61405 0.0850 0.3585 -0.12334
|
||||||
2026 6 26 61217 0.2038 0.3853 0.04662
|
2027 1 1 61406 0.0844 0.3595 -0.12446
|
||||||
2026 6 27 61218 0.2043 0.3844 0.04762
|
2027 1 2 61407 0.0837 0.3606 -0.12535
|
||||||
2026 6 28 61219 0.2049 0.3834 0.04878
|
2027 1 3 61408 0.0831 0.3616 -0.12600
|
||||||
2026 6 29 61220 0.2055 0.3825 0.05004
|
2027 1 4 61409 0.0825 0.3626 -0.12645
|
||||||
2026 6 30 61221 0.2060 0.3816 0.05131
|
2027 1 5 61410 0.0820 0.3637 -0.12674
|
||||||
2026 7 1 61222 0.2066 0.3806 0.05252
|
2027 1 6 61411 0.0814 0.3647 -0.12694
|
||||||
2026 7 2 61223 0.2071 0.3796 0.05362
|
2027 1 7 61412 0.0809 0.3658 -0.12711
|
||||||
2026 7 3 61224 0.2076 0.3787 0.05453
|
2027 1 8 61413 0.0804 0.3669 -0.12733
|
||||||
2026 7 4 61225 0.2080 0.3777 0.05524
|
2027 1 9 61414 0.0799 0.3680 -0.12767
|
||||||
2026 7 5 61226 0.2085 0.3767 0.05577
|
2027 1 10 61415 0.0794 0.3691 -0.12816
|
||||||
2026 7 6 61227 0.2090 0.3757 0.05614
|
2027 1 11 61416 0.0789 0.3702 -0.12883
|
||||||
2026 7 7 61228 0.2094 0.3747 0.05644
|
2027 1 12 61417 0.0785 0.3713 -0.12967
|
||||||
2026 7 8 61229 0.2098 0.3736 0.05676
|
2027 1 13 61418 0.0781 0.3724 -0.13064
|
||||||
2026 7 9 61230 0.2102 0.3726 0.05722
|
2027 1 14 61419 0.0777 0.3735 -0.13169
|
||||||
2026 7 10 61231 0.2106 0.3716 0.05789
|
2027 1 15 61420 0.0773 0.3747 -0.13273
|
||||||
2026 7 11 61232 0.2109 0.3705 0.05882
|
2027 1 16 61421 0.0769 0.3758 -0.13369
|
||||||
2026 7 12 61233 0.2113 0.3695 0.05998
|
2027 1 17 61422 0.0766 0.3769 -0.13448
|
||||||
2026 7 13 61234 0.2116 0.3684 0.06124
|
2027 1 18 61423 0.0762 0.3781 -0.13506
|
||||||
2026 7 14 61235 0.2119 0.3673 0.06247
|
2027 1 19 61424 0.0759 0.3793 -0.13544
|
||||||
2026 7 15 61236 0.2122 0.3662 0.06352
|
2027 1 20 61425 0.0757 0.3804 -0.13570
|
||||||
2026 7 16 61237 0.2124 0.3652 0.06432
|
2027 1 21 61426 0.0754 0.3816 -0.13596
|
||||||
2026 7 17 61238 0.2127 0.3641 0.06488
|
2027 1 22 61427 0.0752 0.3827 -0.13639
|
||||||
2026 7 18 61239 0.2129 0.3630 0.06528
|
2027 1 23 61428 0.0749 0.3839 -0.13707
|
||||||
2026 7 19 61240 0.2131 0.3619 0.06565
|
2027 1 24 61429 0.0747 0.3851 -0.13803
|
||||||
2026 7 20 61241 0.2133 0.3608 0.06606
|
2027 1 25 61430 0.0746 0.3863 -0.13935
|
||||||
2026 7 21 61242 0.2134 0.3596 0.06664
|
2027 1 26 61431 0.0744 0.3875 -0.14075
|
||||||
2026 7 22 61243 0.2136 0.3585 0.06742
|
2027 1 27 61432 0.0743 0.3887 -0.14210
|
||||||
2026 7 23 61244 0.2137 0.3574 0.06841
|
2027 1 28 61433 0.0742 0.3899 -0.14327
|
||||||
2026 7 24 61245 0.2138 0.3563 0.06960
|
2027 1 29 61434 0.0741 0.3911 -0.14422
|
||||||
2026 7 25 61246 0.2139 0.3551 0.07095
|
2027 1 30 61435 0.0740 0.3923 -0.14491
|
||||||
2026 7 26 61247 0.2140 0.3540 0.07239
|
2027 1 31 61436 0.0740 0.3935 -0.14540
|
||||||
2026 7 27 61248 0.2140 0.3529 0.07386
|
2027 2 1 61437 0.0739 0.3947 -0.14572
|
||||||
2026 7 28 61249 0.2140 0.3517 0.07527
|
2027 2 2 61438 0.0739 0.3959 -0.14595
|
||||||
2026 7 29 61250 0.2140 0.3506 0.07655
|
2027 2 3 61439 0.0740 0.3971 -0.14614
|
||||||
2026 7 30 61251 0.2140 0.3494 0.07765
|
2027 2 4 61440 0.0740 0.3983 -0.14638
|
||||||
2026 7 31 61252 0.2139 0.3483 0.07852
|
2027 2 5 61441 0.0741 0.3995 -0.14674
|
||||||
2026 8 1 61253 0.2139 0.3471 0.07917
|
2027 2 6 61442 0.0742 0.4007 -0.14726
|
||||||
2026 8 2 61254 0.2138 0.3460 0.07964
|
2027 2 7 61443 0.0743 0.4019 -0.14799
|
||||||
2026 8 3 61255 0.2137 0.3448 0.08001
|
2027 2 8 61444 0.0744 0.4031 -0.14890
|
||||||
2026 8 4 61256 0.2135 0.3437 0.08037
|
2027 2 9 61445 0.0746 0.4043 -0.14998
|
||||||
2026 8 5 61257 0.2134 0.3425 0.08082
|
2027 2 10 61446 0.0748 0.4055 -0.15115
|
||||||
2026 8 6 61258 0.2132 0.3414 0.08145
|
2027 2 11 61447 0.0750 0.4067 -0.15235
|
||||||
2026 8 7 61259 0.2130 0.3402 0.08229
|
2027 2 12 61448 0.0752 0.4079 -0.15347
|
||||||
2026 8 8 61260 0.2128 0.3391 0.08334
|
2027 2 13 61449 0.0754 0.4091 -0.15446
|
||||||
2026 8 9 61261 0.2125 0.3379 0.08452
|
2027 2 14 61450 0.0757 0.4103 -0.15526
|
||||||
2026 8 10 61262 0.2123 0.3368 0.08568
|
2027 2 15 61451 0.0760 0.4115 -0.15586
|
||||||
2026 8 11 61263 0.2120 0.3356 0.08670
|
2027 2 16 61452 0.0763 0.4127 -0.15632
|
||||||
2026 8 12 61264 0.2117 0.3345 0.08746
|
2027 2 17 61453 0.0767 0.4139 -0.15676
|
||||||
2026 8 13 61265 0.2113 0.3333 0.08794
|
2027 2 18 61454 0.0770 0.4151 -0.15731
|
||||||
2026 8 14 61266 0.2110 0.3322 0.08818
|
2027 2 19 61455 0.0774 0.4162 -0.15809
|
||||||
2026 8 15 61267 0.2106 0.3311 0.08831
|
2027 2 20 61456 0.0778 0.4174 -0.15917
|
||||||
2026 8 16 61268 0.2102 0.3299 0.08845
|
2027 2 21 61457 0.0783 0.4186 -0.16054
|
||||||
2026 8 17 61269 0.2098 0.3288 0.08871
|
2027 2 22 61458 0.0787 0.4197 -0.16207
|
||||||
2026 8 18 61270 0.2093 0.3277 0.08916
|
2027 2 23 61459 0.0792 0.4209 -0.16363
|
||||||
2026 8 19 61271 0.2088 0.3266 0.08984
|
2027 2 24 61460 0.0797 0.4221 -0.16506
|
||||||
2026 8 20 61272 0.2083 0.3254 0.09071
|
2027 2 25 61461 0.0802 0.4232 -0.16628
|
||||||
2026 8 21 61273 0.2078 0.3243 0.09175
|
2027 2 26 61462 0.0808 0.4243 -0.16724
|
||||||
2026 8 22 61274 0.2073 0.3232 0.09289
|
2027 2 27 61463 0.0814 0.4255 -0.16796
|
||||||
2026 8 23 61275 0.2067 0.3221 0.09407
|
2027 2 28 61464 0.0820 0.4266 -0.16848
|
||||||
2026 8 24 61276 0.2062 0.3210 0.09521
|
2027 3 1 61465 0.0826 0.4277 -0.16888
|
||||||
2026 8 25 61277 0.2055 0.3200 0.09622
|
2027 3 2 61466 0.0832 0.4288 -0.16923
|
||||||
2026 8 26 61278 0.2049 0.3189 0.09705
|
2027 3 3 61467 0.0839 0.4299 -0.16960
|
||||||
2026 8 27 61279 0.2043 0.3178 0.09764
|
2027 3 4 61468 0.0845 0.4310 -0.17006
|
||||||
2026 8 28 61280 0.2036 0.3167 0.09799
|
2027 3 5 61469 0.0853 0.4321 -0.17068
|
||||||
2026 8 29 61281 0.2029 0.3157 0.09812
|
2027 3 6 61470 0.0860 0.4332 -0.17149
|
||||||
2026 8 30 61282 0.2022 0.3146 0.09810
|
2027 3 7 61471 0.0867 0.4342 -0.17250
|
||||||
2026 8 31 61283 0.2015 0.3136 0.09805
|
2027 3 8 61472 0.0875 0.4353 -0.17368
|
||||||
2026 9 1 61284 0.2007 0.3126 0.09806
|
2027 3 9 61473 0.0883 0.4363 -0.17499
|
||||||
2026 9 2 61285 0.1999 0.3116 0.09823
|
2027 3 10 61474 0.0891 0.4373 -0.17634
|
||||||
2026 9 3 61286 0.1991 0.3106 0.09863
|
2027 3 11 61475 0.0899 0.4384 -0.17764
|
||||||
2026 9 4 61287 0.1983 0.3096 0.09923
|
2027 3 12 61476 0.0908 0.4394 -0.17880
|
||||||
2026 9 5 61288 0.1975 0.3086 0.09998
|
2027 3 13 61477 0.0917 0.4404 -0.17976
|
||||||
2026 9 6 61289 0.1966 0.3076 0.10074
|
2027 3 14 61478 0.0925 0.4414 -0.18051
|
||||||
2026 9 7 61290 0.1957 0.3066 0.10139
|
2027 3 15 61479 0.0935 0.4423 -0.18111
|
||||||
2026 9 8 61291 0.1948 0.3057 0.10182
|
2027 3 16 61480 0.0944 0.4433 -0.18163
|
||||||
2026 9 9 61292 0.1939 0.3047 0.10197
|
2027 3 17 61481 0.0954 0.4442 -0.18221
|
||||||
2026 9 10 61293 0.1929 0.3038 0.10184
|
2027 3 18 61482 0.0963 0.4452 -0.18298
|
||||||
2026 9 11 61294 0.1920 0.3029 0.10153
|
2027 3 19 61483 0.0973 0.4461 -0.18401
|
||||||
2026 9 12 61295 0.1910 0.3020 0.10116
|
2027 3 20 61484 0.0983 0.4470 -0.18533
|
||||||
2026 9 13 61296 0.1900 0.3011 0.10084
|
2027 3 21 61485 0.0994 0.4479 -0.18686
|
||||||
2026 9 14 61297 0.1889 0.3002 0.10068
|
2027 3 22 61486 0.1004 0.4488 -0.18850
|
||||||
2026 9 15 61298 0.1879 0.2994 0.10073
|
2027 3 23 61487 0.1015 0.4496 -0.19010
|
||||||
2026 9 16 61299 0.1868 0.2985 0.10098
|
2027 3 24 61488 0.1026 0.4505 -0.19153
|
||||||
2026 9 17 61300 0.1857 0.2977 0.10142
|
2027 3 25 61489 0.1037 0.4513 -0.19271
|
||||||
2026 9 18 61301 0.1846 0.2969 0.10198
|
2027 3 26 61490 0.1048 0.4521 -0.19364
|
||||||
2026 9 19 61302 0.1835 0.2961 0.10260
|
2027 3 27 61491 0.1060 0.4529 -0.19435
|
||||||
2026 9 20 61303 0.1824 0.2953 0.10320
|
2027 3 28 61492 0.1071 0.4537 -0.19490
|
||||||
2026 9 21 61304 0.1812 0.2945 0.10370
|
2027 3 29 61493 0.1083 0.4545 -0.19538
|
||||||
2026 9 22 61305 0.1801 0.2938 0.10403
|
2027 3 30 61494 0.1095 0.4552 -0.19585
|
||||||
2026 9 23 61306 0.1789 0.2930 0.10414
|
2027 3 31 61495 0.1107 0.4560 -0.19639
|
||||||
2026 9 24 61307 0.1776 0.2923 0.10401
|
2027 4 1 61496 0.1119 0.4567 -0.19707
|
||||||
2026 9 25 61308 0.1764 0.2916 0.10363
|
2027 4 2 61497 0.1132 0.4574 -0.19794
|
||||||
2026 9 26 61309 0.1752 0.2909 0.10307
|
2027 4 3 61498 0.1144 0.4581 -0.19902
|
||||||
2026 9 27 61310 0.1739 0.2903 0.10241
|
2027 4 4 61499 0.1157 0.4587 -0.20031
|
||||||
2026 9 28 61311 0.1726 0.2896 0.10179
|
2027 4 5 61500 0.1170 0.4594 -0.20177
|
||||||
2026 9 29 61312 0.1713 0.2890 0.10131
|
2027 4 6 61501 0.1183 0.4600 -0.20334
|
||||||
2026 9 30 61313 0.1700 0.2884 0.10106
|
2027 4 7 61502 0.1196 0.4606 -0.20493
|
||||||
2026 10 1 61314 0.1687 0.2878 0.10104
|
2027 4 8 61503 0.1209 0.4612 -0.20645
|
||||||
2026 10 2 61315 0.1674 0.2872 0.10120
|
2027 4 9 61504 0.1223 0.4618 -0.20783
|
||||||
2026 10 3 61316 0.1660 0.2866 0.10141
|
2027 4 10 61505 0.1237 0.4623 -0.20906
|
||||||
2026 10 4 61317 0.1647 0.2861 0.10156
|
2027 4 11 61506 0.1250 0.4629 -0.21016
|
||||||
2026 10 5 61318 0.1633 0.2856 0.10152
|
2027 4 12 61507 0.1264 0.4634 -0.21122
|
||||||
2026 10 6 61319 0.1619 0.2851 0.10124
|
2027 4 13 61508 0.1278 0.4639 -0.21237
|
||||||
2026 10 7 61320 0.1605 0.2846 0.10071
|
2027 4 14 61509 0.1292 0.4644 -0.21370
|
||||||
2026 10 8 61321 0.1591 0.2841 0.09998
|
2027 4 15 61510 0.1306 0.4648 -0.21529
|
||||||
2026 10 9 61322 0.1576 0.2837 0.09917
|
2027 4 16 61511 0.1321 0.4652 -0.21712
|
||||||
2026 10 10 61323 0.1562 0.2833 0.09839
|
2027 4 17 61512 0.1335 0.4657 -0.21911
|
||||||
2026 10 11 61324 0.1547 0.2829 0.09777
|
2027 4 18 61513 0.1350 0.4661 -0.22114
|
||||||
2026 10 12 61325 0.1533 0.2825 0.09738
|
2027 4 19 61514 0.1364 0.4664 -0.22304
|
||||||
2026 10 13 61326 0.1518 0.2822 0.09727
|
2027 4 20 61515 0.1379 0.4668 -0.22469
|
||||||
2026 10 14 61327 0.1503 0.2818 0.09741
|
2027 4 21 61516 0.1394 0.4671 -0.22598
|
||||||
2026 10 15 61328 0.1488 0.2815 0.09778
|
2027 4 22 61517 0.1409 0.4674 -0.22690
|
||||||
2026 10 16 61329 0.1473 0.2813 0.09829
|
2027 4 23 61518 0.1424 0.4677 -0.22747
|
||||||
2026 10 17 61330 0.1458 0.2810 0.09888
|
2027 4 24 61519 0.1439 0.4680 -0.22778
|
||||||
2026 10 18 61331 0.1442 0.2807 0.09945
|
2027 4 25 61520 0.1454 0.4682 -0.22790
|
||||||
2026 10 19 61332 0.1427 0.2805 0.09992
|
2027 4 26 61521 0.1469 0.4684 -0.22795
|
||||||
2026 10 20 61333 0.1411 0.2803 0.10020
|
2027 4 27 61522 0.1485 0.4686 -0.22799
|
||||||
2026 10 21 61334 0.1396 0.2802 0.10025
|
2027 4 28 61523 0.1500 0.4688 -0.22810
|
||||||
2026 10 22 61335 0.1380 0.2800 0.10004
|
2027 4 29 61524 0.1515 0.4689 -0.22834
|
||||||
2026 10 23 61336 0.1365 0.2799 0.09959
|
2027 4 30 61525 0.1531 0.4691 -0.22872
|
||||||
2026 10 24 61337 0.1349 0.2798 0.09897
|
2027 5 1 61526 0.1547 0.4692 -0.22926
|
||||||
2026 10 25 61338 0.1333 0.2797 0.09829
|
2027 5 2 61527 0.1562 0.4693 -0.22992
|
||||||
2026 10 26 61339 0.1317 0.2797 0.09769
|
2027 5 3 61528 0.1578 0.4693 -0.23065
|
||||||
2026 10 27 61340 0.1301 0.2796 0.09728
|
2027 5 4 61529 0.1594 0.4694 -0.23137
|
||||||
2026 10 28 61341 0.1285 0.2796 0.09710
|
2027 5 5 61530 0.1609 0.4694 -0.23200
|
||||||
2026 10 29 61342 0.1269 0.2796 0.09712
|
2027 5 6 61531 0.1625 0.4694 -0.23246
|
||||||
2026 10 30 61343 0.1253 0.2797 0.09724
|
2027 5 7 61532 0.1641 0.4693 -0.23268
|
||||||
2026 10 31 61344 0.1237 0.2797 0.09733
|
2027 5 8 61533 0.1657 0.4693 -0.23267
|
||||||
2026 11 1 61345 0.1221 0.2798 0.09726
|
2027 5 9 61534 0.1672 0.4692 -0.23249
|
||||||
2026 11 2 61346 0.1205 0.2799 0.09697
|
2027 5 10 61535 0.1688 0.4691 -0.23225
|
||||||
2026 11 3 61347 0.1188 0.2801 0.09644
|
2027 5 11 61536 0.1704 0.4690 -0.23209
|
||||||
2026 11 4 61348 0.1172 0.2802 0.09571
|
2027 5 12 61537 0.1720 0.4688 -0.23211
|
||||||
2026 11 5 61349 0.1156 0.2804 0.09488
|
2027 5 13 61538 0.1736 0.4687 -0.23238
|
||||||
2026 11 6 61350 0.1140 0.2806 0.09404
|
2027 5 14 61539 0.1752 0.4685 -0.23287
|
||||||
2026 11 7 61351 0.1123 0.2809 0.09334
|
2027 5 15 61540 0.1768 0.4683 -0.23350
|
||||||
2026 11 8 61352 0.1107 0.2811 0.09285
|
2027 5 16 61541 0.1783 0.4680 -0.23417
|
||||||
2026 11 9 61353 0.1091 0.2814 0.09260
|
2027 5 17 61542 0.1799 0.4678 -0.23477
|
||||||
2026 11 10 61354 0.1075 0.2817 0.09258
|
2027 5 18 61543 0.1815 0.4675 -0.23522
|
||||||
2026 11 11 61355 0.1059 0.2821 0.09277
|
2027 5 19 61544 0.1831 0.4672 -0.23549
|
||||||
2026 11 12 61356 0.1042 0.2824 0.09311
|
2027 5 20 61545 0.1847 0.4668 -0.23553
|
||||||
2026 11 13 61357 0.1026 0.2828 0.09345
|
2027 5 21 61546 0.1862 0.4665 -0.23532
|
||||||
2026 11 14 61358 0.1010 0.2832 0.09377
|
2027 5 22 61547 0.1878 0.4661 -0.23490
|
||||||
2026 11 15 61359 0.0994 0.2836 0.09398
|
2027 5 23 61548 0.1894 0.4657 -0.23447
|
||||||
2026 11 16 61360 0.0978 0.2841 0.09404
|
2027 5 24 61549 0.1909 0.4653 -0.23402
|
||||||
2026 11 17 61361 0.0962 0.2846 0.09391
|
2027 5 25 61550 0.1925 0.4648 -0.23356
|
||||||
2026 11 18 61362 0.0946 0.2851 0.09358
|
2027 5 26 61551 0.1940 0.4643 -0.23305
|
||||||
2026 11 19 61363 0.0930 0.2856 0.09307
|
2027 5 27 61552 0.1956 0.4638 -0.23271
|
||||||
2026 11 20 61364 0.0914 0.2862 0.09240
|
2027 5 28 61553 0.1971 0.4633 -0.23256
|
||||||
2026 11 21 61365 0.0898 0.2868 0.09169
|
2027 5 29 61554 0.1986 0.4628 -0.23252
|
||||||
2026 11 22 61366 0.0882 0.2874 0.09104
|
2027 5 30 61555 0.2002 0.4622 -0.23259
|
||||||
2026 11 23 61367 0.0866 0.2880 0.09066
|
2027 5 31 61556 0.2017 0.4616 -0.23260
|
||||||
2026 11 24 61368 0.0851 0.2886 0.09055
|
2027 6 1 61557 0.2032 0.4610 -0.23253
|
||||||
2026 11 25 61369 0.0835 0.2893 0.09072
|
2027 6 2 61558 0.2047 0.4604 -0.23231
|
||||||
2026 11 26 61370 0.0820 0.2900 0.09105
|
2027 6 3 61559 0.2062 0.4597 -0.23185
|
||||||
2026 11 27 61371 0.0804 0.2908 0.09139
|
2027 6 4 61560 0.2076 0.4591 -0.23119
|
||||||
2026 11 28 61372 0.0789 0.2915 0.09155
|
2027 6 5 61561 0.2091 0.4584 -0.23032
|
||||||
2026 11 29 61373 0.0774 0.2923 0.09145
|
2027 6 6 61562 0.2106 0.4576 -0.22943
|
||||||
2026 11 30 61374 0.0759 0.2931 0.09109
|
2027 6 7 61563 0.2120 0.4569 -0.22870
|
||||||
2026 12 1 61375 0.0744 0.2939 0.09048
|
2027 6 8 61564 0.2135 0.4561 -0.22819
|
||||||
2026 12 2 61376 0.0729 0.2947 0.08971
|
2027 6 9 61565 0.2149 0.4553 -0.22786
|
||||||
2026 12 3 61377 0.0714 0.2956 0.08896
|
2027 6 10 61566 0.2163 0.4545 -0.22767
|
||||||
2026 12 4 61378 0.0699 0.2965 0.08829
|
2027 6 11 61567 0.2177 0.4537 -0.22763
|
||||||
2026 12 5 61379 0.0685 0.2974 0.08786
|
2027 6 12 61568 0.2191 0.4529 -0.22757
|
||||||
2026 12 6 61380 0.0670 0.2984 0.08767
|
2027 6 13 61569 0.2205 0.4520 -0.22745
|
||||||
2026 12 7 61381 0.0656 0.2993 0.08770
|
2027 6 14 61570 0.2218 0.4511 -0.22711
|
||||||
2026 12 8 61382 0.0642 0.3003 0.08793
|
2027 6 15 61571 0.2232 0.4502 -0.22646
|
||||||
2026 12 9 61383 0.0628 0.3013 0.08833
|
2027 6 16 61572 0.2245 0.4493 -0.22558
|
||||||
2026 12 10 61384 0.0614 0.3023 0.08878
|
2027 6 17 61573 0.2258 0.4483 -0.22449
|
||||||
2026 12 11 61385 0.0600 0.3034 0.08920
|
2027 6 18 61574 0.2271 0.4473 -0.22329
|
||||||
2026 12 12 61386 0.0587 0.3044 0.08955
|
2027 6 19 61575 0.2284 0.4464 -0.22201
|
||||||
2026 12 13 61387 0.0573 0.3055 0.08974
|
2027 6 20 61576 0.2297 0.4453 -0.22078
|
||||||
2026 12 14 61388 0.0560 0.3066 0.08975
|
2027 6 21 61577 0.2309 0.4443 -0.21958
|
||||||
2026 12 15 61389 0.0547 0.3078 0.08954
|
2027 6 22 61578 0.2321 0.4433 -0.21855
|
||||||
2026 12 16 61390 0.0534 0.3089 0.08915
|
2027 6 23 61579 0.2334 0.4422 -0.21767
|
||||||
2026 12 17 61391 0.0521 0.3101 0.08852
|
2027 6 24 61580 0.2346 0.4411 -0.21699
|
||||||
2026 12 18 61392 0.0509 0.3113 0.08772
|
2027 6 25 61581 0.2357 0.4400 -0.21648
|
||||||
2026 12 19 61393 0.0496 0.3125 0.08691
|
2027 6 26 61582 0.2369 0.4389 -0.21610
|
||||||
2026 12 20 61394 0.0484 0.3138 0.08610
|
2027 6 27 61583 0.2380 0.4378 -0.21582
|
||||||
2026 12 21 61395 0.0472 0.3150 0.08548
|
2027 6 28 61584 0.2392 0.4366 -0.21555
|
||||||
2026 12 22 61396 0.0460 0.3163 0.08509
|
2027 6 29 61585 0.2403 0.4354 -0.21520
|
||||||
2026 12 23 61397 0.0449 0.3176 0.08487
|
2027 6 30 61586 0.2413 0.4342 -0.21476
|
||||||
2026 12 24 61398 0.0437 0.3189 0.08469
|
2027 7 1 61587 0.2424 0.4330 -0.21407
|
||||||
2026 12 25 61399 0.0426 0.3202 0.08443
|
2027 7 2 61588 0.2435 0.4318 -0.21326
|
||||||
2026 12 26 61400 0.0415 0.3216 0.08401
|
2027 7 3 61589 0.2445 0.4306 -0.21229
|
||||||
2026 12 27 61401 0.0404 0.3229 0.08331
|
2027 7 4 61590 0.2455 0.4293 -0.21142
|
||||||
2026 12 28 61402 0.0394 0.3243 0.08236
|
2027 7 5 61591 0.2465 0.4281 -0.21066
|
||||||
2026 12 29 61403 0.0383 0.3257 0.08140
|
2027 7 6 61592 0.2474 0.4268 -0.21015
|
||||||
2026 12 30 61404 0.0373 0.3271 0.08041
|
2027 7 7 61593 0.2483 0.4255 -0.20989
|
||||||
2026 12 31 61405 0.0363 0.3286 0.07959
|
2027 7 8 61594 0.2493 0.4242 -0.20984
|
||||||
2027 1 1 61406 0.0354 0.3300 0.07897
|
2027 7 9 61595 0.2501 0.4228 -0.20994
|
||||||
2027 1 2 61407 0.0344 0.3315 0.07874
|
2027 7 10 61596 0.2510 0.4215 -0.20988
|
||||||
2027 1 3 61408 0.0335 0.3330 0.07871
|
2027 7 11 61597 0.2519 0.4202 -0.20959
|
||||||
2027 1 4 61409 0.0326 0.3345 0.07875
|
2027 7 12 61598 0.2527 0.4188 -0.20900
|
||||||
2027 1 5 61410 0.0317 0.3360 0.07899
|
2027 7 13 61599 0.2535 0.4174 -0.20815
|
||||||
2027 1 6 61411 0.0309 0.3375 0.07939
|
2027 7 14 61600 0.2542 0.4160 -0.20703
|
||||||
2027 1 7 61412 0.0301 0.3390 0.07980
|
2027 7 15 61601 0.2550 0.4146 -0.20571
|
||||||
2027 1 8 61413 0.0293 0.3406 0.08020
|
2027 7 16 61602 0.2557 0.4132 -0.20432
|
||||||
2027 1 9 61414 0.0285 0.3422 0.08051
|
2027 7 17 61603 0.2564 0.4118 -0.20294
|
||||||
2027 1 10 61415 0.0278 0.3437 0.08066
|
2027 7 18 61604 0.2571 0.4103 -0.20162
|
||||||
2027 1 11 61416 0.0270 0.3453 0.08058
|
2027 7 19 61605 0.2577 0.4089 -0.20047
|
||||||
2027 1 12 61417 0.0264 0.3469 0.08041
|
2027 7 20 61606 0.2583 0.4074 -0.19943
|
||||||
2027 1 13 61418 0.0257 0.3485 0.08016
|
2027 7 21 61607 0.2589 0.4060 -0.19858
|
||||||
2027 1 14 61419 0.0251 0.3502 0.07978
|
2027 7 22 61608 0.2595 0.4045 -0.19794
|
||||||
2027 1 15 61420 0.0244 0.3518 0.07933
|
2027 7 23 61609 0.2600 0.4030 -0.19744
|
||||||
2027 1 16 61421 0.0239 0.3535 0.07897
|
2027 7 24 61610 0.2605 0.4015 -0.19706
|
||||||
2027 1 17 61422 0.0233 0.3551 0.07878
|
2027 7 25 61611 0.2610 0.4000 -0.19671
|
||||||
2027 1 18 61423 0.0228 0.3568 0.07884
|
2027 7 26 61612 0.2615 0.3985 -0.19636
|
||||||
2027 1 19 61424 0.0223 0.3585 0.07916
|
2027 7 27 61613 0.2619 0.3970 -0.19587
|
||||||
2027 1 20 61425 0.0218 0.3601 0.07959
|
2027 7 28 61614 0.2623 0.3955 -0.19523
|
||||||
2027 1 21 61426 0.0214 0.3618 0.08001
|
2027 7 29 61615 0.2627 0.3940 -0.19436
|
||||||
2027 1 22 61427 0.0210 0.3635 0.08029
|
2027 7 30 61616 0.2631 0.3924 -0.19338
|
||||||
2027 1 23 61428 0.0206 0.3653 0.08027
|
2027 7 31 61617 0.2634 0.3909 -0.19242
|
||||||
2027 1 24 61429 0.0202 0.3670 0.07991
|
2027 8 1 61618 0.2637 0.3893 -0.19156
|
||||||
2027 1 25 61430 0.0199 0.3687 0.07929
|
2027 8 2 61619 0.2639 0.3878 -0.19089
|
||||||
2027 1 26 61431 0.0196 0.3704 0.07865
|
2027 8 3 61620 0.2642 0.3862 -0.19047
|
||||||
2027 1 27 61432 0.0193 0.3722 0.07806
|
2027 8 4 61621 0.2644 0.3847 -0.19032
|
||||||
2027 1 28 61433 0.0191 0.3739 0.07746
|
2027 8 5 61622 0.2646 0.3831 -0.19038
|
||||||
2027 1 29 61434 0.0189 0.3757 0.07710
|
2027 8 6 61623 0.2647 0.3816 -0.19045
|
||||||
2027 1 30 61435 0.0187 0.3774 0.07695
|
2027 8 7 61624 0.2648 0.3800 -0.19036
|
||||||
2027 1 31 61436 0.0186 0.3792 0.07704
|
2027 8 8 61625 0.2649 0.3784 -0.19005
|
||||||
2027 2 1 61437 0.0185 0.3809 0.07728
|
2027 8 9 61626 0.2650 0.3768 -0.18939
|
||||||
2027 2 2 61438 0.0184 0.3827 0.07759
|
2027 8 10 61627 0.2650 0.3753 -0.18850
|
||||||
2027 2 3 61439 0.0183 0.3844 0.07792
|
2027 8 11 61628 0.2650 0.3737 -0.18736
|
||||||
2027 2 4 61440 0.0183 0.3862 0.07812
|
2027 8 12 61629 0.2650 0.3721 -0.18613
|
||||||
2027 2 5 61441 0.0183 0.3880 0.07827
|
2027 8 13 61630 0.2649 0.3706 -0.18490
|
||||||
2027 2 6 61442 0.0184 0.3897 0.07824
|
2027 8 14 61631 0.2649 0.3690 -0.18367
|
||||||
2027 2 7 61443 0.0184 0.3915 0.07800
|
2027 8 15 61632 0.2647 0.3674 -0.18263
|
||||||
2027 2 8 61444 0.0185 0.3933 0.07756
|
2027 8 16 61633 0.2646 0.3658 -0.18175
|
||||||
2027 2 9 61445 0.0187 0.3951 0.07700
|
2027 8 17 61634 0.2644 0.3643 -0.18101
|
||||||
2027 2 10 61446 0.0188 0.3968 0.07629
|
2027 8 18 61635 0.2642 0.3627 -0.18047
|
||||||
2027 2 11 61447 0.0190 0.3986 0.07548
|
2027 8 19 61636 0.2640 0.3611 -0.18006
|
||||||
2027 2 12 61448 0.0193 0.4004 0.07475
|
2027 8 20 61637 0.2638 0.3596 -0.17971
|
||||||
2027 2 13 61449 0.0195 0.4021 0.07420
|
2027 8 21 61638 0.2635 0.3580 -0.17944
|
||||||
2027 2 14 61450 0.0198 0.4039 0.07385
|
2027 8 22 61639 0.2631 0.3565 -0.17920
|
||||||
2027 2 15 61451 0.0201 0.4056 0.07368
|
2027 8 23 61640 0.2628 0.3549 -0.17893
|
||||||
2027 2 16 61452 0.0205 0.4074 0.07366
|
2027 8 24 61641 0.2624 0.3534 -0.17850
|
||||||
2027 2 17 61453 0.0209 0.4092 0.07363
|
2027 8 25 61642 0.2620 0.3518 -0.17787
|
||||||
2027 2 18 61454 0.0213 0.4109 0.07347
|
2027 8 26 61643 0.2616 0.3503 -0.17711
|
||||||
2027 2 19 61455 0.0217 0.4126 0.07300
|
2027 8 27 61644 0.2611 0.3488 -0.17636
|
||||||
2027 2 20 61456 0.0222 0.4144 0.07222
|
2027 8 28 61645 0.2606 0.3472 -0.17574
|
||||||
2027 2 21 61457 0.0227 0.4161 0.07118
|
2027 8 29 61646 0.2601 0.3457 -0.17539
|
||||||
2027 2 22 61458 0.0232 0.4178 0.06998
|
2027 8 30 61647 0.2596 0.3442 -0.17532
|
||||||
2027 2 23 61459 0.0238 0.4196 0.06870
|
2027 8 31 61648 0.2590 0.3427 -0.17563
|
||||||
2027 2 24 61460 0.0244 0.4213 0.06758
|
2027 9 1 61649 0.2584 0.3412 -0.17620
|
||||||
2027 2 25 61461 0.0250 0.4230 0.06668
|
2027 9 2 61650 0.2577 0.3398 -0.17690
|
||||||
2027 2 26 61462 0.0257 0.4247 0.06608
|
2027 9 3 61651 0.2571 0.3383 -0.17757
|
||||||
2027 2 27 61463 0.0264 0.4263 0.06588
|
2027 9 4 61652 0.2564 0.3368 -0.17804
|
||||||
2027 2 28 61464 0.0271 0.4280 0.06588
|
2027 9 5 61653 0.2557 0.3354 -0.17821
|
||||||
2027 3 1 61465 0.0279 0.4297 0.06605
|
2027 9 6 61654 0.2549 0.3339 -0.17804
|
||||||
2027 3 2 61466 0.0287 0.4313 0.06623
|
2027 9 7 61655 0.2541 0.3325 -0.17762
|
||||||
2027 3 3 61467 0.0295 0.4330 0.06627
|
2027 9 8 61656 0.2533 0.3311 -0.17702
|
||||||
2027 3 4 61468 0.0303 0.4346 0.06619
|
2027 9 9 61657 0.2525 0.3297 -0.17639
|
||||||
2027 3 5 61469 0.0312 0.4362 0.06594
|
2027 9 10 61658 0.2516 0.3283 -0.17578
|
||||||
2027 3 6 61470 0.0321 0.4379 0.06551
|
2027 9 11 61659 0.2508 0.3269 -0.17523
|
||||||
2027 3 7 61471 0.0330 0.4394 0.06490
|
2027 9 12 61660 0.2498 0.3255 -0.17482
|
||||||
2027 3 8 61472 0.0340 0.4410 0.06409
|
2027 9 13 61661 0.2489 0.3242 -0.17451
|
||||||
2027 3 9 61473 0.0350 0.4426 0.06323
|
2027 9 14 61662 0.2479 0.3228 -0.17443
|
||||||
2027 3 10 61474 0.0360 0.4442 0.06236
|
2027 9 15 61663 0.2470 0.3215 -0.17454
|
||||||
2027 3 11 61475 0.0371 0.4457 0.06161
|
2027 9 16 61664 0.2459 0.3202 -0.17483
|
||||||
2027 3 12 61476 0.0381 0.4472 0.06105
|
2027 9 17 61665 0.2449 0.3189 -0.17520
|
||||||
2027 3 13 61477 0.0393 0.4487 0.06068
|
2027 9 18 61666 0.2438 0.3176 -0.17547
|
||||||
2027 3 14 61478 0.0404 0.4502 0.06049
|
2027 9 19 61667 0.2427 0.3163 -0.17563
|
||||||
2027 3 15 61479 0.0416 0.4517 0.06039
|
2027 9 20 61668 0.2416 0.3151 -0.17573
|
||||||
2027 3 16 61480 0.0427 0.4532 0.06038
|
2027 9 21 61669 0.2405 0.3138 -0.17562
|
||||||
2027 3 17 61481 0.0440 0.4546 0.06033
|
2027 9 22 61670 0.2393 0.3126 -0.17534
|
||||||
2027 3 18 61482 0.0452 0.4561 0.06008
|
2027 9 23 61671 0.2381 0.3114 -0.17497
|
||||||
2027 3 19 61483 0.0465 0.4575 0.05955
|
2027 9 24 61672 0.2369 0.3102 -0.17466
|
||||||
2027 3 20 61484 0.0478 0.4589 0.05880
|
2027 9 25 61673 0.2356 0.3091 -0.17446
|
||||||
2027 3 21 61485 0.0491 0.4602 0.05783
|
2027 9 26 61674 0.2344 0.3079 -0.17452
|
||||||
2027 3 22 61486 0.0505 0.4616 0.05670
|
2027 9 27 61675 0.2331 0.3068 -0.17491
|
||||||
2027 3 23 61487 0.0518 0.4629 0.05564
|
2027 9 28 61676 0.2318 0.3057 -0.17557
|
||||||
2027 3 24 61488 0.0532 0.4643 0.05481
|
2027 9 29 61677 0.2305 0.3046 -0.17637
|
||||||
2027 3 25 61489 0.0547 0.4656 0.05426
|
2027 9 30 61678 0.2291 0.3035 -0.17727
|
||||||
2027 3 26 61490 0.0561 0.4668 0.05396
|
2027 10 1 61679 0.2277 0.3025 -0.17809
|
||||||
2027 3 27 61491 0.0576 0.4681 0.05393
|
2027 10 2 61680 0.2263 0.3015 -0.17865
|
||||||
2027 3 28 61492 0.0591 0.4693 0.05406
|
2027 10 3 61681 0.2249 0.3005 -0.17894
|
||||||
2027 3 29 61493 0.0606 0.4705 0.05424
|
2027 10 4 61682 0.2235 0.2995 -0.17892
|
||||||
2027 3 30 61494 0.0622 0.4717 0.05437
|
2027 10 5 61683 0.2220 0.2985 -0.17866
|
||||||
2027 3 31 61495 0.0637 0.4729 0.05441
|
2027 10 6 61684 0.2205 0.2976 -0.17834
|
||||||
2027 4 1 61496 0.0653 0.4740 0.05433
|
2027 10 7 61685 0.2190 0.2966 -0.17806
|
||||||
2027 4 2 61497 0.0669 0.4751 0.05410
|
2027 10 8 61686 0.2175 0.2957 -0.17778
|
||||||
These predictions are based on all announced leap seconds.
|
These predictions are based on all announced leap seconds.
|
||||||
|
|
||||||
CELESTIAL POLE OFFSET SERIES:
|
CELESTIAL POLE OFFSET SERIES:
|
||||||
NEOS Celestial Pole Offset Series
|
NEOS Celestial Pole Offset Series
|
||||||
MJD dpsi error deps error
|
MJD dpsi error deps error
|
||||||
(msec. of arc)
|
(msec. of arc)
|
||||||
61117 -112.35 1.12 -10.04 0.10
|
61292 -123.28 1.24 -11.48 0.12
|
||||||
61118 -112.19 1.12 -9.76 0.10
|
61293 -123.30 1.24 -11.30 0.12
|
||||||
61119 -112.27 1.12 -9.51 0.10
|
61294 -123.26 1.24 -11.15 0.12
|
||||||
61120 -112.72 1.24 -9.47 0.10
|
61295 -123.29 0.32 -11.07 0.16
|
||||||
61121 -113.33 1.08 -9.70 0.06
|
61296 -123.59 0.32 -11.08 0.16
|
||||||
61122 -113.70 1.08 -10.08 0.06
|
61297 -124.16 0.32 -11.18 0.16
|
||||||
61123 -113.65 0.95 -10.43 0.03
|
61298 -124.72 0.32 -11.31 0.16
|
||||||
|
61299 -124.96 0.32 -11.38 0.16
|
||||||
IERS Celestial Pole Offset Final Series
|
61300 -124.76 0.32 -11.31 0.16
|
||||||
MJD dpsi deps
|
61301 -124.26 0.32 -11.17 0.16
|
||||||
(msec. of arc)
|
61302 -123.69 0.32 -11.09 0.16
|
||||||
61073 -113.3 -7.7
|
61303 -123.26 1.03 -11.12 0.11
|
||||||
61074 -113.0 -7.5
|
61304 -123.06 1.03 -11.23 0.11
|
||||||
61075 -112.8 -7.5
|
61305 -123.09 1.03 -11.27 0.11
|
||||||
61076 -113.1 -7.6
|
|
||||||
61077 -113.6 -7.7
|
|
||||||
61078 -114.1 -7.9
|
|
||||||
61079 -114.5 -8.0
|
|
||||||
61080 -114.6 -8.0
|
|
||||||
61081 -114.5 -7.9
|
|
||||||
61082 -114.3 -8.0
|
|
||||||
61083 -113.9 -8.1
|
|
||||||
61084 -113.6 -8.4
|
|
||||||
61085 -113.5 -8.6
|
|
||||||
61086 -113.6 -8.7
|
|
||||||
61087 -113.8 -8.6
|
|
||||||
61088 -113.8 -8.6
|
|
||||||
61089 -113.7 -8.6
|
|
||||||
61090 -113.7 -8.6
|
|
||||||
61091 -113.9 -8.6
|
|
||||||
61092 -114.2 -8.6
|
|
||||||
61093 -114.6 -8.7
|
|
||||||
61094 -114.8 -8.7
|
|
||||||
61095 -114.9 -8.8
|
|
||||||
61096 -114.6 -8.9
|
|
||||||
61097 -114.3 -9.1
|
|
||||||
61098 -113.8 -9.3
|
|
||||||
61099 -113.5 -9.5
|
|
||||||
61100 -113.1 -9.6
|
|
||||||
|
|
||||||
IAU2000A Celestial Pole Offset Series
|
IAU2000A Celestial Pole Offset Series
|
||||||
MJD dX error dY error
|
MJD dX error dY error
|
||||||
(msec. of arc)
|
(msec. of arc)
|
||||||
61117 0.444 0.446 -0.042 0.099
|
61292 0.457 0.492 -0.206 0.116
|
||||||
61118 0.441 0.446 -0.041 0.099
|
61293 0.457 0.492 -0.198 0.116
|
||||||
61119 0.437 0.446 -0.038 0.099
|
61294 0.456 0.492 -0.190 0.116
|
||||||
61120 0.430 0.492 -0.032 0.097
|
61295 0.455 0.128 -0.182 0.160
|
||||||
61121 0.421 0.428 -0.023 0.065
|
61296 0.453 0.128 -0.175 0.160
|
||||||
61122 0.409 0.428 -0.012 0.065
|
61297 0.450 0.128 -0.167 0.160
|
||||||
61123 0.397 0.378 0.000 0.031
|
61298 0.447 0.128 -0.160 0.160
|
||||||
|
61299 0.443 0.128 -0.152 0.160
|
||||||
|
61300 0.438 0.128 -0.145 0.160
|
||||||
IAU2000A Celestial Pole Offset Final Series
|
61301 0.434 0.128 -0.138 0.160
|
||||||
MJD dX dY
|
61302 0.429 0.128 -0.131 0.160
|
||||||
(msec. of arc)
|
61303 0.424 0.409 -0.124 0.113
|
||||||
61073 0.50 -0.05
|
61304 0.419 0.409 -0.117 0.113
|
||||||
61074 0.49 -0.04
|
61305 0.414 0.409 -0.109 0.113
|
||||||
61075 0.47 -0.02
|
|
||||||
61076 0.45 0.00
|
|
||||||
61077 0.43 0.02
|
|
||||||
61078 0.41 0.05
|
|
||||||
61079 0.41 0.08
|
|
||||||
61080 0.41 0.11
|
|
||||||
61081 0.41 0.14
|
|
||||||
61082 0.42 0.15
|
|
||||||
61083 0.43 0.16
|
|
||||||
61084 0.44 0.15
|
|
||||||
61085 0.45 0.11
|
|
||||||
61086 0.45 0.05
|
|
||||||
61087 0.46 -0.03
|
|
||||||
61088 0.45 -0.11
|
|
||||||
61089 0.42 -0.19
|
|
||||||
61090 0.39 -0.27
|
|
||||||
61091 0.35 -0.32
|
|
||||||
61092 0.33 -0.32
|
|
||||||
61093 0.32 -0.29
|
|
||||||
61094 0.31 -0.24
|
|
||||||
61095 0.32 -0.19
|
|
||||||
61096 0.36 -0.13
|
|
||||||
61097 0.41 -0.09
|
|
||||||
61098 0.44 -0.05
|
|
||||||
61099 0.44 -0.07
|
|
||||||
61100 0.40 -0.12
|
|
||||||
|
|
||||||
)--";
|
)--";
|
||||||
|
|
||||||
|
|||||||
@@ -126,19 +126,23 @@ protected:
|
|||||||
return MccDeserializerErrorCode::ERROR_OK;
|
return MccDeserializerErrorCode::ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto r_str = std::views::split(input, params.seq_delim);
|
// auto r_str = std::views::split(input, params.seq_delim);
|
||||||
|
auto r_str = std::views::split(input, params.elem_delim);
|
||||||
VT val;
|
VT val;
|
||||||
|
|
||||||
auto it = r.begin();
|
auto it = r.begin();
|
||||||
for (auto const& el : r_str) {
|
for (auto const& el : r_str) {
|
||||||
auto err = dsr(el, val, std::forward<DeserParamsT>(params)...);
|
// auto err = dsr(el, val, std::forward<DeserParamsT>(params)...);
|
||||||
|
auto err = dsr(el, val, params);
|
||||||
if (err) {
|
if (err) {
|
||||||
return mcc_deduced_err(err, MccDeserializerErrorCode::ERROR_UNDERLYING_DESERIALIZER);
|
return mcc_deduced_err(err, MccDeserializerErrorCode::ERROR_UNDERLYING_DESERIALIZER);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (it == r.end()) {
|
if (it == r.end()) {
|
||||||
|
if constexpr (!traits::mcc_fixed_size_range<R>) {
|
||||||
std::back_inserter(r) = val;
|
std::back_inserter(r) = val;
|
||||||
it = r.end();
|
it = r.end();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
*it = val;
|
*it = val;
|
||||||
++it;
|
++it;
|
||||||
|
|||||||
@@ -62,6 +62,26 @@ public:
|
|||||||
fromTimePoint(std::forward<decltype(other)>(other).UTC());
|
fromTimePoint(std::forward<decltype(other)>(other).UTC());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MccCelestialCoordEpoch(traits::mcc_input_char_range auto&& str)
|
||||||
|
{
|
||||||
|
// ignore possible errors!!!
|
||||||
|
fromCharRange(std::forward<decltype(str)>(str));
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename ClockT, typename DurT>
|
||||||
|
MccCelestialCoordEpoch(std::chrono::time_point<ClockT, DurT> const& tp) : MccCelestialCoordEpoch()
|
||||||
|
{
|
||||||
|
fromTimePoint(tp);
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename VT>
|
||||||
|
MccCelestialCoordEpoch(VT&& mjd)
|
||||||
|
requires std::is_arithmetic_v<std::remove_cvref_t<VT>>
|
||||||
|
{
|
||||||
|
// ignore possible errors!!!
|
||||||
|
fromMJD(std::forward<decltype(mjd)>(mjd));
|
||||||
|
}
|
||||||
|
|
||||||
MccCelestialCoordEpoch& operator=(mcc_coord_epoch_c auto&& other)
|
MccCelestialCoordEpoch& operator=(mcc_coord_epoch_c auto&& other)
|
||||||
{
|
{
|
||||||
fromTimePoint(std::forward<decltype(other)>(other).UTC());
|
fromTimePoint(std::forward<decltype(other)>(other).UTC());
|
||||||
@@ -79,17 +99,17 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
template <typename ClockT, typename DurT>
|
template <typename ClockT, typename DurT>
|
||||||
MccCelestialCoordEpoch& operator=(std::chrono::time_point<ClockT, DurT>&& tp)
|
MccCelestialCoordEpoch& operator=(std::chrono::time_point<ClockT, DurT> const& tp)
|
||||||
{
|
{
|
||||||
// ignore possible errors!!!
|
// ignore possible errors!!!
|
||||||
auto ok = fromTimePoint(std::forward<decltype(tp)>(tp));
|
auto ok = fromTimePoint(tp);
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename VT>
|
template <typename VT>
|
||||||
MccCelestialCoordEpoch& operator=(VT&& mjd)
|
MccCelestialCoordEpoch& operator=(VT&& mjd)
|
||||||
requires std::is_arithmetic_v<VT>
|
requires std::is_arithmetic_v<std::remove_cvref_t<VT>>
|
||||||
{
|
{
|
||||||
// ignore possible errors!!!
|
// ignore possible errors!!!
|
||||||
auto ok = fromMJD(std::forward<decltype(mjd)>(mjd));
|
auto ok = fromMJD(std::forward<decltype(mjd)>(mjd));
|
||||||
@@ -139,17 +159,17 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename ClockT, typename DurT>
|
template <typename ClockT, typename DurT>
|
||||||
bool fromTimePoint(std::chrono::time_point<ClockT, DurT>&& tp)
|
bool fromTimePoint(std::chrono::time_point<ClockT, DurT> const& tp)
|
||||||
{
|
{
|
||||||
if constexpr (std::same_as<ClockT, std::chrono::system_clock>) {
|
if constexpr (std::same_as<ClockT, std::chrono::system_clock>) {
|
||||||
_UTC = std::chrono::time_point_cast<decltype(_UTC)::duration>(std::forward<decltype(tp)>(tp));
|
_UTC = std::chrono::time_point_cast<decltype(_UTC)::duration>(tp);
|
||||||
} else if constexpr (std::same_as<ClockT, std::chrono::utc_clock>) {
|
} else if constexpr (std::same_as<ClockT, std::chrono::utc_clock>) {
|
||||||
auto stp = std::chrono::utc_clock::to_sys(std::forward<decltype(tp)>(tp));
|
auto stp = std::chrono::utc_clock::to_sys(tp);
|
||||||
_UTC = std::chrono::time_point_cast<decltype(_UTC)::duration>(std::forward<decltype(tp)>(stp));
|
_UTC = std::chrono::time_point_cast<decltype(_UTC)::duration>(stp);
|
||||||
} else if constexpr (std::same_as<ClockT, std::chrono::tai_clock>) {
|
} else if constexpr (std::same_as<ClockT, std::chrono::tai_clock>) {
|
||||||
return fromTimePoint(ClockT::to_utc(std::forward<decltype(tp)>(tp)));
|
return fromTimePoint(ClockT::to_utc(tp));
|
||||||
} else if constexpr (std::same_as<ClockT, std::chrono::gps_clock>) {
|
} else if constexpr (std::same_as<ClockT, std::chrono::gps_clock>) {
|
||||||
return fromTimePoint(ClockT::to_utc(std::forward<decltype(tp)>(tp)));
|
return fromTimePoint(ClockT::to_utc(tp));
|
||||||
} else {
|
} else {
|
||||||
static_assert(false, "UNSUPPORTED CLOCK!!!");
|
static_assert(false, "UNSUPPORTED CLOCK!!!");
|
||||||
}
|
}
|
||||||
@@ -407,6 +427,5 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
static_assert(mcc_coord_epoch_c<MccCelestialCoordEpoch>, "!!!");
|
static_assert(mcc_coord_epoch_c<MccCelestialCoordEpoch>, "!!!");
|
||||||
|
static_assert(requires(MccCelestialCoordEpoch ep) { ep = std::chrono::system_clock::now(); });
|
||||||
|
|
||||||
} // namespace mcc::impl
|
} // namespace mcc::impl
|
||||||
|
|||||||
@@ -11,7 +11,9 @@
|
|||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "mcc_constants.h"
|
#include <unordered_map>
|
||||||
|
#include <unordered_set>
|
||||||
|
|
||||||
#include "mcc_deserializer.h"
|
#include "mcc_deserializer.h"
|
||||||
#include "mcc_serializer.h"
|
#include "mcc_serializer.h"
|
||||||
#include "mcc_utils.h"
|
#include "mcc_utils.h"
|
||||||
@@ -19,7 +21,13 @@
|
|||||||
namespace mcc::impl
|
namespace mcc::impl
|
||||||
{
|
{
|
||||||
|
|
||||||
enum class MccKeyValueHolderErrorCode : int { ERROR_OK, ERROR_INVALID_KEY, ERROR_INCOMPATIBLE_TYPE, ERROR_DESERIAL };
|
enum class MccKeyValueHolderErrorCode : int {
|
||||||
|
ERROR_OK,
|
||||||
|
ERROR_INVALID_KEY,
|
||||||
|
ERROR_INCOMPATIBLE_TYPE,
|
||||||
|
ERROR_DESERIAL,
|
||||||
|
ERROR_SERIAL
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace mcc::impl
|
} // namespace mcc::impl
|
||||||
|
|
||||||
@@ -41,12 +49,12 @@ namespace mcc::impl
|
|||||||
struct MccKeyValueHolderCategory : public std::error_category {
|
struct MccKeyValueHolderCategory : public std::error_category {
|
||||||
MccKeyValueHolderCategory() : std::error_category() {}
|
MccKeyValueHolderCategory() : std::error_category() {}
|
||||||
|
|
||||||
const char* name() const noexcept
|
const char* name() const noexcept override
|
||||||
{
|
{
|
||||||
return "MCC-KEYVALUEHOLDER-ERR-CATEGORY";
|
return "MCC-KEYVALUEHOLDER-ERR-CATEGORY";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string message(int ec) const
|
std::string message(int ec) const override
|
||||||
{
|
{
|
||||||
MccKeyValueHolderErrorCode err = static_cast<MccKeyValueHolderErrorCode>(ec);
|
MccKeyValueHolderErrorCode err = static_cast<MccKeyValueHolderErrorCode>(ec);
|
||||||
|
|
||||||
@@ -59,6 +67,8 @@ struct MccKeyValueHolderCategory : public std::error_category {
|
|||||||
return "incompatible type";
|
return "incompatible type";
|
||||||
case MccKeyValueHolderErrorCode::ERROR_DESERIAL:
|
case MccKeyValueHolderErrorCode::ERROR_DESERIAL:
|
||||||
return "deserialization error";
|
return "deserialization error";
|
||||||
|
case MccKeyValueHolderErrorCode::ERROR_SERIAL:
|
||||||
|
return "serialization error";
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
}
|
}
|
||||||
@@ -80,68 +90,117 @@ inline std::error_code make_error_code(MccKeyValueHolderErrorCode ec)
|
|||||||
|
|
||||||
// to follow std::variant requirements (not references, not array, not void)
|
// to follow std::variant requirements (not references, not array, not void)
|
||||||
template <typename T>
|
template <typename T>
|
||||||
concept mcc_variant_valid_type_c = requires { !std::is_array_v<T> && !std::is_void_v<T> && !std::is_reference_v<T>; };
|
concept mcc_record_value_c = requires { !std::is_array_v<T> && !std::is_void_v<T> && !std::is_reference_v<T>; };
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
concept mcc_keyvalue_record_c = requires(T t) {
|
concept mcc_keyvalue_record_c = requires(T t) {
|
||||||
requires std::same_as<decltype(t.key), std::string_view>;
|
requires std::same_as<decltype(t.key), const std::string_view>; // key name is immutable!!!
|
||||||
requires mcc_variant_valid_type_c<decltype(t.value)>;
|
requires mcc_record_value_c<decltype(t.value)>; // value is mutable
|
||||||
|
requires mcc_record_value_c<decltype(t.default_value)>; // default value is mutable
|
||||||
|
requires mcc_serialization_params_c<decltype(t.serial_pars)>; // serialization parameters
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// must be a std::tuple of mcc_keyvalue_record_c
|
||||||
template <typename T>
|
template <typename T>
|
||||||
concept mcc_keyvalue_desc_c = requires(T t) { []<mcc_keyvalue_record_c... Ts>(std::tuple<Ts...>) {}(t); };
|
concept mcc_keyvalue_desc_c = requires(T t) { []<mcc_keyvalue_record_c... Ts>(std::tuple<Ts...>) {}(t); };
|
||||||
|
|
||||||
|
|
||||||
namespace constants
|
// use of 'inline' here to avoid '-Wsubobject-linkage' GCC-warning
|
||||||
{
|
inline constexpr char MCC_KV_COMMENT_SEQ_ARR[] = "#";
|
||||||
|
inline constexpr char MCC_KV_KEY_VALUE_DELIM_SEQ_ARR[] = "=";
|
||||||
static constexpr char MCC_KV_COMMENT_SEQ_ARR[] = "#";
|
inline constexpr char MCC_KV_COMPOSITE_VALUE_DELIM_SEQ_ARR[] = ",";
|
||||||
static constexpr char MCC_KV_KEY_VALUE_DELIM_SEQ_ARR[] = "=";
|
|
||||||
static constexpr char MCC_KV_VALUE_ARRAY_DELIM_SEQ_ARR[] = ",";
|
|
||||||
|
|
||||||
} // namespace constants
|
|
||||||
|
|
||||||
|
|
||||||
template <mcc_keyvalue_desc_c DESCR_T,
|
template <mcc_keyvalue_desc_c DESCR_T,
|
||||||
const char* COMM_SEQ = constants::MCC_KV_COMMENT_SEQ_ARR,
|
const char* COMM_SEQ = MCC_KV_COMMENT_SEQ_ARR, // comment char sequence
|
||||||
const char* KV_DELIM = constants::MCC_KV_KEY_VALUE_DELIM_SEQ_ARR,
|
const char* KV_DELIM = MCC_KV_KEY_VALUE_DELIM_SEQ_ARR // key-value delimiter
|
||||||
const char* ARR_DELIM = constants::MCC_KV_VALUE_ARRAY_DELIM_SEQ_ARR>
|
>
|
||||||
class MccKeyValueHolder
|
class MccKeyValueHolder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static constexpr std::string_view COMMENT_SEQ{COMM_SEQ == nullptr ? constants::MCC_KV_COMMENT_SEQ_ARR
|
enum OutputPolicy {
|
||||||
: COMM_SEQ[0] == '\0' ? constants::MCC_KV_COMMENT_SEQ_ARR
|
OPOLICY_CHANGED_ONLY, // serialize only changed and previously deserialized (by fromCharRange method) key-value
|
||||||
|
// pairs
|
||||||
|
OPOLICY_FULL // serialize entire set of key-value pairs
|
||||||
|
};
|
||||||
|
|
||||||
|
static constexpr std::string_view DEFAULT_RECORD_DELIMITER{"\n"};
|
||||||
|
|
||||||
|
static constexpr std::string_view COMMENT_SEQ{COMM_SEQ == nullptr ? MCC_KV_COMMENT_SEQ_ARR
|
||||||
|
: COMM_SEQ[0] == '\0' ? MCC_KV_COMMENT_SEQ_ARR
|
||||||
: COMM_SEQ};
|
: COMM_SEQ};
|
||||||
|
|
||||||
static constexpr std::string_view KEY_VALUE_DELIM{KV_DELIM == nullptr ? constants::MCC_KV_KEY_VALUE_DELIM_SEQ_ARR
|
static constexpr std::string_view KEY_VALUE_DELIM{KV_DELIM == nullptr ? MCC_KV_KEY_VALUE_DELIM_SEQ_ARR
|
||||||
: KV_DELIM[0] == '\0' ? constants::MCC_KV_KEY_VALUE_DELIM_SEQ_ARR
|
: KV_DELIM[0] == '\0' ? MCC_KV_KEY_VALUE_DELIM_SEQ_ARR
|
||||||
: KV_DELIM};
|
: KV_DELIM};
|
||||||
|
|
||||||
static constexpr std::string_view VALUE_ARRAY_DELIM{
|
static constexpr size_t NUMBER_OF_RECORDS = std::tuple_size_v<DESCR_T>;
|
||||||
ARR_DELIM == nullptr ? constants::MCC_KV_VALUE_ARRAY_DELIM_SEQ_ARR
|
|
||||||
: ARR_DELIM[0] == '\0' ? constants::MCC_KV_VALUE_ARRAY_DELIM_SEQ_ARR
|
|
||||||
: ARR_DELIM};
|
|
||||||
|
|
||||||
|
|
||||||
MccKeyValueHolder(DESCR_T desc) : _keyValue(desc)
|
MccKeyValueHolder(DESCR_T desc) : _keyValue(desc)
|
||||||
{
|
{
|
||||||
[this]<size_t... I>(std::index_sequence<I...>) {
|
[this]<size_t... I>(std::index_sequence<I...>) {
|
||||||
((_hashes[I] = utils::FNV1aHash(std::get<I>(_keyValue).key)), ...);
|
((_hashes[I] = utils::FNV1aHash(std::get<I>(_keyValue).key)), ...);
|
||||||
}(std::make_index_sequence<std::tuple_size_v<DESCR_T>>());
|
}(std::make_index_sequence<NUMBER_OF_RECORDS>());
|
||||||
|
|
||||||
|
_changedKey.insert_range(_hashes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MccKeyValueHolder(MccKeyValueHolder const& other) : MccKeyValueHolder(other._keyValue)
|
||||||
|
{
|
||||||
|
copyInst(other);
|
||||||
|
};
|
||||||
|
|
||||||
|
MccKeyValueHolder(MccKeyValueHolder&& other)
|
||||||
|
{
|
||||||
|
moveInst(std::move(other));
|
||||||
|
};
|
||||||
|
|
||||||
|
MccKeyValueHolder& operator=(MccKeyValueHolder const& other)
|
||||||
|
{
|
||||||
|
copyInst(other);
|
||||||
|
|
||||||
|
return *this;
|
||||||
|
};
|
||||||
|
|
||||||
|
MccKeyValueHolder& operator=(MccKeyValueHolder&& other)
|
||||||
|
{
|
||||||
|
moveInst(std::move(other));
|
||||||
|
|
||||||
|
return *this;
|
||||||
|
};
|
||||||
|
|
||||||
|
constexpr std::array<std::string_view, NUMBER_OF_RECORDS> keys() const
|
||||||
|
{
|
||||||
|
return [this]<size_t... Is>(std::index_sequence<Is...>) {
|
||||||
|
return std::array<std::string_view, NUMBER_OF_RECORDS>{std::get<Is>(_keyValue).key...};
|
||||||
|
}(std::make_index_sequence<NUMBER_OF_RECORDS>{});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void setToDefaults()
|
||||||
|
{
|
||||||
|
[this]<size_t... Is>(std::index_sequence<Is...>) {
|
||||||
|
((std::get<Is>(_keyValue).value = std::get<Is>(_keyValue).default_value), ...);
|
||||||
|
}(std::make_index_sequence<NUMBER_OF_RECORDS>{});
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename T, std::ranges::contiguous_range R>
|
||||||
|
std::expected<T, std::error_code> getValue(R const& key) const
|
||||||
|
{
|
||||||
|
return getValue<T>(std::string_view{key});
|
||||||
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
std::expected<T, std::error_code> getValue(std::string_view key) const
|
std::expected<T, std::error_code> getValue(std::string_view key) const
|
||||||
{
|
{
|
||||||
T v;
|
// ugly, but works for non-default constructible values
|
||||||
auto err = forKey(key, [&v]<typename VT>(const VT& val) -> std::error_code {
|
alignas(T) unsigned char buff[sizeof(T)];
|
||||||
if constexpr (std::convertible_to<VT, T>) {
|
auto err = forKey(key, [&buff](auto const& rec) -> std::error_code {
|
||||||
v = val;
|
using VT = decltype(rec.value);
|
||||||
} else if constexpr (std::constructible_from<T, VT>) {
|
if constexpr (std::constructible_from<T, VT>) {
|
||||||
v = T(val);
|
new (buff) T(rec.value);
|
||||||
} else {
|
} else {
|
||||||
return MccKeyValueHolderErrorCode::ERROR_INCOMPATIBLE_TYPE;
|
return MccKeyValueHolderErrorCode::ERROR_INCOMPATIBLE_TYPE;
|
||||||
}
|
}
|
||||||
@@ -152,33 +211,107 @@ public:
|
|||||||
if (err) {
|
if (err) {
|
||||||
return std::unexpected(err);
|
return std::unexpected(err);
|
||||||
} else {
|
} else {
|
||||||
|
auto ptr = reinterpret_cast<T*>(&buff[0]);
|
||||||
|
auto v = std::move(*ptr);
|
||||||
|
ptr->~T(); // one needs explicitly call destructor here to avvoid side effects!!!
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// template <typename T>
|
||||||
|
// std::expected<T, std::error_code> getValue(std::string_view key) const
|
||||||
|
// {
|
||||||
|
// T v;
|
||||||
|
// auto err = forKey(key, [&v](auto const& rec) -> std::error_code {
|
||||||
|
// using VT = decltype(rec.value);
|
||||||
|
// if constexpr (std::convertible_to<VT, T>) {
|
||||||
|
// v = rec.value;
|
||||||
|
// } else if constexpr (std::constructible_from<T, VT>) {
|
||||||
|
// v = T(rec.value);
|
||||||
|
// } else {
|
||||||
|
// return MccKeyValueHolderErrorCode::ERROR_INCOMPATIBLE_TYPE;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// return MccKeyValueHolderErrorCode::ERROR_OK;
|
||||||
|
// });
|
||||||
|
|
||||||
|
// if (err) {
|
||||||
|
// return std::unexpected(err);
|
||||||
|
// } else {
|
||||||
|
// return v;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
template <std::ranges::contiguous_range R, typename T>
|
||||||
|
std::error_code setValue(R const& key, const T& value)
|
||||||
|
{
|
||||||
|
return setValue(std::string_view{key}, value);
|
||||||
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
std::error_code setValue(std::string_view key, const T& value)
|
std::error_code setValue(std::string_view key, const T& value)
|
||||||
{
|
{
|
||||||
return forKey(key, [value]<typename VT>(VT& val) -> std::error_code {
|
const size_t hash = utils::FNV1aHash(key);
|
||||||
if constexpr (std::convertible_to<T, VT>) {
|
|
||||||
val = value;
|
auto ec = forHash(hash, [&value](auto& rec) -> std::error_code {
|
||||||
|
using VT = decltype(rec.value);
|
||||||
|
if constexpr (requires { rec.value = value; }) {
|
||||||
|
rec.value = value;
|
||||||
} else if constexpr (std::constructible_from<VT, T>) {
|
} else if constexpr (std::constructible_from<VT, T>) {
|
||||||
val = VT(value);
|
rec.value = VT(value);
|
||||||
|
} else if constexpr (std::ranges::range<VT> && std::ranges::range<T> &&
|
||||||
|
requires(std::ranges::range_value_t<VT> v, std::ranges::range_value_t<T> t) {
|
||||||
|
v = t;
|
||||||
|
}) {
|
||||||
|
const auto& val = std::is_pointer_v<std::decay_t<T>> ? std::span{value} : value;
|
||||||
|
|
||||||
|
size_t N = std::ranges::distance(rec.value.begin(), rec.value.end());
|
||||||
|
size_t M = std::ranges::distance(val.begin(), val.end());
|
||||||
|
|
||||||
|
auto it = std::ranges::begin(rec.value);
|
||||||
|
std::ranges::for_each_n(val.begin(), N > M ? M : N, [&it](auto const& el) {
|
||||||
|
*it = el;
|
||||||
|
++it;
|
||||||
|
});
|
||||||
|
|
||||||
|
if (N >= M) { // resize to match the size of the input range
|
||||||
|
if constexpr (!traits::mcc_non_resizable_range<VT>) {
|
||||||
|
rec.value.resize(M);
|
||||||
|
}
|
||||||
|
} else { // append if allowed
|
||||||
|
if constexpr (!traits::mcc_fixed_size_range<VT>) {
|
||||||
|
std::ranges::for_each_n(val.begin(), N, [&it](auto const& el) {
|
||||||
|
*it = el;
|
||||||
|
++it;
|
||||||
|
});
|
||||||
|
|
||||||
|
std::ranges::for_each(val | std::views::drop(N),
|
||||||
|
[&rec](auto const& el) { std::back_inserter(rec.value) = el; });
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return MccKeyValueHolderErrorCode::ERROR_INCOMPATIBLE_TYPE;
|
return MccKeyValueHolderErrorCode::ERROR_INCOMPATIBLE_TYPE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return MccKeyValueHolderErrorCode::ERROR_OK;
|
return MccKeyValueHolderErrorCode::ERROR_OK;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!ec) {
|
||||||
|
_changedKey.insert(hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return ec;
|
||||||
|
}
|
||||||
|
|
||||||
template <std::ranges::contiguous_range R,
|
template <traits::mcc_input_char_range R,
|
||||||
std::ranges::input_range RecDelimT = std::string_view,
|
traits::mcc_input_char_range RecDelimT = std::string_view,
|
||||||
mcc_serialization_params_c SerParamsT = mcc_serialization_params_t>
|
mcc_serialization_params_c SerParamsT = mcc_serialization_params_t>
|
||||||
std::error_code fromCharRange(const R& buffer,
|
std::error_code fromCharRange(const R& buffer,
|
||||||
RecDelimT rec_delim = std::string_view("\n"),
|
size_t skip_records = 0, // number of skipped records (from the beginning)
|
||||||
SerParamsT const& ser_params = mcc_serialization_params_t{})
|
RecDelimT rec_delim = DEFAULT_RECORD_DELIMITER // records delimiter
|
||||||
|
)
|
||||||
|
requires std::ranges::contiguous_range<R>
|
||||||
{
|
{
|
||||||
if constexpr (std::is_array_v<std::decay_t<R>>) { // char*, const char*
|
if constexpr (std::is_array_v<std::decay_t<R>>) { // char*, const char*
|
||||||
if constexpr (std::is_array_v<std::decay_t<RecDelimT>>) {
|
if constexpr (std::is_array_v<std::decay_t<RecDelimT>>) {
|
||||||
@@ -193,42 +326,135 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::error_code ec{};
|
std::error_code ec{};
|
||||||
std::string_view rec, key, value;
|
std::string_view rec, key, svalue, inline_comm;
|
||||||
|
std::vector<std::optional<std::string>> head_comm;
|
||||||
|
size_t key_hash;
|
||||||
|
|
||||||
|
_headComment.clear();
|
||||||
|
_inlineComment.clear();
|
||||||
|
_changedKey.clear();
|
||||||
|
|
||||||
|
// set values to its defaults
|
||||||
|
setToDefaults();
|
||||||
|
|
||||||
|
auto recs = std::views::split(buffer, std::move(rec_delim)) | std::views::drop(skip_records);
|
||||||
|
|
||||||
auto recs = std::views::split(buffer, std::move(rec_delim));
|
|
||||||
for (auto const& el : recs) {
|
for (auto const& el : recs) {
|
||||||
rec = mcc::utils::trimSpaces(el, utils::TrimType::TRIM_LEFT);
|
rec = mcc::utils::trimSpaces(el, utils::TrimType::TRIM_LEFT);
|
||||||
|
|
||||||
|
inline_comm = {};
|
||||||
|
|
||||||
if (rec.size()) {
|
if (rec.size()) {
|
||||||
auto found = std::ranges::search(rec, COMMENT_SEQ);
|
auto found = std::ranges::search(rec, COMMENT_SEQ);
|
||||||
if (found.begin() != rec.end()) { // there was the comment sequence in record
|
if (found.begin() != rec.end()) { // there was the comment sequence in record
|
||||||
|
if (found.begin() != rec.begin()) { // inline comment
|
||||||
|
inline_comm =
|
||||||
|
std::string_view{found.begin() + COMMENT_SEQ.size(), rec.end()}; // mark inline comment
|
||||||
|
} else { // head comment
|
||||||
|
head_comm.push_back(std::string{found.end(), rec.end()});
|
||||||
|
}
|
||||||
|
|
||||||
rec = std::string_view(rec.begin(), found.begin());
|
rec = std::string_view(rec.begin(), found.begin());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rec.size()) {
|
if (rec.size()) {
|
||||||
found = std::ranges::search(rec, KEY_VALUE_DELIM);
|
found = std::ranges::search(rec, KEY_VALUE_DELIM);
|
||||||
if (found.begin() != rec.begin()) { // ignore an empty key
|
if (found.begin() != rec.begin()) {
|
||||||
key = trimSpaces(std::string_view(rec.begin(), found.begin()), utils::TrimType::TRIM_RIGHT);
|
key = trimSpaces(std::string_view(rec.begin(), found.begin()), utils::TrimType::TRIM_RIGHT);
|
||||||
value = std::string_view(found.end(), rec.end());
|
svalue = std::string_view(found.end(), rec.end());
|
||||||
|
|
||||||
ec = forKey(key, [value, &ser_params]<typename VT>(VT& v) {
|
key_hash = utils::FNV1aHash(key);
|
||||||
auto err = MccDeserializer<VT>(value, v, ser_params);
|
|
||||||
|
ec = forHash(key_hash, [&key_hash, svalue, this]<typename REC_T>(REC_T& v) {
|
||||||
|
using VT = decltype(v.value);
|
||||||
|
auto err = MccDeserializer<VT>{}(svalue, v.value, v.serial_pars);
|
||||||
if (err) {
|
if (err) {
|
||||||
return MccKeyValueHolderErrorCode::ERROR_DESERIAL;
|
return MccKeyValueHolderErrorCode::ERROR_DESERIAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_changedKey.insert(key_hash);
|
||||||
|
|
||||||
return MccKeyValueHolderErrorCode::ERROR_OK;
|
return MccKeyValueHolderErrorCode::ERROR_OK;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (ec) { // exit in the case of error
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// save head comment
|
||||||
|
_headComment[key_hash] = head_comm;
|
||||||
|
head_comm.clear();
|
||||||
|
_inlineComment[key_hash] = inline_comm;
|
||||||
|
} else { // an empty key
|
||||||
|
ec = MccKeyValueHolderErrorCode::ERROR_INVALID_KEY;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} // just comment string starting from the beginning, just skip it (no error)
|
} // just comment string starting from the beginning, just skip it (no error)
|
||||||
|
|
||||||
} // empty record, just skip it (no error)
|
} else { // empty record, just skip it (no error)
|
||||||
|
// head_comm.push_back({el.begin(), el.end()});
|
||||||
|
head_comm.push_back(std::nullopt);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return ec;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <OutputPolicy OPOLICY = MccKeyValueHolder::OPOLICY_CHANGED_ONLY,
|
||||||
|
traits::mcc_output_char_range R,
|
||||||
|
traits::mcc_input_char_range RecDelimT = std::string_view>
|
||||||
|
std::error_code toCharRange(R& output_buffer, RecDelimT rec_delim = DEFAULT_RECORD_DELIMITER)
|
||||||
|
{
|
||||||
|
if (std::is_pointer_v<std::decay_t<RecDelimT>>) { // char*, const char*, char[], conat char[]
|
||||||
|
return toCharRange(output_buffer, std::string_view{rec_delim});
|
||||||
|
}
|
||||||
|
|
||||||
|
std::error_code ec{};
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
// to fix GCC compilation crash for the versions < 16
|
||||||
|
#if GCC_VERSION < 160000
|
||||||
|
auto write_rec = [&output_buffer, &rec_delim, &ec, obj_ptr = this]<size_t I = 0>(this auto& self) -> void {
|
||||||
|
#else
|
||||||
|
auto write_rec = [&output_buffer, &rec_delim, &ec, this]<size_t I = 0>(this auto& self) -> void {
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
if constexpr (I < NUMBER_OF_RECORDS) {
|
||||||
|
if constexpr (OPOLICY == MccKeyValueHolder::OPOLICY_CHANGED_ONLY) {
|
||||||
|
#ifdef __GNUG__
|
||||||
|
// to fix GCC compilation crash for the versions < 16
|
||||||
|
#if GCC_VERSION < 160000
|
||||||
|
if (obj_ptr->_changedKey.count(obj_ptr->_hashes[I]) == 0) {
|
||||||
|
#else
|
||||||
|
if (_changedKey.count(_hashes[I]) == 0) {
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
self.template operator()<I + 1>();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
// to fix GCC compilation crash for the versions < 16
|
||||||
|
#if GCC_VERSION < 160000
|
||||||
|
ec = obj_ptr->template formatRecord<I>(output_buffer, rec_delim);
|
||||||
|
#else
|
||||||
|
ec = formatRecord<I>(output_buffer, rec_delim);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
if (ec) {
|
if (ec) {
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.template operator()<I + 1>();
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
write_rec();
|
||||||
|
|
||||||
|
// [&write_rec]<size_t... Is>(std::index_sequence<Is...>) {
|
||||||
|
// (write_rec.template operator()<Is>(), ...);
|
||||||
|
// }(std::make_index_sequence<NUMBER_OF_RECORDS>());
|
||||||
|
|
||||||
return ec;
|
return ec;
|
||||||
}
|
}
|
||||||
@@ -236,7 +462,11 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
DESCR_T _keyValue;
|
DESCR_T _keyValue;
|
||||||
|
|
||||||
std::array<size_t, std::tuple_size_v<DESCR_T>> _hashes;
|
std::array<size_t, NUMBER_OF_RECORDS> _hashes{}; // key hashes
|
||||||
|
std::unordered_map<size_t, std::vector<std::optional<std::string>>>
|
||||||
|
_headComment{}; // comment string/strings before key
|
||||||
|
std::unordered_map<size_t, std::string> _inlineComment{}; // inline (after key=value pair) comment
|
||||||
|
std::unordered_set<size_t> _changedKey{}; // loaded keys (see fromCharRange)
|
||||||
|
|
||||||
//
|
//
|
||||||
// NOTE: deduced this is needed here to use "forKey" method in getter and setter (const and non-const contexts)!!!
|
// NOTE: deduced this is needed here to use "forKey" method in getter and setter (const and non-const contexts)!!!
|
||||||
@@ -249,13 +479,19 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// 'func' signature:
|
||||||
|
// std::error func(mcc_keyvalue_record_c&&)
|
||||||
|
// e.g.:
|
||||||
|
// [](auto const& rec)->std::error_code {}
|
||||||
|
// [](auto& rec)->std::error_code {}
|
||||||
|
//
|
||||||
template <size_t I = 0>
|
template <size_t I = 0>
|
||||||
std::error_code forHash(this auto&& self, size_t hash, auto&& func)
|
std::error_code forHash(this auto&& self, size_t hash, auto&& func)
|
||||||
{
|
{
|
||||||
if constexpr (I < std::tuple_size_v<DESCR_T>) {
|
if constexpr (I < NUMBER_OF_RECORDS) {
|
||||||
if (hash == std::forward<decltype(self)>(self)._hashes[I]) {
|
if (hash == std::forward<decltype(self)>(self)._hashes[I]) {
|
||||||
return std::forward<decltype(func)>(func)(
|
return std::forward<decltype(func)>(func)(std::get<I>(std::forward<decltype(self)>(self)._keyValue));
|
||||||
std::get<I>(std::forward<decltype(self)>(self)._keyValue).value);
|
|
||||||
} else {
|
} else {
|
||||||
return std::forward<decltype(self)>(self).template forHash<I + 1>(hash,
|
return std::forward<decltype(self)>(self).template forHash<I + 1>(hash,
|
||||||
std::forward<decltype(func)>(func));
|
std::forward<decltype(func)>(func));
|
||||||
@@ -264,7 +500,116 @@ protected:
|
|||||||
|
|
||||||
return MccKeyValueHolderErrorCode::ERROR_INVALID_KEY;
|
return MccKeyValueHolderErrorCode::ERROR_INVALID_KEY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <size_t I = 0, traits::mcc_output_char_range R, traits::mcc_input_char_range RecDelimT>
|
||||||
|
std::error_code formatRecord(R& output_buffer, RecDelimT rec_delim, bool is_default = false)
|
||||||
|
{
|
||||||
|
if constexpr (I < NUMBER_OF_RECORDS) {
|
||||||
|
auto key = std::get<I>(_keyValue).key;
|
||||||
|
using val_t = std::remove_cvref_t<decltype(std::get<I>(_keyValue).value)>;
|
||||||
|
|
||||||
|
const val_t& val = is_default ? std::get<I>(_keyValue).default_value : std::get<I>(_keyValue).value;
|
||||||
|
|
||||||
|
std::string buff;
|
||||||
|
// auto err = MccSerializer<val_t>{}(buff, std::get<I>(_keyValue).value,
|
||||||
|
// std::get<I>(_keyValue).serial_pars);
|
||||||
|
auto err = MccSerializer<val_t>{}(buff, val, std::get<I>(_keyValue).serial_pars);
|
||||||
|
if (err) {
|
||||||
|
return MccKeyValueHolderErrorCode::ERROR_SERIAL;
|
||||||
|
} else {
|
||||||
|
size_t hash = _hashes[I];
|
||||||
|
// write head comment
|
||||||
|
if (_headComment[hash].size()) {
|
||||||
|
for (auto const& comm : _headComment[hash]) {
|
||||||
|
if (comm.has_value()) {
|
||||||
|
std::format_to(std::back_inserter(output_buffer), "{}{}", COMM_SEQ, comm.value());
|
||||||
|
}
|
||||||
|
std::ranges::copy(rec_delim, std::back_inserter(output_buffer));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// key and value
|
||||||
|
std::format_to(std::back_inserter(output_buffer), "{}{}{}", key, KEY_VALUE_DELIM, buff);
|
||||||
|
|
||||||
|
// inline comment
|
||||||
|
if (_inlineComment[hash].size()) {
|
||||||
|
std::format_to(std::back_inserter(output_buffer), " {}{}", COMMENT_SEQ, _inlineComment[hash]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// record delimiter
|
||||||
|
std::ranges::copy(rec_delim, std::back_inserter(output_buffer));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return MccKeyValueHolderErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template <size_t I = 0>
|
||||||
|
void copyInst(MccKeyValueHolder const& other)
|
||||||
|
{
|
||||||
|
if constexpr (I < NUMBER_OF_RECORDS) {
|
||||||
|
// here one needs check equality of the keys!!!
|
||||||
|
if (_hashes[I] == other._hashes[I]) {
|
||||||
|
auto& orec = std::get<I>(other._keyValue);
|
||||||
|
std::get<I>(_keyValue).value = orec.value;
|
||||||
|
std::get<I>(_keyValue).default_value = orec.default_value;
|
||||||
|
std::get<I>(_keyValue).serial_pars = orec.serial_pars;
|
||||||
|
|
||||||
|
if (auto it = other._headComment.find(_hashes[I]); it != other._headComment.end()) {
|
||||||
|
_headComment[_hashes[I]] = it->second;
|
||||||
|
}
|
||||||
|
if (auto it = other._inlineComment.find(_hashes[I]); it != other._inlineComment.end()) {
|
||||||
|
_inlineComment[_hashes[I]] = it->second;
|
||||||
|
}
|
||||||
|
|
||||||
|
_changedKey.insert(_hashes[I]);
|
||||||
|
}
|
||||||
|
|
||||||
|
copyInst<I + 1>(other);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
template <size_t I = 0>
|
||||||
|
void moveInst(MccKeyValueHolder&& other)
|
||||||
|
{
|
||||||
|
if constexpr (I < NUMBER_OF_RECORDS) {
|
||||||
|
// here one needs check equality of the keys!!!
|
||||||
|
if (_hashes[I] == other._hashes[I]) {
|
||||||
|
auto& orec = std::get<I>(other._keyValue);
|
||||||
|
std::get<I>(_keyValue).value = std::move(orec.value);
|
||||||
|
std::get<I>(_keyValue).default_value = std::move(orec.default_value);
|
||||||
|
std::get<I>(_keyValue).serial_pars = std::move(orec.serial_pars);
|
||||||
|
|
||||||
|
if (auto it = other._headComment.find(_hashes[I]); it != other._headComment.end()) {
|
||||||
|
_headComment[_hashes[I]] = std::move(it->second);
|
||||||
|
}
|
||||||
|
if (auto it = other._inlineComment.find(_hashes[I]); it != other._inlineComment.end()) {
|
||||||
|
_inlineComment[_hashes[I]] = std::move(it->second);
|
||||||
|
}
|
||||||
|
|
||||||
|
_changedKey.insert(_hashes[I]);
|
||||||
|
}
|
||||||
|
|
||||||
|
moveInst<I + 1>(other);
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <mcc_record_value_c T>
|
||||||
|
struct mcc_simple_kv_record_t {
|
||||||
|
const std::string_view key;
|
||||||
|
T value, default_value;
|
||||||
|
mcc_serialization_params_t serial_pars;
|
||||||
|
};
|
||||||
|
|
||||||
|
template <mcc_record_value_c T>
|
||||||
|
static mcc_simple_kv_record_t<T> mcc_make_simple_kv_record(
|
||||||
|
std::string_view key,
|
||||||
|
T const& def_value,
|
||||||
|
mcc_serialization_params_t const& spars = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
return mcc_simple_kv_record_t<T>{key, def_value, def_value, spars};
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace mcc::impl
|
} // namespace mcc::impl
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
#include "mcc_concepts.h"
|
#include "mcc_concepts.h"
|
||||||
#include "mcc_coordinate.h"
|
#include "mcc_coordinate.h"
|
||||||
|
#include "mcc_deserializer.h"
|
||||||
|
#include "mcc_serializer.h"
|
||||||
|
|
||||||
namespace mcc::impl
|
namespace mcc::impl
|
||||||
{
|
{
|
||||||
@@ -104,6 +106,24 @@ class is_error_code_enum<mcc::impl::MccDefaultPCMErrorCode> : public true_type
|
|||||||
namespace mcc::impl
|
namespace mcc::impl
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// The routine generates a sequence of length 'innerN'+2 elements.
|
||||||
|
// Th e first element is 'start_border' and the last one is 'stop_border'
|
||||||
|
// (i.e. it returns at least 2-elements std::vector)
|
||||||
|
// 'innerN' is a number of inner elements
|
||||||
|
static std::vector<double> mccGenerateBsplineKnots(double start_border, double stop_border, size_t innerN)
|
||||||
|
{
|
||||||
|
std::vector<double> res(innerN + 2);
|
||||||
|
res.front() = start_border;
|
||||||
|
res.back() = stop_border;
|
||||||
|
|
||||||
|
if (innerN) {
|
||||||
|
const double step = (stop_border - start_border) / (innerN + 1);
|
||||||
|
std::ranges::for_each(std::views::iota(1, (int)innerN + 1),
|
||||||
|
[&](auto const& i) { res[i] = start_border + i * step; });
|
||||||
|
}
|
||||||
|
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
// type of PCM corrections (algorithm used):
|
// type of PCM corrections (algorithm used):
|
||||||
// PCM_TYPE_GEOMETRY - "classic" geometry-based correction coefficients
|
// PCM_TYPE_GEOMETRY - "classic" geometry-based correction coefficients
|
||||||
@@ -131,6 +151,48 @@ static constexpr std::string_view mccDefaultPCMTypeString(MccDefaultPCMType type
|
|||||||
: "UNKNOWN";
|
: "UNKNOWN";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct MccSerializer<MccDefaultPCMType> : MccSerializerBase {
|
||||||
|
constexpr static std::string_view serializerName{"MCC-DEFAULT-PCMTYPE-SERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_output_char_range auto& output,
|
||||||
|
MccDefaultPCMType const& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
std::ranges::copy(mccDefaultPCMTypeString(value), std::back_inserter(output));
|
||||||
|
|
||||||
|
return MccSerializerErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct MccDeserializer<MccDefaultPCMType> : MccDeserializerBase {
|
||||||
|
static constexpr std::string_view deserializerName{"MCC-COORD-EPOCH-DESERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_input_char_range auto const& input,
|
||||||
|
MccDefaultPCMType& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
auto s = mcc::utils::trimSpaces(input);
|
||||||
|
|
||||||
|
if (s == mcc::impl::MccDefaultPCMTypeString<mcc::impl::MccDefaultPCMType::PCM_TYPE_GEOMETRY>) {
|
||||||
|
value = mcc::impl::MccDefaultPCMType::PCM_TYPE_GEOMETRY;
|
||||||
|
} else if (s == mcc::impl::MccDefaultPCMTypeString<mcc::impl::MccDefaultPCMType::PCM_TYPE_GEOMETRY_BSPLINE>) {
|
||||||
|
value = mcc::impl::MccDefaultPCMType::PCM_TYPE_GEOMETRY;
|
||||||
|
} else if (s == mcc::impl::MccDefaultPCMTypeString<mcc::impl::MccDefaultPCMType::PCM_TYPE_BSPLINE>) {
|
||||||
|
value = mcc::impl::MccDefaultPCMType::PCM_TYPE_BSPLINE;
|
||||||
|
} else {
|
||||||
|
return MccDeserializerErrorCode::ERROR_INVALID_SERIALIZED_VALUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return MccDeserializerErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
template <MccMountType MOUNT_TYPE>
|
template <MccMountType MOUNT_TYPE>
|
||||||
class MccDefaultPCM : public mcc_pcm_interface_t<std::error_code>
|
class MccDefaultPCM : public mcc_pcm_interface_t<std::error_code>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -13,12 +13,14 @@
|
|||||||
#include "mcc_concepts.h"
|
#include "mcc_concepts.h"
|
||||||
#include "mcc_constants.h"
|
#include "mcc_constants.h"
|
||||||
#include "mcc_coordinate.h"
|
#include "mcc_coordinate.h"
|
||||||
|
#include "mcc_deserializer.h"
|
||||||
|
#include "mcc_serializer.h"
|
||||||
|
|
||||||
namespace mcc::impl
|
namespace mcc::impl
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
enum class MccPZoneErrorCode : int { ERROR_OK, ERROR_NULLPTR, ERROR_COORD_TRANSFROM, ERROR_PCM_COMP };
|
enum class MccPZoneErrorCode : int { ERROR_OK, ERROR_NULLPTR, ERROR_COORD_TRANSFROM, ERROR_NO_PCM, ERROR_PCM_COMP };
|
||||||
|
|
||||||
} // namespace mcc::impl
|
} // namespace mcc::impl
|
||||||
|
|
||||||
@@ -56,6 +58,8 @@ struct MccPZoneCategory : public std::error_category {
|
|||||||
return "input argument os nullptr";
|
return "input argument os nullptr";
|
||||||
case MccPZoneErrorCode::ERROR_COORD_TRANSFROM:
|
case MccPZoneErrorCode::ERROR_COORD_TRANSFROM:
|
||||||
return "coordinate transformation error";
|
return "coordinate transformation error";
|
||||||
|
case MccPZoneErrorCode::ERROR_NO_PCM:
|
||||||
|
return "PCM was not set";
|
||||||
case MccPZoneErrorCode::ERROR_PCM_COMP:
|
case MccPZoneErrorCode::ERROR_PCM_COMP:
|
||||||
return "PCM computation error";
|
return "PCM computation error";
|
||||||
default:
|
default:
|
||||||
@@ -89,6 +93,7 @@ public:
|
|||||||
|
|
||||||
MccAltLimitPZ(mcc_angle_c auto const& alt_limit, mcc_angle_c auto const& latitude)
|
MccAltLimitPZ(mcc_angle_c auto const& alt_limit, mcc_angle_c auto const& latitude)
|
||||||
: _altLimit(MccAngle(alt_limit).normalize<MccAngle::NORM_KIND_90_90>()),
|
: _altLimit(MccAngle(alt_limit).normalize<MccAngle::NORM_KIND_90_90>()),
|
||||||
|
_latitude(MccAngle::normalizeAngle<MccAngle::NORM_KIND_90_90>(latitude)),
|
||||||
_cosALim(cos(_altLimit)),
|
_cosALim(cos(_altLimit)),
|
||||||
_sinAlim(sin(_altLimit)),
|
_sinAlim(sin(_altLimit)),
|
||||||
_cosLat(cos(latitude)),
|
_cosLat(cos(latitude)),
|
||||||
@@ -106,6 +111,32 @@ public:
|
|||||||
: KIND == MccAltLimitKind::MAX_ALT_LIMIT ? "MAXALT-ZONE"
|
: KIND == MccAltLimitKind::MAX_ALT_LIMIT ? "MAXALT-ZONE"
|
||||||
: "ALTLIMIT-UNKNOWN";
|
: "ALTLIMIT-UNKNOWN";
|
||||||
|
|
||||||
|
MccAltLimitPZ& operator=(MccAltLimitPZ&&) = default;
|
||||||
|
MccAltLimitPZ& operator=(const MccAltLimitPZ&) = default;
|
||||||
|
|
||||||
|
template <mcc_angle_c T>
|
||||||
|
T altLimit() const
|
||||||
|
requires(!std::derived_from<T, MccAngle>)
|
||||||
|
{
|
||||||
|
return _altLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
MccAngle altLimit() const
|
||||||
|
{
|
||||||
|
return _altLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <mcc_angle_c T>
|
||||||
|
T latitude() const
|
||||||
|
requires(!std::derived_from<T, MccAngle>)
|
||||||
|
{
|
||||||
|
return _latitude;
|
||||||
|
}
|
||||||
|
|
||||||
|
MccAngle latitude() const
|
||||||
|
{
|
||||||
|
return _latitude;
|
||||||
|
}
|
||||||
|
|
||||||
error_t inPZone(mcc_skypoint_c auto const& coords, bool* result)
|
error_t inPZone(mcc_skypoint_c auto const& coords, bool* result)
|
||||||
{
|
{
|
||||||
@@ -230,7 +261,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
double _altLimit, _cosALim, _sinAlim;
|
double _altLimit, _cosALim, _sinAlim;
|
||||||
double _cosLat, _sinLat, _absLat, _latLim;
|
double _latitude, _cosLat, _sinLat, _absLat, _latLim;
|
||||||
|
|
||||||
bool doesObjectReachZone(const double& dec_app)
|
bool doesObjectReachZone(const double& dec_app)
|
||||||
{
|
{
|
||||||
@@ -321,15 +352,88 @@ protected:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static_assert(std::is_copy_assignable_v<MccAltLimitPZ<MccAltLimitKind::MIN_ALT_LIMIT>>);
|
||||||
|
|
||||||
|
/*
|
||||||
|
to be serialized in format:
|
||||||
|
ALT-LIMIT<seq-delim>LATITUDE
|
||||||
|
*/
|
||||||
|
template <MccAltLimitKind KIND>
|
||||||
|
struct MccSerializer<MccAltLimitPZ<KIND>> : MccSerializerBase {
|
||||||
|
constexpr static std::string_view serializerName{"MCC-ALTITUDE-PZONE-SERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_output_char_range auto& output,
|
||||||
|
MccAltLimitPZ<KIND> const& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
MccSerializer<MccAngle> aser;
|
||||||
|
|
||||||
|
auto err = aser(output, value.altLimit(), params);
|
||||||
|
if (err) {
|
||||||
|
return mcc_deduced_err(err, MccSerializerErrorCode::ERROR_UNDERLYING_SERIALIZER);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::format_to(std::back_inserter(output), "{}", params.seq_delim);
|
||||||
|
|
||||||
|
err = aser(output, value.latitude(), params);
|
||||||
|
if (err) {
|
||||||
|
return mcc_deduced_err(err, MccSerializerErrorCode::ERROR_UNDERLYING_SERIALIZER);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MccSerializerErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
template <MccAltLimitKind KIND>
|
||||||
|
struct MccDeserializer<MccAltLimitPZ<KIND>> : MccDeserializerBase {
|
||||||
|
static constexpr std::string_view deserializerName{"MCC-ALTITUDE-PZONE-DESERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_input_char_range auto const& input,
|
||||||
|
MccAltLimitPZ<KIND>& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
std::vector<std::string_view> s;
|
||||||
|
MccDeserializer<MccAngle> ades;
|
||||||
|
|
||||||
|
auto seq = std::views::split(input, params.seq_delim);
|
||||||
|
if (std::ranges::distance(seq.begin(), seq.end()) > 1) {
|
||||||
|
for (auto const& seq_el : seq) {
|
||||||
|
s.push_back(utils::trimSpaces(seq_el, utils::TrimType::TRIM_BOTH));
|
||||||
|
}
|
||||||
|
|
||||||
|
MccAngle alt, lat;
|
||||||
|
|
||||||
|
auto err = ades(s[0], alt, params);
|
||||||
|
if (err) {
|
||||||
|
return MccDeserializerErrorCode::ERROR_UNDERLYING_DESERIALIZER;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = ades(s[1], lat, params);
|
||||||
|
if (err) {
|
||||||
|
return MccDeserializerErrorCode::ERROR_UNDERLYING_DESERIALIZER;
|
||||||
|
}
|
||||||
|
|
||||||
|
value = MccAltLimitPZ<KIND>(alt, lat);
|
||||||
|
} else {
|
||||||
|
return MccDeserializerErrorCode::ERROR_INVALID_SERIALIZED_VALUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return MccDeserializerErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/* co-longitude axis (HA or AZ) limit switch prohibited zone */
|
|
||||||
|
/* co-longitude axis (HA or AZ) and co-latitude (DEC, ZD) limit switch prohibited zone */
|
||||||
|
|
||||||
template <MccCoordKind AXIS_KIND>
|
template <MccCoordKind AXIS_KIND>
|
||||||
class MccAxisLimitSwitchPZ : public mcc_pzone_interface_t<std::error_code>
|
class MccAxisLimitSwitchPZ : public mcc_pzone_interface_t<std::error_code>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static_assert(AXIS_KIND == MccCoordKind::COORDS_KIND_AZ || AXIS_KIND == MccCoordKind::COORDS_KIND_HA_OBS,
|
static_assert(AXIS_KIND == MccCoordKind::COORDS_KIND_AZ || AXIS_KIND == MccCoordKind::COORDS_KIND_HA_OBS ||
|
||||||
|
AXIS_KIND == MccCoordKind::COORDS_KIND_ZD || AXIS_KIND == MccCoordKind::COORDS_KIND_DEC_OBS,
|
||||||
"UNSUPPORTED AXIS TYPE!");
|
"UNSUPPORTED AXIS TYPE!");
|
||||||
|
|
||||||
typedef std::error_code error_t;
|
typedef std::error_code error_t;
|
||||||
@@ -339,13 +443,17 @@ public:
|
|||||||
static constexpr MccProhibitedZonePolicy pzPolicy = MccProhibitedZonePolicy::PZ_POLICY_FLIP;
|
static constexpr MccProhibitedZonePolicy pzPolicy = MccProhibitedZonePolicy::PZ_POLICY_FLIP;
|
||||||
|
|
||||||
//
|
//
|
||||||
// min_limit_val and max_limit_val are hardware encoder angles in radians!
|
// min_limit_val and max_limit_val are hardware encoder angles!
|
||||||
|
// pcm is nullptr or pointer to mcc_pcm_c
|
||||||
//
|
//
|
||||||
MccAxisLimitSwitchPZ(mcc_angle_c auto const& min_limit_val,
|
template <typename PCM_T>
|
||||||
mcc_angle_c auto const& max_limit_val,
|
MccAxisLimitSwitchPZ(mcc_angle_c auto const& min_limit_val, mcc_angle_c auto const& max_limit_val, PCM_T pcm)
|
||||||
mcc_pcm_c auto* pcm)
|
requires(std::is_null_pointer_v<PCM_T> || mcc_pcm_c<std::remove_pointer_t<PCM_T>>)
|
||||||
: _minLimit(min_limit_val), _maxLimit(max_limit_val)
|
: _minLimit(min_limit_val), _maxLimit(max_limit_val)
|
||||||
{
|
{
|
||||||
|
if constexpr (std::is_null_pointer_v<PCM_T>) {
|
||||||
|
_correctForPCM = [](MccSkyPoint const&, MccGenXY*) -> error_t { return MccPZoneErrorCode::ERROR_NO_PCM; };
|
||||||
|
} else {
|
||||||
_correctForPCM = [pcm](MccSkyPoint const& skypt, MccGenXY* hw_coords) {
|
_correctForPCM = [pcm](MccSkyPoint const& skypt, MccGenXY* hw_coords) {
|
||||||
struct pcm_res_t {
|
struct pcm_res_t {
|
||||||
double pcmX, pcmY;
|
double pcmX, pcmY;
|
||||||
@@ -358,14 +466,66 @@ public:
|
|||||||
return mcc_deduced_err(err, MccPZoneErrorCode::ERROR_PCM_COMP);
|
return mcc_deduced_err(err, MccPZoneErrorCode::ERROR_PCM_COMP);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static constexpr std::string_view pzoneName = axisKind == MccCoordKind::COORDS_KIND_AZ ? "AZ_AXIS-LIMITSWITCH_ZONE"
|
static constexpr std::string_view pzoneName =
|
||||||
: axisKind == MccCoordKind::COORDS_KIND_HA_OBS
|
axisKind == MccCoordKind::COORDS_KIND_AZ ? "AZ-AXIS-LIMITSWITCH-ZONE"
|
||||||
? "HA_AXIS-LIMITSWITCH_ZONE"
|
: axisKind == MccCoordKind::COORDS_KIND_HA_OBS ? "HA-AXIS-LIMITSWITCH-ZONE"
|
||||||
|
: axisKind == MccCoordKind::COORDS_KIND_ZD ? "ZD-AXIS-LIMITSWITCH-ZONE"
|
||||||
|
: axisKind == MccCoordKind::COORDS_KIND_DEC_OBS ? "DEC-AXIS-LIMITSWITCH-ZONE"
|
||||||
: "UKNOWN";
|
: "UKNOWN";
|
||||||
|
|
||||||
|
MccAxisLimitSwitchPZ(const MccAxisLimitSwitchPZ&) = default;
|
||||||
|
MccAxisLimitSwitchPZ(MccAxisLimitSwitchPZ&&) = default;
|
||||||
|
|
||||||
|
MccAxisLimitSwitchPZ& operator=(const MccAxisLimitSwitchPZ&) = default;
|
||||||
|
MccAxisLimitSwitchPZ& operator=(MccAxisLimitSwitchPZ&&) = default;
|
||||||
|
|
||||||
|
template <mcc_angle_c T>
|
||||||
|
T minLimit() const
|
||||||
|
requires(!std::derived_from<T, MccAngle>)
|
||||||
|
{
|
||||||
|
return _minLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
MccAngle minLimit() const
|
||||||
|
{
|
||||||
|
return _minLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <mcc_angle_c T>
|
||||||
|
T maxLimit() const
|
||||||
|
requires(!std::derived_from<T, MccAngle>)
|
||||||
|
{
|
||||||
|
return _maxLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
MccAngle maxLimit() const
|
||||||
|
{
|
||||||
|
return _maxLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename PCM_T>
|
||||||
|
void setPCM(PCM_T pcm)
|
||||||
|
requires(std::is_null_pointer_v<PCM_T> || mcc_pcm_c<std::remove_pointer_t<PCM_T>>)
|
||||||
|
{
|
||||||
|
if constexpr (std::is_null_pointer_v<PCM_T>) {
|
||||||
|
_correctForPCM = [](MccSkyPoint const&, MccGenXY*) -> error_t { return MccPZoneErrorCode::ERROR_NO_PCM; };
|
||||||
|
} else {
|
||||||
|
_correctForPCM = [pcm](MccSkyPoint const& skypt, MccGenXY* hw_coords) {
|
||||||
|
struct pcm_res_t {
|
||||||
|
double pcmX, pcmY;
|
||||||
|
};
|
||||||
|
|
||||||
|
pcm_res_t res;
|
||||||
|
|
||||||
|
auto err = pcm->computeInversePCM(skypt, &res, hw_coords);
|
||||||
|
|
||||||
|
return mcc_deduced_err(err, MccPZoneErrorCode::ERROR_PCM_COMP);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
error_t inPZone(mcc_skypoint_c auto const& coords, bool* result)
|
error_t inPZone(mcc_skypoint_c auto const& coords, bool* result)
|
||||||
{
|
{
|
||||||
@@ -430,15 +590,36 @@ protected:
|
|||||||
coords.to(xy);
|
coords.to(xy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if constexpr (AXIS_KIND == MccCoordKind::COORDS_KIND_HA_OBS) {
|
||||||
double x = xy.x();
|
double x = xy.x();
|
||||||
|
|
||||||
if constexpr (AXIS_KIND == MccCoordKind::COORDS_KIND_HA_OBS) {
|
|
||||||
if (from_time) { // timeFromPZone
|
if (from_time) { // timeFromPZone
|
||||||
time_ang = (_minLimit - x) / MCC_SIDERAL_TO_UT1_RATIO; // to UT1 scale
|
time_ang = (_minLimit - x) / MCC_SIDERAL_TO_UT1_RATIO; // to UT1 scale
|
||||||
} else { // timeToPZone
|
} else { // timeToPZone
|
||||||
time_ang = (_maxLimit - x) / MCC_SIDERAL_TO_UT1_RATIO; // to UT1 scale
|
time_ang = (_maxLimit - x) / MCC_SIDERAL_TO_UT1_RATIO; // to UT1 scale
|
||||||
}
|
}
|
||||||
|
} else if constexpr (AXIS_KIND == MccCoordKind::COORDS_KIND_DEC_OBS) {
|
||||||
|
double y = xy.y();
|
||||||
|
|
||||||
|
// TODO: !!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
// assume here sideral speed moving! so, observed DEC is near constant
|
||||||
|
if (from_time) { // timeFromPZone
|
||||||
|
if (y < _minLimit || y > _maxLimit) {
|
||||||
|
time_ang = std::numeric_limits<double>::max();
|
||||||
|
} else {
|
||||||
|
time_ang = 0;
|
||||||
|
}
|
||||||
|
} else { // timeToPZone
|
||||||
|
if (y < _minLimit || y > _maxLimit) { // already in the zone
|
||||||
|
time_ang = 0;
|
||||||
|
} else {
|
||||||
|
time_ang = std::numeric_limits<double>::max();
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if constexpr (AXIS_KIND == MccCoordKind::COORDS_KIND_AZ) {
|
} else if constexpr (AXIS_KIND == MccCoordKind::COORDS_KIND_AZ) {
|
||||||
|
static_assert(false, "NOT IMPLEMENTED YET!!!");
|
||||||
|
} else {
|
||||||
|
static_assert(false, "NOT IMPLEMENTED YET!!!");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::chrono::nanoseconds ns{
|
std::chrono::nanoseconds ns{
|
||||||
@@ -451,5 +632,81 @@ protected:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static_assert(std::is_copy_assignable_v<MccAxisLimitSwitchPZ<MccCoordKind::COORDS_KIND_HA_OBS>>);
|
||||||
|
static_assert(std::is_copy_assignable_v<MccAxisLimitSwitchPZ<MccCoordKind::COORDS_KIND_DEC_OBS>>);
|
||||||
|
|
||||||
|
/*
|
||||||
|
to be serialized in format:
|
||||||
|
MIN_LIMIT<seq-delim>MAX_LIMIT
|
||||||
|
*/
|
||||||
|
template <MccCoordKind AXIS_KIND>
|
||||||
|
struct MccSerializer<MccAxisLimitSwitchPZ<AXIS_KIND>> : MccSerializerBase {
|
||||||
|
constexpr static std::string_view serializerName{"MCC-AXIS-LIMIT-SWITCH-SERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_output_char_range auto& output,
|
||||||
|
MccAxisLimitSwitchPZ<AXIS_KIND> const& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
MccSerializer<MccAngle> aser;
|
||||||
|
|
||||||
|
auto err = aser(output, value.minLimit(), params);
|
||||||
|
if (err) {
|
||||||
|
return mcc_deduced_err(err, MccSerializerErrorCode::ERROR_UNDERLYING_SERIALIZER);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::format_to(std::back_inserter(output), "{}", params.seq_delim);
|
||||||
|
|
||||||
|
err = aser(output, value.maxLimit(), params);
|
||||||
|
if (err) {
|
||||||
|
return mcc_deduced_err(err, MccSerializerErrorCode::ERROR_UNDERLYING_SERIALIZER);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return MccSerializerErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
template <MccCoordKind AXIS_KIND>
|
||||||
|
struct MccDeserializer<MccAxisLimitSwitchPZ<AXIS_KIND>> : MccDeserializerBase {
|
||||||
|
static constexpr std::string_view deserializerName{"MCC-AXIS-LIMIT-SWITCH-DESERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_input_char_range auto const& input,
|
||||||
|
MccAxisLimitSwitchPZ<AXIS_KIND>& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
std::vector<std::string_view> s;
|
||||||
|
MccDeserializer<MccAngle> ades;
|
||||||
|
|
||||||
|
auto seq = std::views::split(input, params.seq_delim);
|
||||||
|
// if (std::ranges::size(seq) < 2) {
|
||||||
|
if (std::ranges::distance(seq.begin(), seq.end()) > 1) {
|
||||||
|
for (auto const& seq_el : seq) {
|
||||||
|
s.push_back(utils::trimSpaces(seq_el, utils::TrimType::TRIM_BOTH));
|
||||||
|
}
|
||||||
|
|
||||||
|
MccAngle minLim, maxLim;
|
||||||
|
|
||||||
|
auto err = ades(s[0], minLim, params);
|
||||||
|
if (err) {
|
||||||
|
return MccDeserializerErrorCode::ERROR_UNDERLYING_DESERIALIZER;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = ades(s[1], maxLim, params);
|
||||||
|
if (err) {
|
||||||
|
return MccDeserializerErrorCode::ERROR_UNDERLYING_DESERIALIZER;
|
||||||
|
}
|
||||||
|
|
||||||
|
// WARNING: the class below is created without the PCM-class pointer!!!
|
||||||
|
value = MccAxisLimitSwitchPZ<AXIS_KIND>(minLim, maxLim, nullptr);
|
||||||
|
} else {
|
||||||
|
return MccDeserializerErrorCode::ERROR_INVALID_SERIALIZED_VALUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return MccDeserializerErrorCode::ERROR_OK;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace mcc::impl
|
} // namespace mcc::impl
|
||||||
|
|||||||
@@ -290,6 +290,85 @@ public:
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
_updatingStopSource.get_token(), hardware, pcm);
|
_updatingStopSource.get_token(), hardware, pcm);
|
||||||
|
|
||||||
|
|
||||||
|
_updateFunc = [hw=hardware, pcm_ptr=pcm, this](telemetry_data_t* tdata) mutable -> error_t {
|
||||||
|
_tdataPtr = tdata;
|
||||||
|
if (_tdataPtr != nullptr && hw && pcm_ptr) {
|
||||||
|
_lastUpdateError = MccTelemetryErrorCode::ERROR_OK;
|
||||||
|
|
||||||
|
// get hardware state (coordinates, speeds and so on)
|
||||||
|
auto hw_err = hw->hardwareGetState(&_tdataPtr->hwState);
|
||||||
|
if (hw_err) {
|
||||||
|
_lastUpdateError = mcc_deduced_err(hw_err, MccTelemetryErrorCode::ERROR_HARDWARE_GETSTATE);
|
||||||
|
} else {
|
||||||
|
// compute PCM corrections and observed (corrected for PCM) mount coordinates
|
||||||
|
auto pcm_err =
|
||||||
|
pcm_ptr->computePCM(_tdataPtr->hwState.XY, &(_tdataPtr->pcmCorrection), &(_tdataPtr->mountPos));
|
||||||
|
|
||||||
|
if (!pcm_err) {
|
||||||
|
// set target coordinates
|
||||||
|
if (_enteredTargetPos.pairKind() == MccCoordPairKind::COORDS_KIND_XY) {
|
||||||
|
// hardware coordinates
|
||||||
|
MccGenXY xy;
|
||||||
|
auto ccte_err = _enteredTargetPos.toAtSameEpoch(xy);
|
||||||
|
|
||||||
|
if (!ccte_err) {
|
||||||
|
decltype(_tdataPtr->pcmCorrection) pcm_corr;
|
||||||
|
|
||||||
|
pcm_err = pcm_ptr->computePCM(xy, &pcm_corr, &_tdataPtr->targetPos);
|
||||||
|
if (pcm_err) {
|
||||||
|
_lastUpdateError = mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
_tdataPtr->pcmReverseCorrection.pcmX = -pcm_corr.pcmX;
|
||||||
|
_tdataPtr->pcmReverseCorrection.pcmY = -pcm_corr.pcmY;
|
||||||
|
} else {
|
||||||
|
_lastUpdateError =
|
||||||
|
mcc_deduced_err(ccte_err, MccTelemetryErrorCode::ERROR_COORD_TRANSFORM);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else { // observed, apparent or ICRS
|
||||||
|
// _tdataPtr->targetPos = _enteredTargetPos;
|
||||||
|
using pcm_t = std::remove_pointer_t<decltype(pcm_ptr)>;
|
||||||
|
|
||||||
|
std::conditional_t<
|
||||||
|
mcc_is_equatorial_mount<pcm_t::pcmMountType>, MccSkyHADEC_OBS,
|
||||||
|
std::conditional_t<mcc_is_altaz_mount<pcm_t::pcmMountType>, MccSkyAZZD, std::nullptr_t>>
|
||||||
|
cp;
|
||||||
|
|
||||||
|
static_assert(!std::is_null_pointer_v<decltype(cp)>, "UNKNOW MOUNT TYPE!");
|
||||||
|
|
||||||
|
// calculate target celestial coordinates (of the same type as .mountPos) at the
|
||||||
|
// epoch of the current mount position
|
||||||
|
cp.setEpoch(_tdataPtr->mountPos.epoch());
|
||||||
|
auto ccte_err = _enteredTargetPos.to(cp);
|
||||||
|
if (ccte_err) {
|
||||||
|
_lastUpdateError =
|
||||||
|
mcc_deduced_err(ccte_err, MccTelemetryErrorCode::ERROR_COORD_TRANSFORM);
|
||||||
|
} else {
|
||||||
|
_tdataPtr->targetPos.from(cp);
|
||||||
|
|
||||||
|
// calculate reverse PCM corrections for the current target position and
|
||||||
|
// its encoder XY
|
||||||
|
auto pcm_err = pcm_ptr->computeInversePCM(
|
||||||
|
_tdataPtr->targetPos, &_tdataPtr->pcmReverseCorrection, &_tdataPtr->targetXY);
|
||||||
|
if (pcm_err) {
|
||||||
|
_lastUpdateError = mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
_lastUpdateError = mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
_lastUpdateError = MccTelemetryErrorCode::ERROR_NULLPTR;
|
||||||
|
}
|
||||||
|
|
||||||
|
return _lastUpdateError;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
MccTelemetry(MccTelemetry&&) = default;
|
MccTelemetry(MccTelemetry&&) = default;
|
||||||
@@ -354,6 +433,11 @@ public:
|
|||||||
|
|
||||||
_lastUpdateError = MccTelemetryErrorCode::ERROR_OK;
|
_lastUpdateError = MccTelemetryErrorCode::ERROR_OK;
|
||||||
|
|
||||||
|
// 12.10.2026: try to catch dead-lock
|
||||||
|
// use here mutex-free non-timedout implementation
|
||||||
|
return _updateFunc(tdata);
|
||||||
|
// tdata = _tdataPtr;
|
||||||
|
|
||||||
_tdataPtr = tdata;
|
_tdataPtr = tdata;
|
||||||
|
|
||||||
// trigger updating
|
// trigger updating
|
||||||
@@ -406,7 +490,7 @@ private:
|
|||||||
// HARDWARE_T* _hardware{nullptr};
|
// HARDWARE_T* _hardware{nullptr};
|
||||||
MccSkyPoint _enteredTargetPos{};
|
MccSkyPoint _enteredTargetPos{};
|
||||||
|
|
||||||
// std::function<error_t(telemetry_data_t*)> _updateFunc{};
|
std::function<error_t(telemetry_data_t*)> _updateFunc{};
|
||||||
telemetry_data_t* _tdataPtr;
|
telemetry_data_t* _tdataPtr;
|
||||||
|
|
||||||
std::unique_ptr<std::atomic_flag> _dataUpdatingRequested{new std::atomic_flag{}};
|
std::unique_ptr<std::atomic_flag> _dataUpdatingRequested{new std::atomic_flag{}};
|
||||||
|
|||||||
@@ -56,7 +56,13 @@ template <typename R>
|
|||||||
concept mcc_range_of_output_char_range =
|
concept mcc_range_of_output_char_range =
|
||||||
std::ranges::range<R> && traits::mcc_output_char_range<std::ranges::range_value_t<R>>;
|
std::ranges::range<R> && traits::mcc_output_char_range<std::ranges::range_value_t<R>>;
|
||||||
|
|
||||||
|
// std::array, std::span(v_t, N), std::tuple
|
||||||
|
template <typename R>
|
||||||
|
concept mcc_fixed_size_range = std::ranges::range<R> && requires { std::tuple_size<std::remove_cvref_t<R>>::value; };
|
||||||
|
|
||||||
|
// non-resizable ranges
|
||||||
|
template <typename R>
|
||||||
|
concept mcc_non_resizable_range = std::ranges::range<R> && !requires(R r, std::size_t n) { r.resize(n); };
|
||||||
|
|
||||||
// https://stackoverflow.com/questions/72430369/how-to-check-that-a-type-is-formattable-using-type-traits-concepts)
|
// https://stackoverflow.com/questions/72430369/how-to-check-that-a-type-is-formattable-using-type-traits-concepts)
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|||||||
488
tests/bulletinA.txt
Normal file
488
tests/bulletinA.txt
Normal file
@@ -0,0 +1,488 @@
|
|||||||
|
|
||||||
|
**********************************************************************
|
||||||
|
* *
|
||||||
|
* I E R S B U L L E T I N - A *
|
||||||
|
* *
|
||||||
|
* Rapid Service/Prediction of Earth Orientation *
|
||||||
|
**********************************************************************
|
||||||
|
8 October 2026 Vol. XXXIX No. 041
|
||||||
|
______________________________________________________________________
|
||||||
|
GENERAL INFORMATION:
|
||||||
|
MJD = Julian Date - 2 400 000.5 days
|
||||||
|
UT2-UT1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T)
|
||||||
|
- 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T)
|
||||||
|
where pi = 3.14159265... and T is the date in Besselian years.
|
||||||
|
TT = TAI + 32.184 seconds
|
||||||
|
DUT1= (UT1-UTC) transmitted with time signals
|
||||||
|
= 0.0 seconds beginning 09 April 2026 at 0000 UTC
|
||||||
|
Beginning 1 January 2017:
|
||||||
|
TAI-UTC = 37.000 000 seconds
|
||||||
|
***********************************************************************
|
||||||
|
* ANNOUNCEMENTS: *
|
||||||
|
* *
|
||||||
|
* There will NOT be a leap second introduced in UTC *
|
||||||
|
* at the end of December 2026. *
|
||||||
|
* *
|
||||||
|
* The primary source for IERS Rapid Service/Prediction Center (RS/PC) *
|
||||||
|
* data products is the official IERS RS/PC website: *
|
||||||
|
* https://maia.usno.navy.mil *
|
||||||
|
* *
|
||||||
|
* IERS RS/PC products are also available from: *
|
||||||
|
* NASA CDDIS: https://cddis.nasa.gov/archive/products/iers/ *
|
||||||
|
* NASA CDDIS: ftps://gdc.cddis.eosdis.nasa.gov/products/iers/ *
|
||||||
|
* IERS Central Bureau: https://datacenter.iers.org/eop.php *
|
||||||
|
* *
|
||||||
|
* Questions about IERS RS/PC products can be emailed to: *
|
||||||
|
* eopcp@us.navy.mil *
|
||||||
|
* *
|
||||||
|
* Distribution statement A: *
|
||||||
|
* Approved for public release: distribution unlimited. *
|
||||||
|
* *
|
||||||
|
***********************************************************************
|
||||||
|
________________________________________________________________________
|
||||||
|
The contributed observations used in the preparation of this Bulletin
|
||||||
|
are available at <http://www.usno.navy.mil/USNO/earth-orientation/
|
||||||
|
eo-info/general/input-data>. The contributed analysis results are based
|
||||||
|
on data from Very Long Baseline Interferometry (VLBI), Satellite Laser
|
||||||
|
Ranging (SLR), the Global Positioning System (GPS) satellites, Lunar
|
||||||
|
Laser Ranging (LLR), and meteorological predictions of variations in
|
||||||
|
Atmospheric Angular Momentum (AAM).
|
||||||
|
________________________________________________________________________
|
||||||
|
|
||||||
|
COMBINED EARTH ORIENTATION PARAMETERS:
|
||||||
|
|
||||||
|
IERS Rapid Service
|
||||||
|
MJD x error y error UT1-UTC error
|
||||||
|
" " " " s s
|
||||||
|
26 10 2 61315 0.17334 .00009 0.32459 .00009 -0.023137 0.000021
|
||||||
|
26 10 3 61316 0.17258 .00009 0.32394 .00009 -0.023648 0.000022
|
||||||
|
26 10 4 61317 0.17187 .00009 0.32345 .00009 -0.024220 0.000021
|
||||||
|
26 10 5 61318 0.17095 .00009 0.32294 .00009 -0.025006 0.000022
|
||||||
|
26 10 6 61319 0.16982 .00009 0.32250 .00009 -0.026011 0.000022
|
||||||
|
26 10 7 61320 0.16879 .00009 0.32217 .00009 -0.027264 0.000023
|
||||||
|
26 10 8 61321 0.16813 .00009 0.32221 .00009 -0.028742 0.000022
|
||||||
|
|
||||||
|
_______________________________________________________________________
|
||||||
|
|
||||||
|
PREDICTIONS:
|
||||||
|
The following formulas will not reproduce the predictions given below,
|
||||||
|
but may be used to extend the predictions beyond the end of this table.
|
||||||
|
|
||||||
|
x = 0.1598 + 0.0465 cos A - 0.1071 sin A - 0.0426 cos C + 0.0358 sin C
|
||||||
|
y = 0.3762 - 0.0906 cos A - 0.0441 sin A + 0.0358 cos C + 0.0426 sin C
|
||||||
|
UT1-UTC = -0.1023 - 0.00035 (MJD - 61329) - (UT2-UT1)
|
||||||
|
|
||||||
|
where A = 2*pi*(MJD-61321)/365.25 and C = 2*pi*(MJD-61321)/435.
|
||||||
|
|
||||||
|
TAI-UTC(MJD 61322) = 37.0
|
||||||
|
The accuracy may be estimated from the expressions:
|
||||||
|
S x,y = 0.00068 (MJD-61321)**0.80 S t = 0.00025 (MJD-61321)**0.75
|
||||||
|
Estimated accuracies are: Predictions 10 d 20 d 30 d 40 d
|
||||||
|
Polar coord's 0.004 0.007 0.010 0.013
|
||||||
|
UT1-UTC 0.0014 0.0024 0.0032 0.0040
|
||||||
|
|
||||||
|
MJD x(arcsec) y(arcsec) UT1-UTC(sec)
|
||||||
|
2026 10 9 61322 0.1672 0.3223 -0.03029
|
||||||
|
2026 10 10 61323 0.1664 0.3225 -0.03180
|
||||||
|
2026 10 11 61324 0.1656 0.3226 -0.03321
|
||||||
|
2026 10 12 61325 0.1646 0.3227 -0.03444
|
||||||
|
2026 10 13 61326 0.1636 0.3227 -0.03546
|
||||||
|
2026 10 14 61327 0.1624 0.3225 -0.03625
|
||||||
|
2026 10 15 61328 0.1614 0.3223 -0.03684
|
||||||
|
2026 10 16 61329 0.1603 0.3222 -0.03732
|
||||||
|
2026 10 17 61330 0.1593 0.3221 -0.03778
|
||||||
|
2026 10 18 61331 0.1583 0.3220 -0.03834
|
||||||
|
2026 10 19 61332 0.1573 0.3220 -0.03904
|
||||||
|
2026 10 20 61333 0.1563 0.3220 -0.03991
|
||||||
|
2026 10 21 61334 0.1553 0.3220 -0.04102
|
||||||
|
2026 10 22 61335 0.1542 0.3220 -0.04236
|
||||||
|
2026 10 23 61336 0.1532 0.3221 -0.04389
|
||||||
|
2026 10 24 61337 0.1521 0.3221 -0.04556
|
||||||
|
2026 10 25 61338 0.1511 0.3222 -0.04727
|
||||||
|
2026 10 26 61339 0.1500 0.3222 -0.04888
|
||||||
|
2026 10 27 61340 0.1489 0.3223 -0.05031
|
||||||
|
2026 10 28 61341 0.1478 0.3224 -0.05150
|
||||||
|
2026 10 29 61342 0.1467 0.3225 -0.05251
|
||||||
|
2026 10 30 61343 0.1456 0.3226 -0.05343
|
||||||
|
2026 10 31 61344 0.1445 0.3227 -0.05437
|
||||||
|
2026 11 1 61345 0.1434 0.3228 -0.05546
|
||||||
|
2026 11 2 61346 0.1423 0.3230 -0.05677
|
||||||
|
2026 11 3 61347 0.1412 0.3231 -0.05830
|
||||||
|
2026 11 4 61348 0.1401 0.3233 -0.05999
|
||||||
|
2026 11 5 61349 0.1390 0.3235 -0.06177
|
||||||
|
2026 11 6 61350 0.1379 0.3237 -0.06353
|
||||||
|
2026 11 7 61351 0.1368 0.3239 -0.06518
|
||||||
|
2026 11 8 61352 0.1357 0.3242 -0.06664
|
||||||
|
2026 11 9 61353 0.1346 0.3244 -0.06789
|
||||||
|
2026 11 10 61354 0.1334 0.3247 -0.06892
|
||||||
|
2026 11 11 61355 0.1323 0.3250 -0.06976
|
||||||
|
2026 11 12 61356 0.1312 0.3253 -0.07049
|
||||||
|
2026 11 13 61357 0.1301 0.3256 -0.07117
|
||||||
|
2026 11 14 61358 0.1290 0.3259 -0.07187
|
||||||
|
2026 11 15 61359 0.1279 0.3263 -0.07267
|
||||||
|
2026 11 16 61360 0.1268 0.3266 -0.07362
|
||||||
|
2026 11 17 61361 0.1257 0.3270 -0.07477
|
||||||
|
2026 11 18 61362 0.1246 0.3274 -0.07612
|
||||||
|
2026 11 19 61363 0.1235 0.3278 -0.07765
|
||||||
|
2026 11 20 61364 0.1224 0.3283 -0.07931
|
||||||
|
2026 11 21 61365 0.1213 0.3287 -0.08103
|
||||||
|
2026 11 22 61366 0.1203 0.3292 -0.08270
|
||||||
|
2026 11 23 61367 0.1192 0.3296 -0.08420
|
||||||
|
2026 11 24 61368 0.1181 0.3301 -0.08546
|
||||||
|
2026 11 25 61369 0.1171 0.3306 -0.08647
|
||||||
|
2026 11 26 61370 0.1160 0.3311 -0.08729
|
||||||
|
2026 11 27 61371 0.1149 0.3317 -0.08807
|
||||||
|
2026 11 28 61372 0.1139 0.3322 -0.08895
|
||||||
|
2026 11 29 61373 0.1129 0.3328 -0.09003
|
||||||
|
2026 11 30 61374 0.1118 0.3334 -0.09134
|
||||||
|
2026 12 1 61375 0.1108 0.3340 -0.09284
|
||||||
|
2026 12 2 61376 0.1098 0.3346 -0.09444
|
||||||
|
2026 12 3 61377 0.1088 0.3352 -0.09603
|
||||||
|
2026 12 4 61378 0.1078 0.3359 -0.09752
|
||||||
|
2026 12 5 61379 0.1068 0.3365 -0.09884
|
||||||
|
2026 12 6 61380 0.1058 0.3372 -0.09995
|
||||||
|
2026 12 7 61381 0.1048 0.3379 -0.10085
|
||||||
|
2026 12 8 61382 0.1038 0.3386 -0.10156
|
||||||
|
2026 12 9 61383 0.1029 0.3393 -0.10213
|
||||||
|
2026 12 10 61384 0.1019 0.3400 -0.10261
|
||||||
|
2026 12 11 61385 0.1010 0.3408 -0.10308
|
||||||
|
2026 12 12 61386 0.1001 0.3416 -0.10361
|
||||||
|
2026 12 13 61387 0.0992 0.3423 -0.10426
|
||||||
|
2026 12 14 61388 0.0983 0.3431 -0.10506
|
||||||
|
2026 12 15 61389 0.0974 0.3439 -0.10604
|
||||||
|
2026 12 16 61390 0.0965 0.3447 -0.10718
|
||||||
|
2026 12 17 61391 0.0956 0.3456 -0.10847
|
||||||
|
2026 12 18 61392 0.0948 0.3464 -0.10983
|
||||||
|
2026 12 19 61393 0.0939 0.3473 -0.11117
|
||||||
|
2026 12 20 61394 0.0931 0.3481 -0.11241
|
||||||
|
2026 12 21 61395 0.0923 0.3490 -0.11346
|
||||||
|
2026 12 22 61396 0.0915 0.3499 -0.11427
|
||||||
|
2026 12 23 61397 0.0907 0.3508 -0.11490
|
||||||
|
2026 12 24 61398 0.0900 0.3517 -0.11543
|
||||||
|
2026 12 25 61399 0.0892 0.3527 -0.11604
|
||||||
|
2026 12 26 61400 0.0885 0.3536 -0.11683
|
||||||
|
2026 12 27 61401 0.0877 0.3546 -0.11789
|
||||||
|
2026 12 28 61402 0.0870 0.3555 -0.11917
|
||||||
|
2026 12 29 61403 0.0863 0.3565 -0.12060
|
||||||
|
2026 12 30 61404 0.0857 0.3575 -0.12202
|
||||||
|
2026 12 31 61405 0.0850 0.3585 -0.12334
|
||||||
|
2027 1 1 61406 0.0844 0.3595 -0.12446
|
||||||
|
2027 1 2 61407 0.0837 0.3606 -0.12535
|
||||||
|
2027 1 3 61408 0.0831 0.3616 -0.12600
|
||||||
|
2027 1 4 61409 0.0825 0.3626 -0.12645
|
||||||
|
2027 1 5 61410 0.0820 0.3637 -0.12674
|
||||||
|
2027 1 6 61411 0.0814 0.3647 -0.12694
|
||||||
|
2027 1 7 61412 0.0809 0.3658 -0.12711
|
||||||
|
2027 1 8 61413 0.0804 0.3669 -0.12733
|
||||||
|
2027 1 9 61414 0.0799 0.3680 -0.12767
|
||||||
|
2027 1 10 61415 0.0794 0.3691 -0.12816
|
||||||
|
2027 1 11 61416 0.0789 0.3702 -0.12883
|
||||||
|
2027 1 12 61417 0.0785 0.3713 -0.12967
|
||||||
|
2027 1 13 61418 0.0781 0.3724 -0.13064
|
||||||
|
2027 1 14 61419 0.0777 0.3735 -0.13169
|
||||||
|
2027 1 15 61420 0.0773 0.3747 -0.13273
|
||||||
|
2027 1 16 61421 0.0769 0.3758 -0.13369
|
||||||
|
2027 1 17 61422 0.0766 0.3769 -0.13448
|
||||||
|
2027 1 18 61423 0.0762 0.3781 -0.13506
|
||||||
|
2027 1 19 61424 0.0759 0.3793 -0.13544
|
||||||
|
2027 1 20 61425 0.0757 0.3804 -0.13570
|
||||||
|
2027 1 21 61426 0.0754 0.3816 -0.13596
|
||||||
|
2027 1 22 61427 0.0752 0.3827 -0.13639
|
||||||
|
2027 1 23 61428 0.0749 0.3839 -0.13707
|
||||||
|
2027 1 24 61429 0.0747 0.3851 -0.13803
|
||||||
|
2027 1 25 61430 0.0746 0.3863 -0.13935
|
||||||
|
2027 1 26 61431 0.0744 0.3875 -0.14075
|
||||||
|
2027 1 27 61432 0.0743 0.3887 -0.14210
|
||||||
|
2027 1 28 61433 0.0742 0.3899 -0.14327
|
||||||
|
2027 1 29 61434 0.0741 0.3911 -0.14422
|
||||||
|
2027 1 30 61435 0.0740 0.3923 -0.14491
|
||||||
|
2027 1 31 61436 0.0740 0.3935 -0.14540
|
||||||
|
2027 2 1 61437 0.0739 0.3947 -0.14572
|
||||||
|
2027 2 2 61438 0.0739 0.3959 -0.14595
|
||||||
|
2027 2 3 61439 0.0740 0.3971 -0.14614
|
||||||
|
2027 2 4 61440 0.0740 0.3983 -0.14638
|
||||||
|
2027 2 5 61441 0.0741 0.3995 -0.14674
|
||||||
|
2027 2 6 61442 0.0742 0.4007 -0.14726
|
||||||
|
2027 2 7 61443 0.0743 0.4019 -0.14799
|
||||||
|
2027 2 8 61444 0.0744 0.4031 -0.14890
|
||||||
|
2027 2 9 61445 0.0746 0.4043 -0.14998
|
||||||
|
2027 2 10 61446 0.0748 0.4055 -0.15115
|
||||||
|
2027 2 11 61447 0.0750 0.4067 -0.15235
|
||||||
|
2027 2 12 61448 0.0752 0.4079 -0.15347
|
||||||
|
2027 2 13 61449 0.0754 0.4091 -0.15446
|
||||||
|
2027 2 14 61450 0.0757 0.4103 -0.15526
|
||||||
|
2027 2 15 61451 0.0760 0.4115 -0.15586
|
||||||
|
2027 2 16 61452 0.0763 0.4127 -0.15632
|
||||||
|
2027 2 17 61453 0.0767 0.4139 -0.15676
|
||||||
|
2027 2 18 61454 0.0770 0.4151 -0.15731
|
||||||
|
2027 2 19 61455 0.0774 0.4162 -0.15809
|
||||||
|
2027 2 20 61456 0.0778 0.4174 -0.15917
|
||||||
|
2027 2 21 61457 0.0783 0.4186 -0.16054
|
||||||
|
2027 2 22 61458 0.0787 0.4197 -0.16207
|
||||||
|
2027 2 23 61459 0.0792 0.4209 -0.16363
|
||||||
|
2027 2 24 61460 0.0797 0.4221 -0.16506
|
||||||
|
2027 2 25 61461 0.0802 0.4232 -0.16628
|
||||||
|
2027 2 26 61462 0.0808 0.4243 -0.16724
|
||||||
|
2027 2 27 61463 0.0814 0.4255 -0.16796
|
||||||
|
2027 2 28 61464 0.0820 0.4266 -0.16848
|
||||||
|
2027 3 1 61465 0.0826 0.4277 -0.16888
|
||||||
|
2027 3 2 61466 0.0832 0.4288 -0.16923
|
||||||
|
2027 3 3 61467 0.0839 0.4299 -0.16960
|
||||||
|
2027 3 4 61468 0.0845 0.4310 -0.17006
|
||||||
|
2027 3 5 61469 0.0853 0.4321 -0.17068
|
||||||
|
2027 3 6 61470 0.0860 0.4332 -0.17149
|
||||||
|
2027 3 7 61471 0.0867 0.4342 -0.17250
|
||||||
|
2027 3 8 61472 0.0875 0.4353 -0.17368
|
||||||
|
2027 3 9 61473 0.0883 0.4363 -0.17499
|
||||||
|
2027 3 10 61474 0.0891 0.4373 -0.17634
|
||||||
|
2027 3 11 61475 0.0899 0.4384 -0.17764
|
||||||
|
2027 3 12 61476 0.0908 0.4394 -0.17880
|
||||||
|
2027 3 13 61477 0.0917 0.4404 -0.17976
|
||||||
|
2027 3 14 61478 0.0925 0.4414 -0.18051
|
||||||
|
2027 3 15 61479 0.0935 0.4423 -0.18111
|
||||||
|
2027 3 16 61480 0.0944 0.4433 -0.18163
|
||||||
|
2027 3 17 61481 0.0954 0.4442 -0.18221
|
||||||
|
2027 3 18 61482 0.0963 0.4452 -0.18298
|
||||||
|
2027 3 19 61483 0.0973 0.4461 -0.18401
|
||||||
|
2027 3 20 61484 0.0983 0.4470 -0.18533
|
||||||
|
2027 3 21 61485 0.0994 0.4479 -0.18686
|
||||||
|
2027 3 22 61486 0.1004 0.4488 -0.18850
|
||||||
|
2027 3 23 61487 0.1015 0.4496 -0.19010
|
||||||
|
2027 3 24 61488 0.1026 0.4505 -0.19153
|
||||||
|
2027 3 25 61489 0.1037 0.4513 -0.19271
|
||||||
|
2027 3 26 61490 0.1048 0.4521 -0.19364
|
||||||
|
2027 3 27 61491 0.1060 0.4529 -0.19435
|
||||||
|
2027 3 28 61492 0.1071 0.4537 -0.19490
|
||||||
|
2027 3 29 61493 0.1083 0.4545 -0.19538
|
||||||
|
2027 3 30 61494 0.1095 0.4552 -0.19585
|
||||||
|
2027 3 31 61495 0.1107 0.4560 -0.19639
|
||||||
|
2027 4 1 61496 0.1119 0.4567 -0.19707
|
||||||
|
2027 4 2 61497 0.1132 0.4574 -0.19794
|
||||||
|
2027 4 3 61498 0.1144 0.4581 -0.19902
|
||||||
|
2027 4 4 61499 0.1157 0.4587 -0.20031
|
||||||
|
2027 4 5 61500 0.1170 0.4594 -0.20177
|
||||||
|
2027 4 6 61501 0.1183 0.4600 -0.20334
|
||||||
|
2027 4 7 61502 0.1196 0.4606 -0.20493
|
||||||
|
2027 4 8 61503 0.1209 0.4612 -0.20645
|
||||||
|
2027 4 9 61504 0.1223 0.4618 -0.20783
|
||||||
|
2027 4 10 61505 0.1237 0.4623 -0.20906
|
||||||
|
2027 4 11 61506 0.1250 0.4629 -0.21016
|
||||||
|
2027 4 12 61507 0.1264 0.4634 -0.21122
|
||||||
|
2027 4 13 61508 0.1278 0.4639 -0.21237
|
||||||
|
2027 4 14 61509 0.1292 0.4644 -0.21370
|
||||||
|
2027 4 15 61510 0.1306 0.4648 -0.21529
|
||||||
|
2027 4 16 61511 0.1321 0.4652 -0.21712
|
||||||
|
2027 4 17 61512 0.1335 0.4657 -0.21911
|
||||||
|
2027 4 18 61513 0.1350 0.4661 -0.22114
|
||||||
|
2027 4 19 61514 0.1364 0.4664 -0.22304
|
||||||
|
2027 4 20 61515 0.1379 0.4668 -0.22469
|
||||||
|
2027 4 21 61516 0.1394 0.4671 -0.22598
|
||||||
|
2027 4 22 61517 0.1409 0.4674 -0.22690
|
||||||
|
2027 4 23 61518 0.1424 0.4677 -0.22747
|
||||||
|
2027 4 24 61519 0.1439 0.4680 -0.22778
|
||||||
|
2027 4 25 61520 0.1454 0.4682 -0.22790
|
||||||
|
2027 4 26 61521 0.1469 0.4684 -0.22795
|
||||||
|
2027 4 27 61522 0.1485 0.4686 -0.22799
|
||||||
|
2027 4 28 61523 0.1500 0.4688 -0.22810
|
||||||
|
2027 4 29 61524 0.1515 0.4689 -0.22834
|
||||||
|
2027 4 30 61525 0.1531 0.4691 -0.22872
|
||||||
|
2027 5 1 61526 0.1547 0.4692 -0.22926
|
||||||
|
2027 5 2 61527 0.1562 0.4693 -0.22992
|
||||||
|
2027 5 3 61528 0.1578 0.4693 -0.23065
|
||||||
|
2027 5 4 61529 0.1594 0.4694 -0.23137
|
||||||
|
2027 5 5 61530 0.1609 0.4694 -0.23200
|
||||||
|
2027 5 6 61531 0.1625 0.4694 -0.23246
|
||||||
|
2027 5 7 61532 0.1641 0.4693 -0.23268
|
||||||
|
2027 5 8 61533 0.1657 0.4693 -0.23267
|
||||||
|
2027 5 9 61534 0.1672 0.4692 -0.23249
|
||||||
|
2027 5 10 61535 0.1688 0.4691 -0.23225
|
||||||
|
2027 5 11 61536 0.1704 0.4690 -0.23209
|
||||||
|
2027 5 12 61537 0.1720 0.4688 -0.23211
|
||||||
|
2027 5 13 61538 0.1736 0.4687 -0.23238
|
||||||
|
2027 5 14 61539 0.1752 0.4685 -0.23287
|
||||||
|
2027 5 15 61540 0.1768 0.4683 -0.23350
|
||||||
|
2027 5 16 61541 0.1783 0.4680 -0.23417
|
||||||
|
2027 5 17 61542 0.1799 0.4678 -0.23477
|
||||||
|
2027 5 18 61543 0.1815 0.4675 -0.23522
|
||||||
|
2027 5 19 61544 0.1831 0.4672 -0.23549
|
||||||
|
2027 5 20 61545 0.1847 0.4668 -0.23553
|
||||||
|
2027 5 21 61546 0.1862 0.4665 -0.23532
|
||||||
|
2027 5 22 61547 0.1878 0.4661 -0.23490
|
||||||
|
2027 5 23 61548 0.1894 0.4657 -0.23447
|
||||||
|
2027 5 24 61549 0.1909 0.4653 -0.23402
|
||||||
|
2027 5 25 61550 0.1925 0.4648 -0.23356
|
||||||
|
2027 5 26 61551 0.1940 0.4643 -0.23305
|
||||||
|
2027 5 27 61552 0.1956 0.4638 -0.23271
|
||||||
|
2027 5 28 61553 0.1971 0.4633 -0.23256
|
||||||
|
2027 5 29 61554 0.1986 0.4628 -0.23252
|
||||||
|
2027 5 30 61555 0.2002 0.4622 -0.23259
|
||||||
|
2027 5 31 61556 0.2017 0.4616 -0.23260
|
||||||
|
2027 6 1 61557 0.2032 0.4610 -0.23253
|
||||||
|
2027 6 2 61558 0.2047 0.4604 -0.23231
|
||||||
|
2027 6 3 61559 0.2062 0.4597 -0.23185
|
||||||
|
2027 6 4 61560 0.2076 0.4591 -0.23119
|
||||||
|
2027 6 5 61561 0.2091 0.4584 -0.23032
|
||||||
|
2027 6 6 61562 0.2106 0.4576 -0.22943
|
||||||
|
2027 6 7 61563 0.2120 0.4569 -0.22870
|
||||||
|
2027 6 8 61564 0.2135 0.4561 -0.22819
|
||||||
|
2027 6 9 61565 0.2149 0.4553 -0.22786
|
||||||
|
2027 6 10 61566 0.2163 0.4545 -0.22767
|
||||||
|
2027 6 11 61567 0.2177 0.4537 -0.22763
|
||||||
|
2027 6 12 61568 0.2191 0.4529 -0.22757
|
||||||
|
2027 6 13 61569 0.2205 0.4520 -0.22745
|
||||||
|
2027 6 14 61570 0.2218 0.4511 -0.22711
|
||||||
|
2027 6 15 61571 0.2232 0.4502 -0.22646
|
||||||
|
2027 6 16 61572 0.2245 0.4493 -0.22558
|
||||||
|
2027 6 17 61573 0.2258 0.4483 -0.22449
|
||||||
|
2027 6 18 61574 0.2271 0.4473 -0.22329
|
||||||
|
2027 6 19 61575 0.2284 0.4464 -0.22201
|
||||||
|
2027 6 20 61576 0.2297 0.4453 -0.22078
|
||||||
|
2027 6 21 61577 0.2309 0.4443 -0.21958
|
||||||
|
2027 6 22 61578 0.2321 0.4433 -0.21855
|
||||||
|
2027 6 23 61579 0.2334 0.4422 -0.21767
|
||||||
|
2027 6 24 61580 0.2346 0.4411 -0.21699
|
||||||
|
2027 6 25 61581 0.2357 0.4400 -0.21648
|
||||||
|
2027 6 26 61582 0.2369 0.4389 -0.21610
|
||||||
|
2027 6 27 61583 0.2380 0.4378 -0.21582
|
||||||
|
2027 6 28 61584 0.2392 0.4366 -0.21555
|
||||||
|
2027 6 29 61585 0.2403 0.4354 -0.21520
|
||||||
|
2027 6 30 61586 0.2413 0.4342 -0.21476
|
||||||
|
2027 7 1 61587 0.2424 0.4330 -0.21407
|
||||||
|
2027 7 2 61588 0.2435 0.4318 -0.21326
|
||||||
|
2027 7 3 61589 0.2445 0.4306 -0.21229
|
||||||
|
2027 7 4 61590 0.2455 0.4293 -0.21142
|
||||||
|
2027 7 5 61591 0.2465 0.4281 -0.21066
|
||||||
|
2027 7 6 61592 0.2474 0.4268 -0.21015
|
||||||
|
2027 7 7 61593 0.2483 0.4255 -0.20989
|
||||||
|
2027 7 8 61594 0.2493 0.4242 -0.20984
|
||||||
|
2027 7 9 61595 0.2501 0.4228 -0.20994
|
||||||
|
2027 7 10 61596 0.2510 0.4215 -0.20988
|
||||||
|
2027 7 11 61597 0.2519 0.4202 -0.20959
|
||||||
|
2027 7 12 61598 0.2527 0.4188 -0.20900
|
||||||
|
2027 7 13 61599 0.2535 0.4174 -0.20815
|
||||||
|
2027 7 14 61600 0.2542 0.4160 -0.20703
|
||||||
|
2027 7 15 61601 0.2550 0.4146 -0.20571
|
||||||
|
2027 7 16 61602 0.2557 0.4132 -0.20432
|
||||||
|
2027 7 17 61603 0.2564 0.4118 -0.20294
|
||||||
|
2027 7 18 61604 0.2571 0.4103 -0.20162
|
||||||
|
2027 7 19 61605 0.2577 0.4089 -0.20047
|
||||||
|
2027 7 20 61606 0.2583 0.4074 -0.19943
|
||||||
|
2027 7 21 61607 0.2589 0.4060 -0.19858
|
||||||
|
2027 7 22 61608 0.2595 0.4045 -0.19794
|
||||||
|
2027 7 23 61609 0.2600 0.4030 -0.19744
|
||||||
|
2027 7 24 61610 0.2605 0.4015 -0.19706
|
||||||
|
2027 7 25 61611 0.2610 0.4000 -0.19671
|
||||||
|
2027 7 26 61612 0.2615 0.3985 -0.19636
|
||||||
|
2027 7 27 61613 0.2619 0.3970 -0.19587
|
||||||
|
2027 7 28 61614 0.2623 0.3955 -0.19523
|
||||||
|
2027 7 29 61615 0.2627 0.3940 -0.19436
|
||||||
|
2027 7 30 61616 0.2631 0.3924 -0.19338
|
||||||
|
2027 7 31 61617 0.2634 0.3909 -0.19242
|
||||||
|
2027 8 1 61618 0.2637 0.3893 -0.19156
|
||||||
|
2027 8 2 61619 0.2639 0.3878 -0.19089
|
||||||
|
2027 8 3 61620 0.2642 0.3862 -0.19047
|
||||||
|
2027 8 4 61621 0.2644 0.3847 -0.19032
|
||||||
|
2027 8 5 61622 0.2646 0.3831 -0.19038
|
||||||
|
2027 8 6 61623 0.2647 0.3816 -0.19045
|
||||||
|
2027 8 7 61624 0.2648 0.3800 -0.19036
|
||||||
|
2027 8 8 61625 0.2649 0.3784 -0.19005
|
||||||
|
2027 8 9 61626 0.2650 0.3768 -0.18939
|
||||||
|
2027 8 10 61627 0.2650 0.3753 -0.18850
|
||||||
|
2027 8 11 61628 0.2650 0.3737 -0.18736
|
||||||
|
2027 8 12 61629 0.2650 0.3721 -0.18613
|
||||||
|
2027 8 13 61630 0.2649 0.3706 -0.18490
|
||||||
|
2027 8 14 61631 0.2649 0.3690 -0.18367
|
||||||
|
2027 8 15 61632 0.2647 0.3674 -0.18263
|
||||||
|
2027 8 16 61633 0.2646 0.3658 -0.18175
|
||||||
|
2027 8 17 61634 0.2644 0.3643 -0.18101
|
||||||
|
2027 8 18 61635 0.2642 0.3627 -0.18047
|
||||||
|
2027 8 19 61636 0.2640 0.3611 -0.18006
|
||||||
|
2027 8 20 61637 0.2638 0.3596 -0.17971
|
||||||
|
2027 8 21 61638 0.2635 0.3580 -0.17944
|
||||||
|
2027 8 22 61639 0.2631 0.3565 -0.17920
|
||||||
|
2027 8 23 61640 0.2628 0.3549 -0.17893
|
||||||
|
2027 8 24 61641 0.2624 0.3534 -0.17850
|
||||||
|
2027 8 25 61642 0.2620 0.3518 -0.17787
|
||||||
|
2027 8 26 61643 0.2616 0.3503 -0.17711
|
||||||
|
2027 8 27 61644 0.2611 0.3488 -0.17636
|
||||||
|
2027 8 28 61645 0.2606 0.3472 -0.17574
|
||||||
|
2027 8 29 61646 0.2601 0.3457 -0.17539
|
||||||
|
2027 8 30 61647 0.2596 0.3442 -0.17532
|
||||||
|
2027 8 31 61648 0.2590 0.3427 -0.17563
|
||||||
|
2027 9 1 61649 0.2584 0.3412 -0.17620
|
||||||
|
2027 9 2 61650 0.2577 0.3398 -0.17690
|
||||||
|
2027 9 3 61651 0.2571 0.3383 -0.17757
|
||||||
|
2027 9 4 61652 0.2564 0.3368 -0.17804
|
||||||
|
2027 9 5 61653 0.2557 0.3354 -0.17821
|
||||||
|
2027 9 6 61654 0.2549 0.3339 -0.17804
|
||||||
|
2027 9 7 61655 0.2541 0.3325 -0.17762
|
||||||
|
2027 9 8 61656 0.2533 0.3311 -0.17702
|
||||||
|
2027 9 9 61657 0.2525 0.3297 -0.17639
|
||||||
|
2027 9 10 61658 0.2516 0.3283 -0.17578
|
||||||
|
2027 9 11 61659 0.2508 0.3269 -0.17523
|
||||||
|
2027 9 12 61660 0.2498 0.3255 -0.17482
|
||||||
|
2027 9 13 61661 0.2489 0.3242 -0.17451
|
||||||
|
2027 9 14 61662 0.2479 0.3228 -0.17443
|
||||||
|
2027 9 15 61663 0.2470 0.3215 -0.17454
|
||||||
|
2027 9 16 61664 0.2459 0.3202 -0.17483
|
||||||
|
2027 9 17 61665 0.2449 0.3189 -0.17520
|
||||||
|
2027 9 18 61666 0.2438 0.3176 -0.17547
|
||||||
|
2027 9 19 61667 0.2427 0.3163 -0.17563
|
||||||
|
2027 9 20 61668 0.2416 0.3151 -0.17573
|
||||||
|
2027 9 21 61669 0.2405 0.3138 -0.17562
|
||||||
|
2027 9 22 61670 0.2393 0.3126 -0.17534
|
||||||
|
2027 9 23 61671 0.2381 0.3114 -0.17497
|
||||||
|
2027 9 24 61672 0.2369 0.3102 -0.17466
|
||||||
|
2027 9 25 61673 0.2356 0.3091 -0.17446
|
||||||
|
2027 9 26 61674 0.2344 0.3079 -0.17452
|
||||||
|
2027 9 27 61675 0.2331 0.3068 -0.17491
|
||||||
|
2027 9 28 61676 0.2318 0.3057 -0.17557
|
||||||
|
2027 9 29 61677 0.2305 0.3046 -0.17637
|
||||||
|
2027 9 30 61678 0.2291 0.3035 -0.17727
|
||||||
|
2027 10 1 61679 0.2277 0.3025 -0.17809
|
||||||
|
2027 10 2 61680 0.2263 0.3015 -0.17865
|
||||||
|
2027 10 3 61681 0.2249 0.3005 -0.17894
|
||||||
|
2027 10 4 61682 0.2235 0.2995 -0.17892
|
||||||
|
2027 10 5 61683 0.2220 0.2985 -0.17866
|
||||||
|
2027 10 6 61684 0.2205 0.2976 -0.17834
|
||||||
|
2027 10 7 61685 0.2190 0.2966 -0.17806
|
||||||
|
2027 10 8 61686 0.2175 0.2957 -0.17778
|
||||||
|
These predictions are based on all announced leap seconds.
|
||||||
|
|
||||||
|
CELESTIAL POLE OFFSET SERIES:
|
||||||
|
NEOS Celestial Pole Offset Series
|
||||||
|
MJD dpsi error deps error
|
||||||
|
(msec. of arc)
|
||||||
|
61292 -123.28 1.24 -11.48 0.12
|
||||||
|
61293 -123.30 1.24 -11.30 0.12
|
||||||
|
61294 -123.26 1.24 -11.15 0.12
|
||||||
|
61295 -123.29 0.32 -11.07 0.16
|
||||||
|
61296 -123.59 0.32 -11.08 0.16
|
||||||
|
61297 -124.16 0.32 -11.18 0.16
|
||||||
|
61298 -124.72 0.32 -11.31 0.16
|
||||||
|
61299 -124.96 0.32 -11.38 0.16
|
||||||
|
61300 -124.76 0.32 -11.31 0.16
|
||||||
|
61301 -124.26 0.32 -11.17 0.16
|
||||||
|
61302 -123.69 0.32 -11.09 0.16
|
||||||
|
61303 -123.26 1.03 -11.12 0.11
|
||||||
|
61304 -123.06 1.03 -11.23 0.11
|
||||||
|
61305 -123.09 1.03 -11.27 0.11
|
||||||
|
|
||||||
|
IAU2000A Celestial Pole Offset Series
|
||||||
|
MJD dX error dY error
|
||||||
|
(msec. of arc)
|
||||||
|
61292 0.457 0.492 -0.206 0.116
|
||||||
|
61293 0.457 0.492 -0.198 0.116
|
||||||
|
61294 0.456 0.492 -0.190 0.116
|
||||||
|
61295 0.455 0.128 -0.182 0.160
|
||||||
|
61296 0.453 0.128 -0.175 0.160
|
||||||
|
61297 0.450 0.128 -0.167 0.160
|
||||||
|
61298 0.447 0.128 -0.160 0.160
|
||||||
|
61299 0.443 0.128 -0.152 0.160
|
||||||
|
61300 0.438 0.128 -0.145 0.160
|
||||||
|
61301 0.434 0.128 -0.138 0.160
|
||||||
|
61302 0.429 0.128 -0.131 0.160
|
||||||
|
61303 0.424 0.409 -0.124 0.113
|
||||||
|
61304 0.419 0.409 -0.117 0.113
|
||||||
|
61305 0.414 0.409 -0.109 0.113
|
||||||
|
|
||||||
@@ -50,10 +50,11 @@ void deserialize(mcc::traits::mcc_input_char_range auto const& s, VT& value)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
skypt_t::cctEngine.setStateERFA(saoras);
|
skypt_t::cctEngine.setStateERFA(saoras);
|
||||||
|
|
||||||
|
|
||||||
skypt_t pt;
|
skypt_t pt;
|
||||||
MccSkyRADEC_ICRS icrs(0.0, 70.0_degs);
|
MccSkyRADEC_ICRS icrs(0.0, 70.0_degs);
|
||||||
|
|
||||||
@@ -177,5 +178,18 @@ int main()
|
|||||||
<< ", kind = " << MccCoordPairKindToStr(pt.pairKind()) << "\n";
|
<< ", kind = " << MccCoordPairKindToStr(pt.pairKind()) << "\n";
|
||||||
|
|
||||||
|
|
||||||
|
std::cout << "\n\n";
|
||||||
|
std::string ba_fname = "/tmp/bulletinA.txt";
|
||||||
|
if (argc > 1) {
|
||||||
|
ba_fname = argv[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
auto err = skypt_t::cctEngine.updateBulletinA(ba_fname);
|
||||||
|
if (err) {
|
||||||
|
std::cout << "Cannot load BulletinA file: '" << ba_fname << "' (err = " << err.message() << ")\n";
|
||||||
|
} else {
|
||||||
|
std::cout << "BulletinA file: '" << ba_fname << " was loaded successfully!\n";
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
178
tests/mcc_keyvalue_test.cpp
Normal file
178
tests/mcc_keyvalue_test.cpp
Normal file
@@ -0,0 +1,178 @@
|
|||||||
|
#include <print>
|
||||||
|
|
||||||
|
#include <mcc/mcc_keyvalue.h>
|
||||||
|
|
||||||
|
using namespace mcc::impl;
|
||||||
|
|
||||||
|
|
||||||
|
// example of non-default constructible class
|
||||||
|
struct VT {
|
||||||
|
VT(int v) : _v(v) {}
|
||||||
|
|
||||||
|
void set(int v)
|
||||||
|
{
|
||||||
|
_v = v;
|
||||||
|
}
|
||||||
|
|
||||||
|
int v() const
|
||||||
|
{
|
||||||
|
return _v;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
int _v{};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct mcc::impl::MccSerializer<VT> : MccSerializerBase {
|
||||||
|
static constexpr std::string_view serializerName{"MCC-VT-SERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_output_char_range auto& output,
|
||||||
|
VT const& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
return MccSerializer<int>{}(output, value.v(), params);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct mcc::impl::MccDeserializer<VT> : MccDeserializerBase {
|
||||||
|
static constexpr std::string_view deserializerName{"MCC-VT-DESERIALIZER"};
|
||||||
|
|
||||||
|
template <mcc_serialization_params_c ParamsT = mcc_serialization_params_t>
|
||||||
|
error_t operator()(traits::mcc_input_char_range auto const& input,
|
||||||
|
VT& value,
|
||||||
|
ParamsT const& params = mcc_serialization_params_t{})
|
||||||
|
{
|
||||||
|
int v;
|
||||||
|
auto err = MccDeserializer<int>{}(input, v, params);
|
||||||
|
if (!err) {
|
||||||
|
value.set(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
return err;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
static auto kv_desc = std::make_tuple(
|
||||||
|
mcc_simple_kv_record_t{"bb", MccAngle{11.5_degs}, MccAngle{11.5_degs}, mcc_serialization_params_t{}},
|
||||||
|
mcc_simple_kv_record_t{"aaa", std::string("AAA"), std::string("AAA"), mcc_serialization_params_t{}},
|
||||||
|
mcc_simple_kv_record_t{"cc", MccCelestialCoordEpoch{}, MccCelestialCoordEpoch{}, mcc_serialization_params_t{}},
|
||||||
|
mcc_simple_kv_record_t{
|
||||||
|
"ddd", MccAngle{11.5_degs}, MccAngle{11.5_degs},
|
||||||
|
mcc_serialization_params_t{.angle_format = mcc::MccSerializedAngleFormat::MCC_SERIALIZED_FORMAT_SXGM_HOURS}},
|
||||||
|
mcc_make_simple_kv_record("eee", 1.5),
|
||||||
|
mcc_make_simple_kv_record("arr", std::vector<int>{1, 2, 3, 4, 5, 6, 7}),
|
||||||
|
mcc_make_simple_kv_record("vt", VT(77)),
|
||||||
|
mcc_make_simple_kv_record("sarr", std::array<double, 3>{1, 2, 3}));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static std::string STR = R"--(
|
||||||
|
|
||||||
|
aaa = dewl_ewkj23+23998
|
||||||
|
|
||||||
|
#
|
||||||
|
# this is angle
|
||||||
|
bb=1.24534
|
||||||
|
cc= 2026-05-15T05:53:20.921723918 # date UTC
|
||||||
|
|
||||||
|
)--";
|
||||||
|
|
||||||
|
static std::string STR1 = R"--(
|
||||||
|
aaa = dewl_ewkj23+23998
|
||||||
|
|
||||||
|
#
|
||||||
|
# this is obs date
|
||||||
|
cc= 2026-05-15T05:53:20.921723918 # date UTC
|
||||||
|
|
||||||
|
ddd = 01:02:33.434 # HA in hours:mins:secs
|
||||||
|
)--";
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
std::error_code err;
|
||||||
|
std::string buff;
|
||||||
|
|
||||||
|
MccKeyValueHolder kv(kv_desc);
|
||||||
|
|
||||||
|
err = kv.toCharRange(buff);
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
std::println("DEFAULT VALUES:");
|
||||||
|
std::println("--(\n{})--", buff);
|
||||||
|
std::println("\n\n");
|
||||||
|
|
||||||
|
|
||||||
|
err = kv.setValue("eee", 15.1515);
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
// return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// auto err = kv.fromCharRange(STR);
|
||||||
|
err = kv.fromCharRange(STR1);
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::println("{} = {}", "bb", kv.getValue<MccAngle>(std::string{"bb"}).value().sexagesimal());
|
||||||
|
std::println("{} = {}", "cc", kv.getValue<MccCelestialCoordEpoch>("cc").value().UTC());
|
||||||
|
|
||||||
|
err = kv.setValue("cc", std::chrono::system_clock::now());
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
// return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = kv.setValue("aaa", "OK");
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
// return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = kv.setValue("ddd", 37.5_degs);
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
// return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = kv.setValue("arr", std::array{10, 20, 30});
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
// return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = kv.setValue("sarr", std::vector{10, 20, 30, 40, 50});
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
// return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::println("------------------------------------");
|
||||||
|
|
||||||
|
|
||||||
|
buff.clear();
|
||||||
|
err = kv.toCharRange<decltype(kv)::OPOLICY_FULL>(buff);
|
||||||
|
// err = kv.toCharRange(buff);
|
||||||
|
if (err) {
|
||||||
|
std::println("ERR = {}", err);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::println("--(\n{}\n)--", buff);
|
||||||
|
|
||||||
|
std::print("KEYS: ");
|
||||||
|
for (auto const& k : kv.keys()) {
|
||||||
|
std::print("{} ", k);
|
||||||
|
}
|
||||||
|
std::println("");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user