libTheSky
Routines to compute sky positions of Sun, Moon, planets and more
Loading...
Searching...
No Matches
Modules | Functions/Subroutines
functions.f90 File Reference

(libTheSky version 0.4.2, revision 264, hash 4e52568, 2023-12-04)

Contains general functions for libTheSky. More...

Go to the source code of this file.

Modules

module  thesky_functions
 Assorted procedures.
 

Functions/Subroutines

subroutine thesky_functions::set_thesky_location (lat0, lon0, height, tz0, dsttp)
 Set a location, using the variables in TheSky_local.
 
integer function thesky_functions::const_id (jd, ra, dec)
 Identify the constellation a,d lies in.
 
real(double) function thesky_functions::plsep (jd0, p1, p2)
 Calculates the angular separation between two planets.
 
real(double) function thesky_functions::plpa (jd0, p1, p2)
 Calculates the position angle of planet 2 with respect to planet 1, COUNTERCLOCKWISE from the north.
 
subroutine thesky_functions::conabr2conid (myconabr, myconid)
 Convert a three-letter constellation abbreviation to a constellation ID number.
 
character function, dimension(99) thesky_functions::fillfloat (x, tot, dgt)
 Print a floating-point number with leading zeroes in format (0...0)Ftot.dgt to a string.
 
character function, dimension(11) thesky_functions::ds (d)
 Print planet distance in AU as a nice string, but use km for the Moon.
 
character function, dimension(9) thesky_functions::ds1 (d)
 Print planet distance in AU as a nice string, but use km for the Moon - smaller string.
 

Detailed Description

Contains general functions for libTheSky.

Definition in file functions.f90.