Skip to content

Commit 6d89ee0

Browse files
committed
add golevka IAU frame
1 parent aa33b99 commit 6d89ee0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/pck.cpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,16 @@ void iau_to_euler(const real t0_mjd, std::string iauFrame, real *euler){
631631
cdec0 = -66.30;
632632
cw0 = 0.0;
633633
cw1 = 712.143;
634+
} else if (iauFrame == "IAU_GOLEVKA"){
635+
// from https://doi.org/10.1006/icar.2000.6483
636+
// from Celest Mech Dyn Astr (2005) 91: 203-215 https://doi.org/10.1007/s10569-004-3115-4
637+
// BODY2006489_POLE_RA = ( 228.0 0. 0. )
638+
// BODY2006489_POLE_DEC = ( 33.0 0. 0. )
639+
// BODY2006489_PM = ( 000.0 59.712 0. )
640+
cra0 = 228.0;
641+
cdec0 = 33.0;
642+
cw0 = 0.0;
643+
cw1 = 59.712;
634644
} else {
635645
throw std::runtime_error("iau_to_euler: The IAU frame is not supported.");
636646
}
@@ -755,7 +765,7 @@ void get_pck_rotMat(const std::string &from, const std::string &to,
755765
"ITRF93", "IAU_EARTH", "IAU_MOON",
756766
"IAU_MARS", "IAU_JUPITER", "IAU_SATURN",
757767
"IAU_URANUS", "IAU_NEPTUNE", "IAU_PLUTO",
758-
"IAU_BENNU", "IAU_ITOKAWA"
768+
"IAU_BENNU", "IAU_ITOKAWA", "IAU_GOLEVKA"
759769
};
760770
// make sure either from or to frame is J2000
761771
int bodyFrameIdx = -1;

0 commit comments

Comments
 (0)