Class PythonPotentialCoefficientsReader

    • Constructor Detail

      • PythonPotentialCoefficientsReader

        @DefaultDataContext
        public PythonPotentialCoefficientsReader​(String supportedNames,
                                                 boolean missingCoefficientsAllowed)
        Simple constructor.

        Build an uninitialized reader.

        This constructor uses the default data context.

        Parameters:
        supportedNames - regular expression for supported files names
        missingCoefficientsAllowed - allow missing coefficients in the input data
        See Also:
        #PotentialCoefficientsReader(String, boolean, TimeScale)
      • PythonPotentialCoefficientsReader

        public PythonPotentialCoefficientsReader​(String supportedNames,
                                                 boolean missingCoefficientsAllowed,
                                                 TimeScale timeScale)
        Simple constructor.

        Build an uninitialized reader.

        Parameters:
        supportedNames - regular expression for supported files names
        missingCoefficientsAllowed - allow missing coefficients in the input data
        timeScale - to use when parsing dates.
        Since:
        10.1
    • 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
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • getProvider

        public RawSphericalHarmonicsProvider getProvider​(boolean wantNormalized,
                                                         int degree,
                                                         int order)
        Get a provider for read spherical harmonics coefficients.
        Specified by:
        getProvider in class PotentialCoefficientsReader
        Parameters:
        wantNormalized - if true, the provider will provide normalized coefficients, otherwise it will provide un-normalized coefficients
        degree - maximal degree
        order - maximal order
        Returns:
        a new provider
        Since:
        6.0
        See Also:
        #getConstantProvider(boolean, int, int)