JEphem Informatic Trail JEphem source code DataVSOP87A_JEphem_Earth.java
//********************************************************************
// class jephem.astro.solarsystem.vsop87.DataVSOP87A_JEphem_Earth
// Software released under the General Public License (version 2 or later), available at
// http://www.gnu.org/copyleft/gpl.html
//********************************************************************
package jephem.astro.solarsystem.vsop87;

/********************************************************************
Data for calculation of Earth coordinates using VSOP87 theory (version A).
********************************************************************/
class DataVSOP87A_JEphem_Earth{

  /** Array indicating the number of terms for a coordinate and a power of time.
  <BR><CODE>nbTerms[i][j]</CODE> = number of terms for coordinate i (X, Y or Z),
  for t<SUP>j</SUP>.
  */
  protected static final int nbTerms[][] = {
    {57, 28, 13, 6, 4, 1},
    {57, 28, 13, 6, 4, 1},
    {3, 4, 3, 3, 2, 1}
  }; // end nbTerms[][]

  /** Array containing the terms for the summation.
  <BR><CODE>data[n][0]</CODE> represents term A.
  <BR><CODE>data[n][1]</CODE> represents term B.
  <BR><CODE>data[n][2]</CODE> represents term C.
  */
  protected static final double data[][] = {
    // Earth X, T**0
    { 0.99982928844, 1.75348568475, 6283.07584999140 },
    { 0.00835257300, 1.71034539450, 12566.15169998280 },
    { 0.00561144206, 0.00000000000, 0.00000000000 },
    { 0.00010466628, 1.66722645223, 18849.22754997420 },
    { 0.00003110838, 0.66875185215, 83996.84731811189 },
    { 0.00002552498, 0.58310207301, 529.69096509460 },
    { 0.00002137256, 1.09235189672, 1577.34354244780 },
    { 0.00001709103, 0.49540223397, 6279.55273164240 },
    { 0.00001707882, 6.15315547484, 6286.59896834040 },
    { 0.00001445242, 3.47272783760, 2352.86615377180 },
    { 0.00001091006, 3.68984782465, 5223.69391980220 },
    { 0.00000934429, 6.07389922585, 12036.46073488820 },
    { 0.00000899144, 3.17571950523, 10213.28554621100 },
    { 0.00000566514, 2.15262034016, 1059.38193018920 },
    { 0.00000684416, 1.30699021227, 5753.38488489680 },
    { 0.00000734455, 4.35500196530, 398.14900340820 },
    { 0.00000681437, 2.21821534685, 4705.73230754360 },
    { 0.00000611238, 5.38479234323, 6812.76681508600 },
    { 0.00000451836, 6.08768280868, 5884.92684658320 },
    { 0.00000451953, 1.27933728354, 6256.77753019160 },
    { 0.00000449517, 5.36923831714, 6309.37416979120 },
    { 0.00000406248, 0.54361367084, 6681.22485339960 },
    { 0.00000540957, 0.78677364655, 775.52261132400 },
    { 0.00000547004, 1.46146650376, 14143.49524243060 },
    { 0.00000520484, 4.43295799975, 7860.41939243920 },
    { 0.00000214960, 4.50213844573, 11506.76976979360 },
    { 0.00000227892, 1.23941482802, 7058.59846131540 },
    { 0.00000225878, 3.27244306207, 4694.00295470760 },
    { 0.00000255820, 2.26556277246, 12168.00269657460 },
    { 0.00000256182, 1.45474116190, 709.93304855830 },
    { 0.00000178120, 2.96205424204, 796.29800681640 },
    { 0.00000161205, 1.47337718956, 5486.77784317500 },
    { 0.00000178325, 6.24374704602, 6283.14316029419 },
    { 0.00000178325, 0.40466470869, 6283.00853968860 },
    { 0.00000155487, 1.62409309523, 25132.30339996560 },
    { 0.00000209024, 5.85207528073, 11790.62908865880 },
    { 0.00000199971, 4.07209938245, 17789.84561978500 },
    { 0.00000128933, 5.21693314150, 7079.37385680780 },
    { 0.00000128099, 4.80182882228, 3738.76143010800 },
    { 0.00000151691, 0.86921639327, 213.29909543800 },
    { 0.00000094483, 4.60187620729, 10977.07880469900 },
    { 0.00000077801, 1.84444797200, 8827.39026987480 },
    { 0.00000077277, 3.58396027325, 5507.55323866740 },
    { 0.00000073493, 2.69522392584, 1589.07289528380 },
    { 0.00000065359, 3.65156347970, 11769.85369316640 },
    { 0.00000063240, 2.24124130944, 6262.30045449900 },
    { 0.00000062961, 4.40729381941, 6303.85124548380 },
    { 0.00000085870, 3.02430773140, 167283.76158766549 },
    { 0.00000082957, 6.19254908840, 3340.61242669980 },
    { 0.00000079201, 2.49366716519, 6069.77675455340 },
    { 0.00000060048, 3.39951805979, 4136.91043351620 },
    { 0.00000062119, 2.01472298915, 7.11354700080 },
    { 0.00000075601, 4.15956023781, 6496.37494542940 },
    { 0.00000067771, 4.03416283669, 9437.76293488700 },
    { 0.00000057574, 2.67881766950, 6282.09552892320 },
    { 0.00000057574, 3.96971590315, 6284.05617105960 },
    { 0.00000057340, 3.79459979103, 3154.68708489560 },
    // Originally 843 terms, 57 terms retained, 786 terms dropped.

    // Earth X, T**1
    { 0.00123403056, 0.00000000000, 0.00000000000 },
    { 0.00051500156, 6.00266267204, 12566.15169998280 },
    { 0.00001290726, 5.95943124583, 18849.22754997420 },
    { 0.00001068627, 2.01554176551, 6283.07584999140 },
    { 0.00000212689, 1.73380190491, 6279.55273164240 },
    { 0.00000212515, 4.91489371033, 6286.59896834040 },
    { 0.00000062260, 0.36239798178, 4705.73230754360 },
    { 0.00000059822, 3.81195369871, 6256.77753019160 },
    { 0.00000059514, 2.83634160150, 6309.37416979120 },
    { 0.00000048841, 5.21419389335, 775.52261132400 },
    { 0.00000042883, 0.43789776559, 1059.38193018920 },
    { 0.00000046286, 0.01839494103, 7860.41939243920 },
    { 0.00000035675, 1.45279327264, 5884.92684658320 },
    { 0.00000036061, 2.16002201071, 5753.38488489680 },
    { 0.00000035367, 4.47243820095, 6812.76681508600 },
    { 0.00000032137, 5.19589851893, 6681.22485339960 },
    { 0.00000028763, 5.91618989512, 25132.30339996560 },
    { 0.00000028447, 1.14976253807, 6127.65545055720 },
    { 0.00000027573, 5.50119104683, 6438.49624942560 },
    { 0.00000024815, 2.92204909812, 5486.77784317500 },
    { 0.00000020611, 3.71790880968, 7079.37385680780 },
    { 0.00000019565, 2.89351924469, 5507.55323866740 },
    { 0.00000018308, 1.46954314992, 11790.62908865880 },
    { 0.00000016471, 6.22682639292, 11506.76976979360 },
    { 0.00000016757, 3.81935015812, 7058.59846131540 },
    { 0.00000014555, 5.97554823531, 6290.18939699220 },
    { 0.00000014388, 0.68157599309, 6275.96230299060 },
    { 0.00000013921, 1.44156172409, 796.29800681640 },
    // Originally 491 terms, 28 terms retained, 463 terms dropped.

    // Earth X, T**2
    { 0.00004143217, 3.14159265359, 0.00000000000 },
    { 0.00002175695, 4.39999849572, 12566.15169998280 },
    { 0.00000995233, 0.20790847155, 6283.07584999140 },
    { 0.00000092659, 4.19285471010, 18849.22754997420 },
    { 0.00000013679, 3.37833642063, 6286.59896834040 },
    { 0.00000013668, 3.27271492019, 6279.55273164240 },
    { 0.00000008190, 4.41928022030, 6256.77753019160 },
    { 0.00000008145, 2.22925093408, 6309.37416979120 },
    { 0.00000008004, 5.92288197328, 6127.65545055720 },
    { 0.00000007746, 0.72469358509, 6438.49624942560 },
    { 0.00000008899, 5.38113427234, 83996.84731811189 },
    { 0.00000004754, 6.16710003373, 709.93304855830 },
    { 0.00000003737, 2.48724420764, 5507.55323866740 },
    // Originally 204 terms, 13 terms retained, 191 terms dropped.

    // Earth X, T**3
    { 0.00000175213, 3.14159265359, 0.00000000000 },
    { 0.00000072337, 2.89303952476, 12566.15169998280 },
    { 0.00000008364, 3.85500954096, 6283.07584999140 },
    { 0.00000005040, 2.53152989786, 18849.22754997420 },
    { 0.00000001481, 2.23672235234, 6438.49624942560 },
    { 0.00000001481, 4.41181122031, 6127.65545055720 },
    // Originally 18 terms, 6 terms retained, 12 terms dropped.

    // Earth X, T**4
    { 0.00000004022, 0.00000000000, 0.00000000000 },
    { 0.00000001927, 1.18746233453, 12566.15169998280 },
    { 0.00000000491, 5.29890244491, 6283.07584999140 },
    { 0.00000000229, 0.88072621187, 18849.22754997420 },
    // Originally 15 terms, 4 terms retained, 11 terms dropped.

    // Earth X, T**5
    { 0.00000000108, 0.00000000000, 0.00000000000 },
    // Originally 6 terms, 1 terms retained, 5 terms dropped.

    // Earth Y, T**0
    { 0.99989211030, 0.18265890456, 6283.07584999140 },
    { 0.02442699036, 3.14159265359, 0.00000000000 },
    { 0.00835292314, 0.13952878991, 12566.15169998280 },
    { 0.00010466965, 0.09641690558, 18849.22754997420 },
    { 0.00003110838, 5.38114091484, 83996.84731811189 },
    { 0.00002570338, 5.30103973360, 529.69096509460 },
    { 0.00002147473, 2.66253538905, 1577.34354244780 },
    { 0.00001709219, 5.20780401071, 6279.55273164240 },
    { 0.00001707987, 4.58232858766, 6286.59896834040 },
    { 0.00001440265, 1.90068164664, 2352.86615377180 },
    { 0.00001135092, 5.27313415220, 5223.69391980220 },
    { 0.00000934539, 4.50301201844, 12036.46073488820 },
    { 0.00000900565, 1.60563288120, 10213.28554621100 },
    { 0.00000567126, 0.58142248753, 1059.38193018920 },
    { 0.00000744932, 2.80728871886, 398.14900340820 },
    { 0.00000639316, 6.02923915017, 5753.38488489680 },
    { 0.00000681324, 0.64729627497, 4705.73230754360 },
    { 0.00000611347, 3.81381495286, 6812.76681508600 },
    { 0.00000450435, 4.52785572489, 5884.92684658320 },
    { 0.00000452018, 5.99167242707, 6256.77753019160 },
    { 0.00000449968, 3.79880375595, 6309.37416979120 },
    { 0.00000551390, 3.96125249369, 5507.55323866740 },
    { 0.00000406334, 5.25616268027, 6681.22485339960 },
    { 0.00000541273, 5.49902805917, 775.52261132400 },
    { 0.00000546360, 6.17311131785, 14143.49524243060 },
    { 0.00000507084, 2.87025193381, 7860.41939243920 },
    { 0.00000219504, 2.95216139568, 11506.76976979360 },
    { 0.00000227937, 5.95179248814, 7058.59846131540 },
    { 0.00000227792, 4.84547074733, 4694.00295470760 },
    { 0.00000255845, 0.69454231563, 12168.00269657460 },
    { 0.00000256132, 6.16722512388, 709.93304855830 },
    { 0.00000179242, 1.40003446021, 796.29800681640 },
    { 0.00000178280, 5.11717552231, 6283.00853968860 },
    { 0.00000178280, 4.67307255246, 6283.14316029419 },
    { 0.00000155454, 0.05340525434, 25132.30339996560 },
    { 0.00000206257, 4.28366728882, 11790.62908865880 },
    { 0.00000149769, 6.07429023278, 5486.77784317500 },
    { 0.00000200005, 2.50144088120, 17789.84561978500 },
    { 0.00000129006, 3.64623708634, 7079.37385680780 },
    { 0.00000128211, 3.23254821381, 3738.76143010800 },
    { 0.00000152790, 5.58120800450, 213.29909543800 },
    { 0.00000118725, 5.45361490488, 9437.76293488700 },
    { 0.00000078419, 0.28253093914, 8827.39026987480 },
    { 0.00000073513, 1.12433371880, 1589.07289528380 },
    { 0.00000065694, 2.08898587059, 11769.85369316640 },
    { 0.00000063240, 0.67044491570, 6262.30045449900 },
    { 0.00000062961, 2.83649755996, 6303.85124548380 },
    { 0.00000085870, 1.45351152151, 167283.76158766549 },
    { 0.00000063616, 0.49038985445, 7.11354700080 },
    { 0.00000080740, 0.92225805400, 6069.77675455340 },
    { 0.00000083511, 4.63223527298, 3340.61242669980 },
    { 0.00000060039, 1.82878888713, 4136.91043351620 },
    { 0.00000075626, 2.58860726122, 6496.37494542940 },
    { 0.00000058089, 0.55165509745, 10977.07880469900 },
    { 0.00000057574, 1.10802134270, 6282.09552892320 },
    { 0.00000057574, 2.39891957636, 6284.05617105960 },
    { 0.00000061133, 5.34335721244, 3154.68708489560 },
    // Originally 854 terms, 57 terms retained, 797 terms dropped.

    // Earth Y, T**1
    { 0.00093046324, 0.00000000000, 0.00000000000 },
    { 0.00051506609, 4.43180499286, 12566.15169998280 },
    { 0.00001290800, 4.38860548540, 18849.22754997420 },
    { 0.00000464550, 5.82729912952, 6283.07584999140 },
    { 0.00000212689, 0.16300556918, 6279.55273164240 },
    { 0.00000212533, 3.34400595407, 6286.59896834040 },
    { 0.00000062345, 5.07377354827, 4705.73230754360 },
    { 0.00000059794, 2.24100907272, 6256.77753019160 },
    { 0.00000059441, 1.26619990626, 6309.37416979120 },
    { 0.00000048987, 3.64166577835, 775.52261132400 },
    { 0.00000042746, 5.15177425824, 1059.38193018920 },
    { 0.00000046642, 4.71575215800, 7860.41939243920 },
    { 0.00000037274, 0.66041323804, 5753.38488489680 },
    { 0.00000035625, 6.15462846966, 5884.92684658320 },
    { 0.00000035373, 2.90052012152, 6812.76681508600 },
    { 0.00000032157, 3.62669702015, 6681.22485339960 },
    { 0.00000028763, 4.34539355621, 25132.30339996560 },
    { 0.00000028447, 5.86215103214, 6127.65545055720 },
    { 0.00000027502, 3.92641632542, 6438.49624942560 },
    { 0.00000024830, 1.35190115953, 5486.77784317500 },
    { 0.00000020618, 2.14772396647, 7079.37385680780 },
    { 0.00000019531, 1.29958310594, 5507.55323866740 },
    { 0.00000018447, 6.17330532651, 11790.62908865880 },
    { 0.00000016520, 4.63328039489, 11506.76976979360 },
    { 0.00000016754, 2.24862220282, 7058.59846131540 },
    { 0.00000014560, 4.40425761361, 6290.18939699220 },
    { 0.00000014426, 5.39226330857, 6275.96230299060 },
    { 0.00000014186, 6.18547219419, 796.29800681640 },
    // Originally 496 terms, 28 terms retained, 468 terms dropped.

    // Earth Y, T**2
    { 0.00005080208, 0.00000000000, 0.00000000000 },
    { 0.00002178016, 2.82957544235, 12566.15169998280 },
    { 0.00001020487, 4.63746718598, 6283.07584999140 },
    { 0.00000092688, 2.62218748420, 18849.22754997420 },
    { 0.00000013680, 1.80736896884, 6286.59896834040 },
    { 0.00000013668, 1.70191859339, 6279.55273164240 },
    { 0.00000008190, 2.84848380902, 6256.77753019160 },
    { 0.00000008145, 0.65845469208, 6309.37416979120 },
    { 0.00000008004, 4.35208516133, 6127.65545055720 },
    { 0.00000007754, 5.43893832496, 6438.49624942560 },
    { 0.00000008900, 3.80944637329, 83996.84731811189 },
    { 0.00000004754, 4.59631649528, 709.93304855830 },
    { 0.00000003730, 0.91975073803, 5507.55323866740 },
    // Originally 202 terms, 13 terms retained, 189 terms dropped.

    // Earth Y, T**3
    { 0.00000128116, 3.14159265359, 0.00000000000 },
    { 0.00000072366, 1.32019314413, 12566.15169998280 },
    { 0.00000013847, 5.37444701633, 6283.07584999140 },
    { 0.00000005044, 0.96001931081, 18849.22754997420 },
    { 0.00000001481, 0.66592602555, 6438.49624942560 },
    { 0.00000001481, 2.84101489351, 6127.65545055720 },
    // Originally 17 terms, 6 terms retained, 11 terms dropped.

    // Earth Y, T**4
    { 0.00000004187, 3.14159265359, 0.00000000000 },
    { 0.00000001931, 5.89883838000, 12566.15169998280 },
    { 0.00000000595, 0.51679590840, 6283.07584999140 },
    { 0.00000000229, 5.59311519226, 18849.22754997420 },
    // Originally 15 terms, 4 terms retained, 11 terms dropped.

    // Earth Y, T**5
    { 0.00000000072, 0.00000000000, 0.00000000000 },
    // Originally 6 terms, 1 terms retained, 5 terms dropped.

    // Earth Z, T**0
    { 0.00000279620, 3.19870156017, 84334.66158130829 },
    { 0.00000101625, 5.42248110597, 5507.55323866740 },
    { 0.00000080461, 3.88027157914, 5223.69391980220 },
    // Originally 178 terms, 3 terms retained, 175 terms dropped.

    // Earth Z, T**1
    { 0.00227822442, 3.41372504278, 6283.07584999140 },
    { 0.00005429282, 0.00000000000, 0.00000000000 },
    { 0.00001903183, 3.37061270964, 12566.15169998280 },
    { 0.00000023859, 3.32836261978, 18849.22754997420 },
    // Originally 120 terms, 4 terms retained, 116 terms dropped.

    // Earth Z, T**2
    { 0.00009721989, 5.15233725915, 6283.07584999140 },
    { 0.00000349501, 3.14159265359, 0.00000000000 },
    { 0.00000067136, 0.64403888586, 12566.15169998280 },
    // Originally 53 terms, 3 terms retained, 50 terms dropped.

    // Earth Z, T**3
    { 0.00000276077, 0.59413258730, 6283.07584999140 },
    { 0.00000025551, 3.14159265359, 0.00000000000 },
    { 0.00000001810, 0.11612262117, 12566.15169998280 },
    // Originally 12 terms, 3 terms retained, 9 terms dropped.

    // Earth Z, T**4
    { 0.00000005751, 2.27069090892, 6283.07584999140 },
    { 0.00000001305, 0.00000000000, 0.00000000000 },
    // Originally 6 terms, 2 terms retained, 4 terms dropped.

    // Earth Z, T**5
    { 0.00000000114, 4.31169156923, 6283.07584999140 }
    // Originally 2 terms, 1 terms retained, 1 terms dropped.

  }; // end data[][]

} // end class DataVSOP87A_JEphem_Earth