Package org.orekit.frames
Class PythonAbstractEopParser
- java.lang.Object
-
- org.orekit.frames.PythonAbstractEopParser
-
- All Implemented Interfaces:
EopHistoryLoader.Parser
public class PythonAbstractEopParser extends Object
-
-
Constructor Summary
Constructors Constructor Description PythonAbstractEopParser(IERSConventions.NutationCorrectionConverter converter, ItrfVersionProvider itrfVersionProvider, TimeScale utc)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectprotected IERSConventions.NutationCorrectionConverter
getConverter()
Get the nutation converter.protected ItrfVersionProvider
getItrfVersionProvider()
Get the ITRF version loader.protected TimeScale
getUtc()
Get the UTC time scale.Collection<EOPEntry>
parse(InputStream input, String name)
Parse EOP from the given input stream.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Constructor Detail
-
PythonAbstractEopParser
public PythonAbstractEopParser(IERSConventions.NutationCorrectionConverter converter, ItrfVersionProvider itrfVersionProvider, TimeScale utc)
Simple constructor.- Parameters:
converter
- converter to useitrfVersionProvider
- to use for determining the ITRF version of the EOP.utc
- time scale for parsing dates.
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
parse
public Collection<EOPEntry> parse(InputStream input, String name) throws IOException
Parse EOP from the given input stream.- Parameters:
input
- stream to parse.name
- of the stream for error messages.- Returns:
- parsed EOP entries.
- Throws:
IOException
- ifinput
throws one during parsing. TODO: Unclear what is reasonable to expose here.
-
getConverter
protected IERSConventions.NutationCorrectionConverter getConverter()
Get the nutation converter.- Returns:
- the nutation converter.
-
getItrfVersionProvider
protected ItrfVersionProvider getItrfVersionProvider()
Get the ITRF version loader.- Returns:
- ITRF version loader.
-
getUtc
protected TimeScale getUtc()
Get the UTC time scale.- Returns:
- UTC time scale.
-
-