Closed pavan8k closed 4 years ago
HI Pavan,
Thanks for opening and fixing this issue :) There should be no issue with changing the order of the loading of the kernels. It's odd that it's never happened before, but good to know that this is a fix,
Best,
Dominic
Hi Dominic, Thanks for the reply. If you could incorporate this fix in the next commit, it will be very useful in case someone faces a similar situation in Windows. Regards, Pavan.
Hi Pavan,
We're currently in the process of a very thorough restructuring of Tudat, including the way in which we manage files, and the manner in which we link spice. This issue will also be brought to the table during that process. Thanks for your contribution!
Best,
Dominic
Hello, I have noticed one small issue when I was working with an example tutorial for singlePerturbedSatellitePropagator .
File I was working on is with the following lines added to the above example :
While compiling the above code in Windows with mingw 7.3.0 64 bit C++ compiler, I got the following exception. It should also be noted, the same exception didn't come in Ubuntu with gcc C++ 64 bit compiler and the conversion to Ephemeris Time from the above string format was successful in Ubuntu.
Possible fix ??
Looking at the Spice documentation, I noticed that in many examples,
leapseconds.tls
was loaded prior to the ephemeris binar file*.bsp
, so I changed the spice interface file in Tudat so that the leapsecond file ofnaif0012.tls
is loaded first.Then, the conversion to Ephemeris time from the above string format was proper and there was no exception raised by the Spice in both Windows and Ubuntu environments with mingw and g++ compilers respectively
My question is that, whatever I attempted is that the correct fix or am I losing something if I load
naif0012.tls
before the merged ephemeris filetudat_merged_spk_kernel.bsp
?Kindly note: I followed the installation procedures as recommended in your documentation for both Ubuntu and Windows environments. Thanks, Pavan.