org.orekit.errors.OrekitException: ITRF frame ITRF-2020 not found

I’m using the following verison of orekit.
Java version: 1.8.0_332
orekit version: 11.0

here is my python code:
vm = orekit.initVM()
download_orekit_data_curdir()
setup_orekit_curdir()

ITRF = FramesFactory.getITRF(IERSConventions.IERS_2010,True)
earth = OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS,
Constants.WGS84_EARTH_FLATTENING,
ITRF)

and when I try to run the code using python, a error occured:

<super: <class ‘JavaError’>, >
Java stacktrace:
org.orekit.errors.OrekitException: ITRF frame ITRF-2020 not found
at org.orekit.frames.ITRFVersion.getITRFVersion(ITRFVersion.java:141)
at org.orekit.frames.ITRFVersionLoader$Parser.loadData(ITRFVersionLoader.java:188)
at org.orekit.data.DataProvidersManager$MonitoringWrapper.loadData(DataProvidersManager.java:354)
at org.orekit.data.ZipJarCrawler.feed(ZipJarCrawler.java:218)
at org.orekit.data.ZipJarCrawler.feed(ZipJarCrawler.java:143)
at org.orekit.data.DataProvidersManager.feed(DataProvidersManager.java:312)
at org.orekit.frames.ITRFVersionLoader.(ITRFVersionLoader.java:100)
at org.orekit.frames.BulletinAFilesLoader$Parser.(BulletinAFilesLoader.java:409)
at org.orekit.frames.BulletinAFilesLoader.fillHistory(BulletinAFilesLoader.java:364)
at org.orekit.frames.LazyLoadedEop.getEOPHistory(LazyLoadedEop.java:311)
at org.orekit.frames.LazyLoadedFrames.getEOPHistory(LazyLoadedFrames.java:182)
at org.orekit.frames.AbstractFrames.getCIRF(AbstractFrames.java:400)
at org.orekit.frames.AbstractFrames.getTIRF(AbstractFrames.java:353)
at org.orekit.frames.AbstractFrames.getITRF(AbstractFrames.java:278)
at org.orekit.frames.FramesFactory.getITRF(FramesFactory.java:415)

any help will be appreciated. thanks.

You should update your orekit version to 11.3.2 or do not use the latest physical data provided from the web site but update it by hand.
The IERS 2020 is not supported by versions less than 11.3.2. Therefore, the latest physical data contains IERS 2020 and cannot be parsed by the data crawler.

2 Likes