More control when writing KVN files?

I’m able to take in an OEM XML and convert that to KVN just fine.

But I was wondering if there is a way for finer control? For example between the first block of header and second blocker of header, there are three spaces but I’d like to only have two. The line “INTERPOLATION_DEGREE”, I would like to omit that completely. Lastly, is there a way to control the spacing between each of the column? For example, between position X, position Y, position Z, etc…


Hi there,

from a quick look to the code, doing setInterpolationDegree(-1) with your OemMetadata should skip its writing in the output file.
I’m not confident about your other questions regarding spacing, but surely somebody knows that here.

Romain S.

Thank you! I’ll give it a try when I have the chance.

Would you be able to show me which part of the code indicated that? Just want to learn a bit more about this.

On branch release-11.3, in (package org.orekit.files.ccsds.ndm.odm.oem), line 323 there is a check on the value of the interpolation degree to decide whether or not to include it.


1 Like