![]() |
libTheSky
Routines to compute sky positions of Sun, Moon, planets and more
|
Modules used by libTheSky. More...
Go to the source code of this file.
Modules | |
module | thesky_constants |
Constants used in libTheSky. | |
module | thesky_local |
Local parameters for libTheSky: location, date, time. | |
module | thesky_planetdata |
Planet data, needed to compute planet positions. | |
module | thesky_moondata |
ELP 2000-82B Moon data, needed to compute Moon positions. | |
module | thesky_cometdata |
Data to compute comet positions. | |
module | thesky_stardata |
Star and basic constellation data. | |
module | thesky_bscdata |
Data from the Bright Star Catalogue (BSC) | |
Variables | |
integer, parameter | thesky_constants::deltat_nmax = 1000 |
Maximum number of Delta-T measurements. Need ~430 until 2000. | |
real(double), dimension(deltat_nmax) | thesky_constants::deltat_values |
Values of DeltaT. | |
real(double), dimension(deltat_nmax) | thesky_constants::deltat_years |
Years for DeltaT values. | |
real(double) | thesky_constants::deltat_accel |
Acceleration for DeltaT parabola. | |
real(double) | thesky_constants::deltat_change |
Change for DeltaT parabola. | |
real(double) | thesky_constants::deltat_0 |
Zero point for DeltaT parabola. | |
real(double) | thesky_constants::deltat_forced |
Forced value for DeltaT, overriding computation. | |
real(double) | thesky_constants::jd1820 |
JD of 1820.0, for DeltaT. | |
integer | thesky_constants::deltat_n |
Actual number of DeltaT measurements. | |
integer | thesky_constants::deltat_minyr |
Start year of DeltaT measurements. | |
integer | thesky_constants::deltat_maxyr |
End year of DeltaT measurements. | |
integer | thesky_constants::thesky_verbosity |
Verbosity of libTheSky output. | |
real(double), dimension(9, 63) | thesky_constants::nutationdat |
Data for simple nutation function. | |
character, dimension(99) | thesky_constants::theskydatadir |
Directory containing data files for libTheSky. | |
character, dimension(99) | thesky_constants::library_name |
Name of this library. | |
integer, parameter | thesky_local::maxlocs = 100 |
Maximum number of observation locations. | |
real(double) | thesky_local::lat0 |
Latitude of the observer (rad) | |
real(double) | thesky_local::lon0 |
Longitude of the observer (rad) | |
real(double) | thesky_local::height |
Altitude of the observer above sea level (m) | |
real(double) | thesky_local::deltat |
Current value of DeltaT (s) | |
real(double) | thesky_local::tz |
Current value of time zone, taking into account DST (hours; >0 is east of Greenwich) | |
real(double) | thesky_local::tz0 |
Standard value of time zone, without DST ("winter time"; hours; >0 is east of Greenwich) | |
real(double) | thesky_local::second |
Seconds of time of current instant. | |
real(double) | thesky_local::day |
Day of month of current instant, with decimals if desired. | |
integer | thesky_local::year |
Year CE of current instant. | |
integer | thesky_local::month |
Month of year of current instant. | |
integer | thesky_local::hour |
Hour of time of current instant. | |
integer | thesky_local::minute |
Minute of time of current instant. | |
integer | thesky_local::dsttp |
DST type for current location (0: none, 1: EU, 2: USA+Canada (after 2007) | |
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. | |
integer, dimension(8, 60) | thesky_planetdata::moonla_arg |
Arguments for the low-accuracy (la) Moon position. | |
integer(long), dimension(3, 60) | thesky_planetdata::moonla_lrb |
L,B,R data for the low-accuracy (la) Moon position. | |
integer, dimension(43, 3) | thesky_planetdata::pluc |
Constants for the periodic terms for the position of Pluto. | |
integer, dimension(43, 2) | thesky_planetdata::plul |
Constants for the longitude of Pluto. | |
integer, dimension(43, 2) | thesky_planetdata::plub |
Constants for the latitude of Pluto. | |
integer, dimension(43, 2) | thesky_planetdata::plur |
Constants for the distance of Pluto. | |
integer | thesky_planetdata::pl0 |
Remember a special planet. | |
integer, dimension(3, 8) | thesky_planetdata::vsopnls |
Numbers of lines in the VSOP input files (l,b,r x 8 pl) | |
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. | |
real(double), dimension(4, 6827, 10) | thesky_planetdata::vsopdat |
Periodic terms for VSOP87. | |
real(double), dimension(3, 8) | thesky_planetdata::vsoptruncs |
Truncuate VSOP87 terms at these accuracies. | |
real(double), dimension(8, 6) | thesky_planetdata::plelems |
Planet orbital elements for Equation of Data. | |
real(double), dimension(8, 6) | thesky_planetdata::plelems2000 |
Planet orbital elements for J2000. | |
real(double), dimension(2, 8, 6, 0:3) | thesky_planetdata::plelemdata |
Data to compute planet orbital elements. | |
real(double), dimension(nasteroids, 9) | thesky_planetdata::asterelems |
Asteroid orbital elements. | |
character, dimension(18) | thesky_planetdata::asternames |
Names of the asteroids. | |
integer, parameter | thesky_planetdata::nplanpos =100 |
Number of entries in the planpos array. | |
real(double), dimension(nplanpos) | thesky_planetdata::planpos |
Planpos[] is an array with many different types of coordinates and related variables: | |
character, dimension(3) | thesky_planetdata::plcon |
Constellation abbreviation for the planets (0-9) and bright stars. | |
real(double), parameter | thesky_moondata::c1 =1.d0/60.d0 |
Constant for ELP 2000-82B theory (arcminutes to degrees) | |
real(double), parameter | thesky_moondata::c2 =1.d0/3600.d0 |
Constant for ELP 2000-82B theory (arcseconds to degrees) | |
real(double), parameter | thesky_moondata::ath =384747.9806743165d0 |
Constant for ELP 2000-82B theory (orbital separation?) | |
real(double), parameter | thesky_moondata::a0 =384747.9806448954d0 |
Constant for ELP 2000-82B theory (orbital separation?) | |
real(double) | thesky_moondata::p1 |
Precession sine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::p2 |
Precession sine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::p3 |
Precession sine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::p4 |
Precession sine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::p5 |
Precession sine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::q1 |
Precession cosine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::q2 |
Precession cosine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::q3 |
Precession cosine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::q4 |
Precession cosine coefficient for ELP 2000-82B theory. | |
real(double) | thesky_moondata::q5 |
Precession cosine coefficient for ELP 2000-82B theory. | |
real(double), dimension(3, 0:4) | thesky_moondata::w |
Constants for mean longitude. | |
real(double), dimension(0:4) | thesky_moondata::eart |
Earth-Moon barycentre (EMB) elements. | |
real(double), dimension(0:4) | thesky_moondata::peri |
Mean longitude of the perihelion of the Earth-Moon barycentre (EMB) | |
real(double), dimension(8, 0:1) | thesky_moondata::p |
Planetary arguments: mean longitudes and mean motions. | |
real(double), dimension(4, 0:4) | thesky_moondata::del |
Delaunay's variables (https://en.wikipedia.org/wiki/Orbital_elements#Delaunay_variables) | |
real(double), dimension(0:1) | thesky_moondata::zeta |
Mean longitude (w) + rate precession (?) | |
real(double), dimension(0:4) | thesky_moondata::t |
Array for time^0, ..., time^4. | |
real(double), dimension(3) | thesky_moondata::pre |
CHECK: does this actually do anything? | |
real(double), dimension(7) | thesky_moondata::coef |
CHECK: Coefficients in ELP 2000-82B data file (float) | |
real(double), dimension(6) | thesky_moondata::zone |
CHECK: Something in ELP 2000-82B theory. | |
real(double), dimension(6, 1023) | thesky_moondata::pc1 |
CHECK: Something in ELP 2000-82B theory. | |
real(double), dimension(6, 918) | thesky_moondata::pc2 |
CHECK: Something in ELP 2000-82B theory. | |
real(double), dimension(6, 704) | thesky_moondata::pc3 |
CHECK: Something in ELP 2000-82B theory. | |
real(double), dimension(3, 19537) | thesky_moondata::per1 |
CHECK: Something in ELP 2000-82B theory. | |
real(double), dimension(3, 6766) | thesky_moondata::per2 |
CHECK: Something in ELP 2000-82B theory. | |
real(double), dimension(3, 8924) | thesky_moondata::per3 |
CHECK: Something in ELP 2000-82B theory. | |
integer, dimension(4) | thesky_moondata::ilu |
CHECK: Coefficients in ELP 2000-82B data file (integer) | |
integer, dimension(11) | thesky_moondata::ipla |
CHECK: Coefficients in ELP 2000-82B data file (integer) | |
integer, dimension(3, 12) | thesky_moondata::nterm |
CHECK: Number of terms? in ELP 2000-82B data file. | |
integer, dimension(3, 0:12) | thesky_moondata::nrang |
CHECK: Number of terms? in ELP 2000-82B data file. | |
real(double) | thesky_moondata::prec0 |
CHECK: Something in ELP 2000-82B theory. | |
integer | thesky_moondata::ideb |
Memorise whether this routine has been run before. | |
real(double), dimension(3, 0:4) | thesky_elp_mpp02_constants::w |
Constants for mean longitude. | |
real(double), dimension(0:4) | thesky_elp_mpp02_constants::eart |
Earth-Moon barycentre (EMB) elements. | |
real(double), dimension(0:4) | thesky_elp_mpp02_constants::peri |
Mean longitude of the perihelion of the Earth-Moon barycentre (EMB) | |
real(double), dimension(0:4) | thesky_elp_mpp02_constants::zeta |
Mean longitude (w) + rate precession (?) | |
real(double), dimension(4, 0:4) | thesky_elp_mpp02_constants::del |
Delaunay's variables (https://en.wikipedia.org/wiki/Orbital_elements#Delaunay_variables) | |
real(double), dimension(8, 0:4) | thesky_elp_mpp02_constants::p |
Planetary arguments: mean longitudes, mean motions, ...? | |
real(double) | thesky_elp_mpp02_constants::delnu |
Corrections of the constants (fit to DE200/LE200) (?) | |
real(double) | thesky_elp_mpp02_constants::dele |
Corrections of the constants (fit to DE200/LE200) (?) | |
real(double) | thesky_elp_mpp02_constants::delg |
Corrections of the constants (fit to DE200/LE200) (?) | |
real(double) | thesky_elp_mpp02_constants::delnp |
Corrections of the constants (fit to DE200/LE200) (?) | |
real(double) | thesky_elp_mpp02_constants::delep |
Corrections of the constants (fit to DE200/LE200) (?) | |
real(double) | thesky_elp_mpp02_constants::am |
Ratio of the mean motions (EMB / Moon) | |
real(double) | thesky_elp_mpp02_constants::dtasm |
2/3 of product of (ratio of the semi-major axes) x (ratio of the mean motions) (Moon / EMB) ??? | |
real(double) | thesky_elp_mpp02_constants::p1 |
Precession sine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::p2 |
Precession sine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::p3 |
Precession sine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::p4 |
Precession sine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::p5 |
Precession sine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::q1 |
Precession cosine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::q2 |
Precession cosine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::q3 |
Precession cosine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::q4 |
Precession cosine coefficient for ELP MPP02 theory. | |
real(double) | thesky_elp_mpp02_constants::q5 |
Precession cosine coefficient for ELP MPP02 theory. | |
integer, dimension(3, 3) | thesky_elp_mpp02_series::nmpb |
Number of lines in the file for the main problem. | |
integer, dimension(3, 0:3, 3) | thesky_elp_mpp02_series::nper |
Number of lines in the file for the perturbation. | |
real(double), dimension(max1) | thesky_elp_mpp02_series::cmpb |
Coefficients? for the main problem. | |
real(double), dimension(0:4, max1) | thesky_elp_mpp02_series::fmpb |
Factors? for the main problem. | |
real(double), dimension(max2) | thesky_elp_mpp02_series::cper |
Coefficients? for the perturbation series. | |
real(double), dimension(0:4, max2) | thesky_elp_mpp02_series::fper |
Factors? for the perturbation series. | |
integer, parameter | thesky_cometdata::ncometsmax =10000 |
Size of comet database. | |
integer | thesky_cometdata::ncomets |
Actual number of comets in database. | |
integer | thesky_cometdata::cometdatfile |
Data file to use 1: comets.dat (MANY comets, no magnitude info), 2: comets_mpc.dat (currently visible comets + magn. info) | |
logical, dimension(ncometsmax) | thesky_cometdata::cometdiedatp |
This comet died at perihelion (true/false) | |
real(double), dimension(ncometsmax, 9) | thesky_cometdata::cometelems |
Orbital elements of the comets: 1: JD of epoch (often J2000), 2: Perihelion distance (AU?), 3: Eccentricity, 4: Inclination, 5: Argument of perihelion (omega), 6: Longitude of ascending node (OMEGA) i, 7: JD of perihelion. | |
real(double) | thesky_cometdata::comepoche |
JD of epoch (often J2000) == cometelems(i,1) | |
character, dimension(60) | thesky_cometdata::cometnames |
Names of the comets. | |
integer, parameter | thesky_stardata::nstars =17 |
Number of bright stars close to the ecliptic (including Pleiades) | |
real(double), dimension(nstars) | thesky_stardata::starra |
Right ascensions of the bright, ecliptical stars. | |
real(double), dimension(nstars) | thesky_stardata::stardec |
Declinations of the bright, ecliptical stars. | |
real(double), dimension(nstars) | thesky_stardata::starl |
Ecliptic longitudes of the bright, ecliptical stars. | |
real(double), dimension(nstars) | thesky_stardata::starb |
Ecliptic latitudes of the bright, ecliptical stars. | |
real, dimension(nstars) | thesky_stardata::starmags |
Magnitudes of the bright, ecliptical stars. | |
real, dimension(nstars) | thesky_stardata::starrads |
Radii of the bright, ecliptical stars (only non-zero for Pleiades) | |
character, dimension(10) | thesky_stardata::starnames |
English names of the bright, ecliptical stars. | |
character, dimension(11) | thesky_stardata::starnamesnl |
Dutch names of the bright, ecliptical stars. | |
character, dimension(10) | thesky_stardata::starcons |
Latin/English constellation names for the bright, ecliptical stars. | |
character, dimension(10) | thesky_stardata::starconsnl |
Dutch constellation names for the bright, ecliptical stars. | |
character, dimension(3) | thesky_stardata::starconsabr |
Constellation abbreviations for the bright, ecliptical stars. | |
integer, parameter | thesky_stardata::nconstel =88 |
Number of constellations. | |
integer, parameter | thesky_stardata::nconid =357 |
Number of data points for constellation ID. | |
integer, dimension(nconid) | thesky_stardata::conid |
Constellation ID. | |
real(double), dimension(nconid) | thesky_stardata::conidral |
Constellation lower RA boundary for ID. | |
real(double), dimension(nconid) | thesky_stardata::conidrau |
Constellation uppwer RA boundary for ID. | |
real(double), dimension(nconid) | thesky_stardata::coniddecl |
Constellation lower declination boundary for ID. | |
character, dimension(3) | thesky_stardata::conabr |
Abbreviations of the constellations. | |
character, dimension(3) | thesky_stardata::conidabr |
Abbreviations of the constellation IDs. | |
character, dimension(19) | thesky_stardata::latconnames |
Latin constellation names. | |
character, dimension(19) | thesky_stardata::genconnames |
Genitives of the Latin constellation names. | |
character, dimension(17) | thesky_stardata::nlconnames |
Dutch constellation names. | |
character, dimension(18) | thesky_stardata::enconnames |
English constellation names. | |
integer, parameter | thesky_bscdata::n_bsc =9110 |
Size of the Bright Star Catalogue (BSC) | |
integer, dimension(n_bsc) | thesky_bscdata::bsc_sao |
SAO numbers of the BSC stars. | |
integer, dimension(n_bsc) | thesky_bscdata::bsc_vm_indx |
Index array for sorting to visual magnitude. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_ra |
Right ascensions of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_dec |
Declinations of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_pma |
Proper motions in RA of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_pmd |
Proper motions in declination of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_rv |
Radial velocities of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_vm |
Visual magnitudes of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_par |
Parallaxes of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_bv |
B-V colours of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_ub |
U-B colours of the BSC stars. | |
real(double), dimension(n_bsc) | thesky_bscdata::bsc_ri |
R-I colours of the BSC stars. | |
character, dimension(10) | thesky_bscdata::bsc_name |
Proper names of the BSC stars. | |
character, dimension(10) | thesky_bscdata::bsc_abbr |
Abbreviated names/codes for the BSC stars. | |
character, dimension(n_bsc) | thesky_bscdata::bsc_mult |
Multiplicity codes for the BSC stars. | |
character, dimension(n_bsc) | thesky_bscdata::bsc_var |
Variability codes for the BSC stars. | |
character, dimension(20) | thesky_bscdata::bsc_sptype |
Spectral types of the BSC stars. | |
Modules used by libTheSky.
Definition in file modules.f90.
real(double) thesky_elp_mpp02_constants::am |
Ratio of the mean motions (EMB / Moon)
Definition at line 279 of file modules.f90.
real(double), dimension(max1) thesky_elp_mpp02_series::cmpb |
Coefficients? for the main problem.
Definition at line 310 of file modules.f90.
real(double), dimension(max2) thesky_elp_mpp02_series::cper |
Coefficients? for the perturbation series.
Definition at line 312 of file modules.f90.
real(double), dimension(4,0:4) thesky_elp_mpp02_constants::del |
Delaunay's variables (https://en.wikipedia.org/wiki/Orbital_elements#Delaunay_variables)
Definition at line 269 of file modules.f90.
real(double) thesky_elp_mpp02_constants::dele |
Corrections of the constants (fit to DE200/LE200) (?)
Definition at line 274 of file modules.f90.
real(double) thesky_elp_mpp02_constants::delep |
Corrections of the constants (fit to DE200/LE200) (?)
Definition at line 277 of file modules.f90.
real(double) thesky_elp_mpp02_constants::delg |
Corrections of the constants (fit to DE200/LE200) (?)
Definition at line 275 of file modules.f90.
real(double) thesky_elp_mpp02_constants::delnp |
Corrections of the constants (fit to DE200/LE200) (?)
Definition at line 276 of file modules.f90.
real(double) thesky_elp_mpp02_constants::delnu |
Corrections of the constants (fit to DE200/LE200) (?)
Definition at line 273 of file modules.f90.
real(double) thesky_elp_mpp02_constants::dtasm |
2/3 of product of (ratio of the semi-major axes) x (ratio of the mean motions) (Moon / EMB) ???
Definition at line 280 of file modules.f90.
real(double), dimension(0:4) thesky_elp_mpp02_constants::eart |
Earth-Moon barycentre (EMB) elements.
Definition at line 266 of file modules.f90.
real(double), dimension(0:4,max1) thesky_elp_mpp02_series::fmpb |
Factors? for the main problem.
Definition at line 311 of file modules.f90.
real(double), dimension(0:4,max2) thesky_elp_mpp02_series::fper |
Factors? for the perturbation series.
Definition at line 313 of file modules.f90.
integer, dimension(3,3) thesky_elp_mpp02_series::nmpb |
Number of lines in the file for the main problem.
Definition at line 307 of file modules.f90.
integer, dimension(3,0:3,3) thesky_elp_mpp02_series::nper |
Number of lines in the file for the perturbation.
Definition at line 308 of file modules.f90.
real(double), dimension(8,0:4) thesky_elp_mpp02_constants::p |
Planetary arguments: mean longitudes, mean motions, ...?
Definition at line 271 of file modules.f90.
real(double) thesky_elp_mpp02_constants::p1 |
Precession sine coefficient for ELP MPP02 theory.
Definition at line 282 of file modules.f90.
real(double) thesky_elp_mpp02_constants::p2 |
Precession sine coefficient for ELP MPP02 theory.
Definition at line 283 of file modules.f90.
real(double) thesky_elp_mpp02_constants::p3 |
Precession sine coefficient for ELP MPP02 theory.
Definition at line 284 of file modules.f90.
real(double) thesky_elp_mpp02_constants::p4 |
Precession sine coefficient for ELP MPP02 theory.
Definition at line 285 of file modules.f90.
real(double) thesky_elp_mpp02_constants::p5 |
Precession sine coefficient for ELP MPP02 theory.
Definition at line 286 of file modules.f90.
real(double), dimension(0:4) thesky_elp_mpp02_constants::peri |
Mean longitude of the perihelion of the Earth-Moon barycentre (EMB)
Definition at line 267 of file modules.f90.
real(double) thesky_elp_mpp02_constants::q1 |
Precession cosine coefficient for ELP MPP02 theory.
Definition at line 288 of file modules.f90.
real(double) thesky_elp_mpp02_constants::q2 |
Precession cosine coefficient for ELP MPP02 theory.
Definition at line 289 of file modules.f90.
real(double) thesky_elp_mpp02_constants::q3 |
Precession cosine coefficient for ELP MPP02 theory.
Definition at line 290 of file modules.f90.
real(double) thesky_elp_mpp02_constants::q4 |
Precession cosine coefficient for ELP MPP02 theory.
Definition at line 291 of file modules.f90.
real(double) thesky_elp_mpp02_constants::q5 |
Precession cosine coefficient for ELP MPP02 theory.
Definition at line 292 of file modules.f90.
real(double), dimension(3,0:4) thesky_elp_mpp02_constants::w |
Constants for mean longitude.
Definition at line 265 of file modules.f90.
real(double), dimension(0:4) thesky_elp_mpp02_constants::zeta |
Mean longitude (w) + rate precession (?)
Definition at line 268 of file modules.f90.