public class JPLCelestialBodyLoader extends AbstractJPLCelestialBodyLoader
CelestialPoint
. For CelestialBodyEphemeris
loader only,
see dedicated class.
JPL ephemerides binary files contain ephemerides for all solar system planets.
The JPL ephemerides binary files are recognized thanks to their base names, which must match the pattern
[lu]nx[mp]####.ddd
(or [lu]nx[mp]####.ddd.gz
for gzip-compressed files) where # stands for
a digit character and where ddd is an ephemeris type (typically 405 or 406).
Currently accepted JPL formats are: DE200/DE 202/DE 403/DE 405/DE 406/DE 410/DE 413/DE 414/DE 418/DE 421/DE 422/DE 423/DE 430 and BSP.
The loader supports files encoded in big-endian as well as in little-endian notation. Usually, big-endian files are
named unx[mp]####.ddd
, while little-endian files are named lnx[mp]####.ddd
.
The IMCCE ephemerides binary files are recognized thanks to their base names, which must match the pattern
inpop*.dat
(or inpop*.dat.gz
for gzip-compressed files) where * stands for any string.
Currently accepted IMCCE formats are: INPOP 06b/06c/08a/10a/10b/10e/13c/17a/19a.
The loader supports files encoded in big-endian as well as in little-endian notation. Usually, big-endian files
contain bigendian
in their names, while little-endian files contain littleendian
in their
names.
The loader supports files in TDB or TCB time scales.
Note: the time scale isn't serialized.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DE_SUPPORTED_NAMES
Default supported files name pattern for JPL DE files.
|
static String |
DEFAULT_INPOP_SUPPORTED_NAMES
Default supported files name pattern for IMCCE INPOP files.
|
Constructor and Description |
---|
JPLCelestialBodyLoader(String supportedNamesIn,
EphemerisType generateTypeIn)
Create a loader for JPL ephemerides binary files (DE-INPOP type).
|
JPLCelestialBodyLoader(String supportedNamesIn,
EphemerisType generateTypeIn,
GravityModel gravityModelIn)
Create a loader for JPL ephemerides binary files (DE-INPOP type).
|
Modifier and Type | Method and Description |
---|---|
String |
getName(String patriusName)
Returns name of body as known by the loader corresponding to PATRIUS body name.
|
CelestialBody |
loadCelestialBody(String name)
Load celestial body.
|
CelestialPoint |
loadCelestialPoint(String name)
Load celestial point.
|
buildDefaultBodyShape, getEphemerisLoader, getLoadedGravitationalCoefficient, getSupportedNames
public static final String DEFAULT_DE_SUPPORTED_NAMES
public static final String DEFAULT_INPOP_SUPPORTED_NAMES
public JPLCelestialBodyLoader(String supportedNamesIn, EphemerisType generateTypeIn)
supportedNamesIn
- regular expression for supported files namesgenerateTypeIn
- ephemeris type to generatepublic JPLCelestialBodyLoader(String supportedNamesIn, EphemerisType generateTypeIn, GravityModel gravityModelIn)
supportedNamesIn
- regular expression for supported files namesgenerateTypeIn
- ephemeris type to generategravityModelIn
- gravitational attraction modelpublic CelestialPoint loadCelestialPoint(String name) throws PatriusException
name
- name of the celestial pointPatriusException
- if the point cannot be loadedpublic CelestialBody loadCelestialBody(String name) throws PatriusException
name
- name of the celestial bodyPatriusException
- if the body cannot be loadedCopyright © 2023 CNES. All rights reserved.