Orekit 13.1: getMinDate/getMaxDate no longer available in BoundedPropagator?

Hello everyone :slight_smile:

I am using the Python wrapper and I just upgraded the Orekit version from 13.0 to 13.1 and ran some tests.

I got:
AttributeError: ‘BoundedPropagator’ object has no attribute ‘getMinDate’

where the BoundedPropagator is obtained by calling

eph_generator.getGeneratedEphemeris()

I think the BoundedPropagator had the methods getMinDate/getMaxDate before, inherited from its parent class.

Was this change made on purpose? Because on the Orekit 13.1 (Java) documentation I see that the methods should be still inherited and available for the BoundedPropagator class.

Let me know if I am missing something.

Thank you very much in advance for your help, and for your work!

Giacomo

Hello @gnisi,

I suppose you are using the JCC Wrapper and not the JPype wrapper ? If so you must cast your generated ephemeris to access these methods as they are inherited from BoundedPVCoordinatesProvider in Orekit 13.1.

Cheers,
Vincent

Hello @Vincent, and thank you very much for the solution!
Yes, I am using the JCC wrapper. I will cast it, thanks.
Regarding the wrappers: do we know if one or the other is planned to be maintained for longer?

Thanks,

Giacomo

Hello @gnisi,

I suggest you read this thread : Future of the Python wrappers - #2 by Serrof

In short, the JCC version will not be maintained in the future (this may be the last version depending on the major changes happening in 14.0).

Cheers,
Vincent

Thank you Vincent!

Cheers,

Giacomo

1 Like