I’ve been using OREKIT since V9.0 via some Python wrappers without many issues. As of 10.3, I’m suddenly having trouble with frames fining the EOP data. In the code below, the “PO” prefix is just the Python data structure that holds the Java handles.
EME_Frame = PO.FramesFactory.getEME2000()
print(“EOP data for EME : {}”.format( PO.FramesFactory.findEOP(EME_Frame)) )
EOP data for EME : None
It is a big problem when trying to set up GroundSites for estimation. Without the EOP data, it throws an exception:
BODY_ELLIPSOID = PO.OneAxisEllipsoid( PO.Constants.WGS84_EARTH_EQUATORIAL_RADIUS,
PO.Constants.WGS84_EARTH_FLATTENING,
PO.FramesFactory.getEME2000())
geodetic = PO.GeodeticPoint(0,0,0)
topocentric = PO.TopocentricFrame( BODY_ELLIPSOID, G, ‘TEST’)
print(“EOP history for the topocentric frame: {}”.format( PO.FramesFactory.findEOP(topocentric)))
PO.GroundStation( topocentric )
EXCEPTION : JavaException: JVM exception occurred: missing Earth Orientation Parameters org.orekit.errors.OrekitException
I’m loading the orekit-data
directory via the DataProvidersManager
and the DirectoryCrawler
. All that has worked until recently. And it appears to have data per:
EOP = PO.FramesFactory.getEOPHistory( PO.IERSConventions.IERS_2010 , False)
EOP.getEndDate().toString() : ‘2022-08-28T00:00:00.000’
EOP.getStartDate().toString() : ‘1973-01-02T00:00:00.000’
I’m not sure where it could be failing or how to debug if the data is loaded. Any help is appreciated!