Ah and I think I found a second issue, this time when estimating with the Kalman Filter.
I don’t think KalmanEstimator supports ParameterDriver build using TimeSpanMap. This is the error I got:
orekit.JavaError: <super: <class 'JavaError'>, <JavaError object>>
Java stacktrace:
org.orekit.errors.OrekitIllegalStateException: Cd parameter contains several span in its value TimeSpanMap, the getValue(date) method must be called
at org.orekit.utils.ParameterDriver.getValue(ParameterDriver.java:645)
at org.orekit.utils.ParameterDriver.getNormalizedValue(ParameterDriver.java:587)
at org.orekit.estimation.sequential.KalmanModel.<init>(KalmanModel.java:270)
at org.orekit.estimation.sequential.KalmanEstimator.<init>(KalmanEstimator.java:111)
at org.orekit.estimation.sequential.KalmanEstimatorBuilder.build(KalmanEstimatorBuilder.java:76)
I’m currently using version 12.0.1, but I had a look on the master branch on Gitlab at the KalmanEstimationCommon class and there is always the call to ParameterDriver.getNormalizedValue() without specifying any date.