use of org.orekit.frames.EOPHistoryLoader in project Orekit by CS-SI.
the class Utils method setLoaders.
public static void setLoaders(final IERSConventions conventions, final List<EOPEntry> eop) {
clearFactoryMaps(FramesFactory.class);
clearFactoryMaps(TimeScalesFactory.class);
FramesFactory.addEOPHistoryLoader(conventions, new EOPHistoryLoader() {
public void fillHistory(IERSConventions.NutationCorrectionConverter converter, SortedSet<EOPEntry> history) {
history.addAll(eop);
}
});
}
Aggregations