Hi Hank, On 01/15/2017 01:03 PM, Hank Grabowski
wrote:
No problem.
That was my goal in the getFrame() and getTimeScale() methods that return an Orekit Frame and an Orekit TimeScale. If you have an idea for a better internal Orekit type I'd like to hear it. I don't think it is possible to list every frame or time scale that could be used in an ephemeris so I didn't create an enum.
I have it implemented for some internal ephemeris formats. I think the main change to OEMWriter would be making the BufferedWriter (or Appendable) and the spacecraft meta data instance fields. Then OEMWriter could implement OrekitStepHandler. The init() method would call writeHeader() and writeMetaData() while handleStep() would call writeEphemeris() for each step to write a line of the ephemeris. With a few changes I think it should be able to work. I think the biggest change is usage would be that each OEM file would need it's own OEMWriter instead of the current design where one OEMWriter can write many OEM files. Best Regards, Evan
|
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature