libTheSky
Routines to compute sky positions of Sun, Moon, planets and more
All Namespaces Files Functions Variables Pages
thesky_planetdata Module Reference

Planet data, needed to compute planet positions. More...

Variables

integer, parameter nasteroids =1000
 Number of entries in the asteroids array. Nasteroids is actually much larger; look at the first Nasteroids asteroids only.
 
integer, dimension(8, 60) moonla_arg
 Arguments for the low-accuracy (la) Moon position.
 
integer(long), dimension(3, 60) moonla_lrb
 L,B,R data for the low-accuracy (la) Moon position.
 
integer, dimension(43, 3) pluc
 Constants for the periodic terms for the position of Pluto.
 
integer, dimension(43, 2) plul
 Constants for the longitude of Pluto.
 
integer, dimension(43, 2) plub
 Constants for the latitude of Pluto.
 
integer, dimension(43, 2) plur
 Constants for the distance of Pluto.
 
integer pl0
 Remember a special planet.
 
integer, dimension(3, 8) vsopnls
 Numbers of lines in the VSOP input files (l,b,r x 8 pl)
 
integer, dimension(0:5, 3, 8) vsopnblk
 Line number in the VSOP data where the next block of (Planet, Variable (LBR), Power) starts.
 
real(double), dimension(4, 6827, 10) vsopdat
 Periodic terms for VSOP87.
 
real(double), dimension(3, 8) vsoptruncs
 Truncuate VSOP87 terms at these accuracies.
 
real(double), dimension(8, 6) plelems
 Planet orbital elements for Equation of Data.
 
real(double), dimension(8, 6) plelems2000
 Planet orbital elements for J2000.
 
real(double), dimension(2, 8, 6, 0:3) plelemdata
 Data to compute planet orbital elements.
 
real(double), dimension(nasteroids, 9) asterelems
 Asteroid orbital elements.
 
character, dimension(18) asternames
 Names of the asteroids.
 
integer, parameter nplanpos =100
 Number of entries in the planpos array.
 
real(double), dimension(nplanposplanpos
 Planpos[] is an array with many different types of coordinates and related variables:
 
character, dimension(3) plcon
 Constellation abbreviation for the planets (0-9) and bright stars.
 

Detailed Description

Planet data, needed to compute planet positions.

Variable Documentation

◆ asterelems

real(double), dimension(nasteroids,9) thesky_planetdata::asterelems

Asteroid orbital elements.

Definition at line 113 of file modules.f90.

Referenced by thesky_asteroids::asteroid_elements(), thesky_asteroids::asteroid_magn(), and thesky_data::readasteroidelements().

◆ asternames

character, dimension(18) thesky_planetdata::asternames

Names of the asteroids.

Definition at line 114 of file modules.f90.

Referenced by thesky_data::readasteroidelements().

◆ moonla_arg

integer, dimension(8,60) thesky_planetdata::moonla_arg

Arguments for the low-accuracy (la) Moon position.

Definition at line 93 of file modules.f90.

Referenced by thesky_moon::moonpos_la(), and thesky_data::readmoondata_la().

◆ moonla_lrb

integer(long), dimension(3,60) thesky_planetdata::moonla_lrb

L,B,R data for the low-accuracy (la) Moon position.

Definition at line 94 of file modules.f90.

Referenced by thesky_moon::moonpos_la(), and thesky_data::readmoondata_la().

◆ nasteroids

integer, parameter thesky_planetdata::nasteroids =1000

Number of entries in the asteroids array. Nasteroids is actually much larger; look at the first Nasteroids asteroids only.

Definition at line 91 of file modules.f90.

Referenced by thesky_data::readasteroidelements().

◆ nplanpos

integer, parameter thesky_planetdata::nplanpos =100

◆ pl0

integer thesky_planetdata::pl0

◆ planpos

real(double), dimension(nplanpos) thesky_planetdata::planpos

Planpos[] is an array with many different types of coordinates and related variables:

Geocentric (mostly) coordinates:

  • 1 = gcl = Apparent geocentric ecliptic longitude
  • 2 = gcb = Apparent geocentric ecliptic latitude
  • 3 = r = True heliocentric distance
  • 4 = delta = Apparent geocentric distance
  • 5 = ra = Apparent geocentric R.A.
  • 6 = dec = Apparent geocentric declination
  • 7 = tau = Geocentric light time in days
  • 8 = hh = Apparent geocentric hour angle
  • 9 = az = Apparent geocentric azimuth
  • 10 = alt = Apparent geocentric altitude
  • 11 = elon = Apparent TOPOCENTRIC elongation, using topocentric altitude and correcting for refraction
  • 12 = diam = Apparent geocentric apparent diameter

Magnitude, phase, parallax:

  • 13 = magn = Apparent visual magnitude
  • 14 = k = Illuminated fraction
  • 15 = pa = Phase angle
  • 16 = parang = Topocentric parallactic angle
  • 17 = hp = Horizontal parallax

Topocentric (mostly) coordinates:

  • 21 = topl = Apparent topocentric ecliptic longitude
  • 22 = topb = Apparent topocentric ecliptic latitude
  • 23 = delta0 = True geocentric distance
  • 24 = topdelta = Apparent topocentric distance
  • 25 = topra = Apparent topocentric R.A.
  • 26 = topdec = Apparent topocentric declination
  • 28 = tophh = Apparent topocentric hour angle
  • 29 = topaz = Apparent topocentric azimuth
  • 30 = topalt = Apparent topocentric altitude
  • 31 = topalt + refract = Apparent topocentric altitude, corrected for refraction
  • 32 = topdiam = Apparent topocentric apparent diameter

Heliocentric coordinates:

  • 33 = l = Apparent heliocentric ecliptic longitude
  • 34 = b = Apparent heliocentric ecliptic latitude
  • 35 = r = Apparent heliocentric distance
  • 36 = hcl00 = True heliocentric ecliptic longitude, FK5
  • 37 = hcb00 = True heliocentric ecliptic latitude, FK5
  • 38 = hcr00 = True heliocentric distance

Other variables:

  • 39 = pl = Planet for which data were computed
  • 40 = jde = JDE for the instance of calculation
  • 41 = l0+pi = True geocentric ecliptic longitude for the Sun, in FK5
  • 42 = -b0 = True geocentric ecliptic latitude for the Sun, in FK5
  • 43 = r0 = True geocentric distance for the Sun
  • 44 = lst = Local APPARENT siderial time (radians)
  • 45 = agst = Greenwich APPARENT siderial time (radians)
  • 46 = t0 * 10.d0 = Apparent dynamical time in Julian Centuries since 2000.0
  • 47 = dpsi = Nutation in longitude
  • 48 = eps = True obliquity of the ecliptic, corrected for nutation
  • 49 = gmst = Greenwich MEAN siderial time (radians)
  • 50 = eps0 = Mean obliquity of the ecliptic, without nutation

More geocentric coordinates:

  • 51 = sun_gcl,b = Apparent geocentric longitude of the Sun (variable was treated as if pl.eq.3)
  • 52 = sun_gcl,b = Apparent geocentric latitude of the Sun (variable was treated as if pl.eq.3)
  • 61 = gcx = Apparent geocentric x
  • 62 = gcy = Apparent geocentric y
  • 63 = gcz = Apparent geocentric z
  • 64 = gcx0 = True geocentric x
  • 65 = gcy0 = True geocentric y
  • 66 = gcz0 = True geocentric z
  • 67 = gcl0 = True geocentric ecliptic longitude
  • 68 = gcb0 = True geocentric ecliptic latitude
  • 69 = delta0 = True geocentric distance

Definition at line 192 of file modules.f90.

Referenced by thesky_riset::best_obs_date(), thesky_visibility::best_planet_visibility(), thesky_visibility::comet_invisible(), thesky_visibility::get_dra_obj(), thesky_planets::jupiterphys(), thesky_visibility::limmag_jd(), thesky_visibility::limmag_jd_pl(), thesky_moonroutines::moonphys(), thesky_moon::moonpos_la(), thesky_visibility::pl_xsmag(), thesky_visibility::pl_xsmag_la(), thesky_planets::planet_position(), thesky_planets::planet_position_la(), thesky_functions::plpa(), thesky_functions::plsep(), thesky_riset::riset(), thesky_riset::riset_ad(), thesky_riset::riset_ipol(), thesky_planets::saturnphys(), and thesky_sun::sunpos_la().

◆ plcon

character, dimension(3) thesky_planetdata::plcon

Constellation abbreviation for the planets (0-9) and bright stars.

Definition at line 193 of file modules.f90.

◆ plelemdata

real(double), dimension(2,8,6,0:3) thesky_planetdata::plelemdata

Data to compute planet orbital elements.

Definition at line 111 of file modules.f90.

Referenced by thesky_planets::planetelements(), and thesky_data::readplanetelements().

◆ plelems

real(double), dimension(8,6) thesky_planetdata::plelems

Planet orbital elements for Equation of Data.

Definition at line 109 of file modules.f90.

Referenced by thesky_planets::planetelements(), and thesky_planets::saturnphys().

◆ plelems2000

real(double), dimension(8,6) thesky_planetdata::plelems2000

Planet orbital elements for J2000.

Definition at line 110 of file modules.f90.

Referenced by thesky_planets::planetelements().

◆ plub

integer, dimension(43,2) thesky_planetdata::plub

Constants for the latitude of Pluto.

Definition at line 98 of file modules.f90.

Referenced by thesky_planets::plutolbr(), and thesky_data::readpluto().

◆ pluc

integer, dimension(43,3) thesky_planetdata::pluc

Constants for the periodic terms for the position of Pluto.

Definition at line 96 of file modules.f90.

Referenced by thesky_planets::plutolbr(), and thesky_data::readpluto().

◆ plul

integer, dimension(43,2) thesky_planetdata::plul

Constants for the longitude of Pluto.

Definition at line 97 of file modules.f90.

Referenced by thesky_planets::plutolbr(), and thesky_data::readpluto().

◆ plur

integer, dimension(43,2) thesky_planetdata::plur

Constants for the distance of Pluto.

Definition at line 99 of file modules.f90.

Referenced by thesky_planets::plutolbr(), and thesky_data::readpluto().

◆ vsopdat

real(double), dimension(4,6827,10) thesky_planetdata::vsopdat

Periodic terms for VSOP87.

Definition at line 106 of file modules.f90.

Referenced by thesky_data::readplanetdata(), and thesky_vsop::vsop87d_lbr().

◆ vsopnblk

integer, dimension(0:5,3,8) thesky_planetdata::vsopnblk

Line number in the VSOP data where the next block of (Planet, Variable (LBR), Power) starts.

Definition at line 104 of file modules.f90.

Referenced by thesky_data::readplanetdata(), and thesky_vsop::vsop87d_lbr().

◆ vsopnls

integer, dimension(3,8) thesky_planetdata::vsopnls

Numbers of lines in the VSOP input files (l,b,r x 8 pl)

Definition at line 103 of file modules.f90.

Referenced by thesky_data::readplanetdata(), and thesky_vsop::vsop87d_lbr().

◆ vsoptruncs

real(double), dimension(3,8) thesky_planetdata::vsoptruncs

Truncuate VSOP87 terms at these accuracies.

Definition at line 107 of file modules.f90.

Referenced by thesky_data::readplanetdata().