67 real,
parameter,
public ::
rpi = real(
pi)
68 real,
parameter,
public ::
rpi2 = real(
pi2)
70 real,
parameter,
public ::
rr2d = real(
r2d)
71 real,
parameter,
public ::
rd2r = real(
d2r)
72 real,
parameter,
public ::
rr2h = real(
r2h)
73 real,
parameter,
public ::
rh2r = real(
h2r)
74 real,
parameter,
public ::
rh2d = real(
h2d)
75 real,
parameter,
public ::
rd2h = real(
d2h)
86 real,
parameter,
public ::
rc2k = real(
c2k)
104 real(
double),
parameter,
public ::
ev = 1.6021766208d-12
141 real(
double),
parameter,
public ::
au = 1.49597870700d13
184 real(
double),
public ::
pland(0:9) = [3476.206d5, 4879.4d5, 12198.d5, 2*
rsun, 6792.4d5, 142984.d5, 120536.d5, 51118.d5, 49528.d5, 2390.d5]
191 real(
double),
parameter,
public ::
plana(0:9) = [384400.d0/
au*
km, 0.3871d0, 0.7233d0, 1.d0, 1.5237d0, 5.2028d0, 9.5388d0, 19.191d0, 30.061d0, 39.529d0]*
au
194 real(
double),
parameter,
public ::
planp(0:9) = [0.0748d0, 0.240846d0, 0.615198d0, 1.d0, 1.88082d0, 11.862d0, 29.4571d0, 84.0205d0, 164.8d0, 247.94d0]
215 character,
public ::
enpname(-1:19)*(7) = [character(len=7) ::
'Antisol',
'Moon',
'Mercury',
'Venus',
'Sun',
'Mars',
'Jupiter',
'Saturn',
'Uranus',
'Neptune',
'Pluto',
'',
'Comet',
'',
'',
'',
'',
'',
'',
'',
'']
217 character,
public ::
enpnames(-1:19)*(7) = [character(len=7) ::
'antisol',
'moon',
'mercury',
'venus',
'sun',
'mars',
'jupiter',
'saturn',
'uranus',
'neptune',
'pluto',
'',
'Comet',
'',
'',
'',
'',
'',
'',
'',
'']
219 character,
public ::
enpnamel(-1:19)*(8) = [character(len=8) ::
'Antisol',
'the Moon',
'Mercury',
'Venus',
'the Sun',
'Mars',
'Jupiter',
'Saturn',
'Uranus',
'Neptune',
'Pluto',
'',
'Comet',
'',
'',
'',
'',
'',
'',
'',
'']
221 character,
public ::
enpnamelb(-1:19)*(8) = [character(len=8) ::
'Antisol',
'The Moon',
'Mercury',
'Venus',
'The Sun',
'Mars',
'Jupiter',
'Saturn',
'Uranus',
'Neptune',
'Pluto',
'',
'Comet',
'',
'',
'',
'',
'',
'',
'',
'']
223 character,
public ::
enpnamess(-1:19)*(4) = [character(len=4) ::
'A.S.',
'Moon',
'Mer.',
'Ven.',
'Sun',
'Mars',
'Jup.',
'Sat.',
'Ura.',
'Nep.',
'Plu.',
'',
'Com.',
'',
'',
'',
'',
'',
'',
'',
'']
227 character,
public ::
nlpname(-1:19)*(9) = [character(len=9) ::
'Antizon',
'Maan',
'Mercurius',
'Venus',
'Zon',
'Mars',
'Jupiter',
'Saturnus',
'Uranus',
'Neptunus',
'Pluto',
'',
'Komeet',
'',
'',
'',
'',
'',
'',
'',
'']
229 character,
public ::
nlpnames(-1:19)*(9) = [character(len=9) ::
'antizon',
'maan',
'mercurius',
'venus',
'zon',
'mars',
'jupiter',
'saturnus',
'uranus',
'neptunus',
'pluto',
'',
'komeet',
'',
'',
'',
'',
'',
'',
'',
'']
231 character,
public ::
nlpnamel(-1:19)*(9) = [character(len=9) ::
'Antizon',
'de Maan',
'Mercurius',
'Venus',
'de Zon',
'Mars',
'Jupiter',
'Saturnus',
'Uranus',
'Neptunus',
'Pluto',
'',
'Komeet',
'',
'',
'',
'',
'',
'',
'',
'']
233 character,
public ::
nlpnamelb(-1:19)*(9) = [character(len=9) ::
'Antizon',
'De Maan',
'Mercurius',
'Venus',
'De Zon',
'Mars',
'Jupiter',
'Saturnus',
'Uranus',
'Neptunus',
'Pluto',
'',
'Komeet',
'',
'',
'',
'',
'',
'',
'',
'']
235 character,
public ::
nlpnamess(-1:19)*(4) = [character(len=4) ::
'A.Z.',
'Maan',
'Mer.',
'Ven.',
'Zon',
'Mars',
'Jup.',
'Sat.',
'Ura.',
'Nep.',
'Plu.',
'',
'Kom.',
'',
'',
'',
'',
'',
'',
'',
'']
238 character,
parameter,
public ::
enphases(0:3)*(13) = [
'New Moon ',
'First Quarter',
'Full Moon ',
'Last Quarter ']
240 character,
parameter,
public ::
nlphases(0:3)*(16) = [
'Nieuwe Maan ',
'Eerste Kwartier ',
'Volle Maan ',
'Laatste Kwartier']
247 character,
parameter,
public ::
enmonths(12)*(9) = [
'January ',
'February ',
'March ',
'April ',
'May ',
'June ',
'July ',
'August ',
'September',
'October ',
'November ',
'December ']
249 character,
parameter,
public ::
enmonthsm(12)*(9) = [
'january ',
'february ',
'march ',
'april ',
'may ',
'june ',
'july ',
'august ',
'september',
'october ',
'november ',
'december ']
251 character,
parameter,
public ::
enmntsb(12)*(3) = [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec']
253 character,
parameter,
public ::
enmnts(12)*(3) = [
'jan',
'feb',
'mar',
'apr',
'may',
'jun',
'jul',
'aug',
'sep',
'oct',
'nov',
'dec']
257 character,
parameter,
public ::
nlmonths(12)*(9) = [
'januari ',
'februari ',
'maart ',
'april ',
'mei ',
'juni ',
'juli ',
'augustus ',
'september',
'oktober ',
'november ',
'december ']
259 character,
parameter,
public ::
nlmonthsb(12)*(9) = [
'Januari ',
'Februari ',
'Maart ',
'April ',
'Mei ',
'Juni ',
'Juli ',
'Augustus ',
'September',
'Oktober ',
'November ',
'December ']
261 character,
parameter,
public ::
nlmntsb(12)*(3) = [
'Jan',
'Feb',
'Mrt',
'Apr',
'Mei',
'Jun',
'Jul',
'Aug',
'Sep',
'Okt',
'Nov',
'Dec']
263 character,
parameter,
public ::
nlmnts(12)*(3) = [
'jan',
'feb',
'mrt',
'apr',
'mei',
'jun',
'jul',
'aug',
'sep',
'okt',
'nov',
'dec']
269 character,
parameter,
public ::
endays(0:6)*(9) = [
'Sunday ',
'Monday ',
'Tuesday ',
'Wednesday',
'Thursday ',
'Friday ',
'Saturday ']
271 character,
parameter,
public ::
endys(0:6)*(3) = [
'Sun',
'Mon',
'Tue',
'Wed',
'Thu',
'Fri',
'Sat']
273 character,
parameter,
public ::
ends(0:6)*(2) = [
'Su',
'Mo',
'Tu',
'We',
'Th',
'Fr',
'Sa']
277 character,
parameter,
public ::
nldays(0:6)*(9) = [
'zondag ',
'maandag ',
'dinsdag ',
'woensdag ',
'donderdag',
'vrijdag ',
'zaterdag ']
279 character,
parameter,
public ::
nldys(0:6)*(4) = [
'zon ',
'maa ',
'din ',
'woe ',
'don ',
'vrij',
'zat ']
281 character,
parameter,
public ::
nlds(0:6)*(2) = [
'zo',
'ma',
'di',
'wo',
'do',
'vr',
'za']
285 character,
parameter,
public ::
nltimezones(0:1)*(10) = [
'wintertijd',
'zomertijd ']
290 integer,
public ::
mlen(12) = [31,28,31,30,31,30,31,31,30,31,30,31]
323 character,
parameter,
public ::
tab = char(9)
325 character,
parameter,
public ::
engrchar(24)*(7) = [character(len=7) ::
'alpha',
'beta',
'gamma',
'delta',
'epsilon',
'zeta',
'eta',
'theta',
'iota',
'kappa',
'lambda', &
326 'mu',
'nu',
'xi',
'omicron',
'pi',
'rho',
'sigma',
'tau',
'upsilon',
'phi',
'chi',
'psi',
'omega']
325 character,
parameter,
public ::
engrchar(24)*(7) = [character(len=7) ::
'alpha',
'beta',
'gamma',
'delta',
'epsilon',
'zeta',
'eta',
'theta',
'iota',
'kappa',
'lambda', &
…
328 character,
parameter,
public ::
htmlgrchar(24)*(9) = [character(len=9) ::
'α',
'β',
'γ',
'δ',
'ε',
'ζ',
'η',
'θ',
'ι', &
329 'κ',
'λ',
'μ',
'ν',
'ξ',
'ο',
'π',
'ρ',
'σ',
'τ',
'υ',
'φ',
'χ',
'ψ',
'ω']
328 character,
parameter,
public ::
htmlgrchar(24)*(9) = [character(len=9) ::
'α',
'β',
'γ',
'δ',
'ε',
'ζ',
'η',
'θ',
'ι', &
…
333 character,
parameter,
public ::
cursorup*(4) = char(27)//
'[2A'
334 character,
parameter,
public ::
cursordown*(4) = char(27)//
'[1B'
336 character,
parameter,
public ::
cursorleft*(4) = char(27)//
'[1D'
338 character,
parameter,
public ::
newline*(2) = achar(13)//achar(10)
386 satrad(5,1:4) = [1821.6,1560.8,2631.2,2410.3]*1.d5
408 character :: tmpStr*(99),tzStr*(9),signStr
411 call date_and_time(tmpstr,tmpstr,tmpstr,dt)
422 tz = abs(dble(dt(4))/60.d0)
423 write(tzstr,
'(F5.2)') tz
425 if(nint(tz).lt.10)
write(tzstr(1:1),
'(A1)')
'0'
427 if(dt(4).ge.0) signstr =
'+'
429 if(dt(4).lt.0.d0) tz = -tz
460 integer :: i, narg, status
461 character :: tmpStr*(999)
470 call get_environment_variable(
'HOME',
homedir)
471 call get_environment_variable(
'PWD',
workdir)
472 call get_environment_variable(
'HOSTNAME',
hostname)
473 call get_environment_variable(
'USER',
username)
474 call get_environment_variable(
'UID',
userid)
482 call get_command_argument(0,tmpstr)
483 i = index(tmpstr,
'/',back=.true.)
493 narg = command_argument_count()
497 call get_command_argument(i,tmpstr)
Provides all constants in the library, and routines to define them.
real(double), dimension(4:8, 30), public si_satrad
Radii Galilean moons (m)
real(double), parameter, public am2r
Arcminutes to radians.
real, parameter, public ras2d
Arcseconds to degrees.
integer, public stderr
Default standard error unit for most (not all!) Fortran compilers.
character, dimension(99), public hostname
Host name (= $HOSTNAME - not always exported)
character, dimension(9), parameter, public enmonthsm
Lower-case month names in English.
real(double), parameter, public h2r
Hours to radians.
character, dimension(7), parameter, public engrchar
Lower-case English names for Greek characters.
character, dimension(99), public username
Name of the current user (= $USER)
real(double), parameter, public sidyear
Siderial year in seconds: fixed star to fixed star.
character, dimension(4), parameter, public cursorup
Print this to move the cursor up one line on screen (need 2 lines since print gives a hard return)
character, dimension(9), public nlpnamel
Capitalised Dutch planet names; "the Moon".
real(double), parameter, public si_pc_amu
Atomic mass unit; (mass of C12 atom)/12, 1.6605402d-27 kg.
real(double), parameter, public si_pc_g
Newton's gravitational constant, 6.67259d-11 m^3 kg^-1 s^-2.
real(double), parameter, public si_msun
Solar mass in SI (kg)
character, dimension(4), public enpnamess
Capitalised planet abbreviations.
real, parameter, public ras2r
Arcseconds to radians.
character, dimension(8), public enpnamelb
Capitalised planet names; "The Moon".
real(double), parameter, public si_ev
Elementary (|electron|) charge in Coulomb; ElectronVolt: 1.6021766d-19 J.
real(double), parameter, public msun
Solar mass in cgs (gm)
real(double), parameter, public solday
Solar day = 86400 s.
real(double), public currenttz
Time zone at system clock at the moment of initialisation (program start)
character, dimension(8), public currenttimestr
Current time as a character string HH:MM:SS (system clock at initialisation)
character, dimension(10), public currentdatestr
Current date as an unambiguous character string YYYY-MM-DD.
real(double), parameter, public ev
ElectronVolt in erg.
real, parameter, public ram2r
Arcminutes to radians.
character, dimension(39), public currentdatestrenl
Current English date as long character string DayOfWeek Month DD YY (sys.clock)
real(double), parameter, public pc_kb
Boltzmann constant, erg/K.
real(double), parameter, public lsun
Solar luminosity in cgs (erg/s)
character, dimension(2), parameter, public newline
Newline character: ASCII Carriage Return (13) + Line Feed (10)
real(double), parameter, public solconst
Solar constant in W/m^2.
real(double), parameter, public si_pc_hbar
Reduced Planck constant, J s.
real, parameter, public rr2am
Radians to arcminutes.
character, dimension(199), public program_name
Name of the currently running program, without the path.
real(double), parameter, public pio2
pi/2
real(double), dimension(0:9), public si_pland
Planet equatorial diameters (m)
character, dimension(4), public nlpnamess
Capitalised Dutch planet abbreviations.
real(double), parameter, public tropmonth
Tropical month in seconds: equinox to equinox, influenced by precession.
real(double), parameter, public julyear
Julian year in seconds: assumes 100 leap years in 400 years.
character, dimension(9), parameter, public nlmonthsb
Capitalised month names in Dutch.
integer, public currentsecond
Second at system clock at the moment of initialisation (program start)
real(double), parameter, public si_au
A.U. in SI (m)
real(double), parameter, public si_pc_kb
Boltzmann constant, 1.380658d-23 J/K.
character, dimension(9), parameter, public htmlgrchar
HTML codes for lower-case Greek characters.
character, dimension(4), public currentyearstr
Current year as a character string (system clock at initialisation)
real(double), parameter, public si_pc_mh
Mass of a hydrogen atom.
real(double), parameter, public si_rsun
Solar radius in SI (m)
real, parameter, public rh2r
Hours to radians.
real(double), dimension(0:9), public planr
Planet equatorial radii (cm) = pland/2.d0.
real(double), parameter, public pc_mh
Mass of a hydrogen atom.
character, dimension(2), parameter, public ends
Capitalised two-letter day-of-week abbreviations in English.
real(double), parameter, public km
kilometer in cgs (cm)
character, dimension(99), public userid
ID of the current user (= $UID)
real(double), parameter, public as2d
Arcseconds to degrees.
character, dimension(3), parameter, public enmntsb
Capitalised month abbreviations in English.
integer, public currenthour
Hour at system clock at the moment of initialisation (program start)
real, parameter, public rpio2
pi/2
real(double), parameter, public as2r
Arcseconds to radians.
real, parameter, public rd2as
Degrees to arcseconds.
real(double), parameter, public pc_g
Newton's gravitational constant, cm^3 g^-1 s^-2.
real(double), parameter, public synmonth
Synodic month in seconds: phase to phase.
real(double), dimension(0:9), parameter, public plana
Planet semi-major axes (cm)
real, parameter, public rr2as
Radians to arcseconds.
character, dimension(39), public currentdatestrnll
Current Dutch date as a long character string DayOfWeek Month DD YY (sys.clock)
character, dimension(9), parameter, public nldays
Lower-case day-of-week names in Dutch.
real(double), dimension(0:9), parameter, public si_planp
Planet orbital periods (s)
character, dimension(13), parameter, public enphases
English names of Lunar phases.
real(double), parameter, public mas2r
Milliarcseconds to radians.
subroutine set_sufr_constants_currentdate()
Define the values of variables that describe the current date and time.
real(double), parameter, public r2am
Radians to arcminutes.
real(double), dimension(0:9), public pland
Planet equatorial diameters (cm)
character, dimension(8), public enpnamel
Capitalised planet names; "the Moon".
character, dimension(9), parameter, public enmonths
Capitalised month names in English.
real(double), parameter, public r2mas
Radians to milliarcseconds.
character, dimension(4), parameter, public cursorright
Print this to move the cursor to the right one space.
integer, public currentmonth
Month at system clock at the moment of initialisation (program start)
real(double), parameter, public pc_c
Speed of light in vacuo, cm s^-1.
real(double), parameter, public pio4
pi/4
real(double), parameter, public jd1950
JD at J1950.0.
character, dimension(3), parameter, public enmnts
Lower-case month abbreviations in English.
real(double), parameter, public earthr
Equatorial radius of the Earth in cm, WGS84.
real(double), dimension(4:8, 30), public satdiam
Diameters Galilean moons (cm)
character, dimension(4), parameter, public cursorleft
Print this to move the cursor to the left one space.
real(double), parameter, public d2as
Degrees to arcseconds.
real(double), parameter, public pi2
2*pi
real, parameter, public rd2r
Degrees to radians.
real(double), parameter, public pc_hp
Planck's constant, erg s.
real(double), parameter, public si_pc_arad
Radiation (density) constant, 7.56591d-15 erg cm^-3 K^-4.
character, dimension(9), public nlpnames
Lower-case Dutch planet names.
real(double), parameter, public si_pc_c
Speed of light in vacuo, 2.99792458d8 m s^-1.
character, dimension(3), parameter, public nlmntsb
Capitalised month abbreviations in Dutch.
real(double), parameter, public si_pc_hp
Planck's constant, 6.6260755d-34 J s.
real(double), parameter, public pc_amu
Atomic mass unit; (mass of C12 atom)/12, g.
subroutine set_sufr_constants
Define the values of all the constants used in this package.
real(double), parameter, public si_km
kilometer in SI (m)
real, parameter, public rpio4
pi/4
real(double), parameter, public r2h
Radians to hours.
real(double), parameter, public jd1900
JD at J1900.0.
character, dimension(9), parameter, public nlmonths
Lower-case month names in Dutch.
real(double), parameter, public dracmonth
Draconic month in seconds: node to node.
real, parameter, public rh2d
Hours to degrees.
real(double), parameter, public one
Unity.
real(double), parameter, public gregmonth
Gregorian month in seconds: average calendar month length of 4800 months over 400 years.
character, dimension(9), public currentdowstrnl
Current Dutch day of week as a character string (system clock)
real(double), parameter, public si_lsun
Solar luminosity in SI (W)
real(double), parameter, public pc_hbar
Reduced Planck constant, erg s.
real(double), parameter, public pc_sigma
Stefan-Boltzmann constant, 5.67051d-5 erg cm^-2 K^-4 s^-1.
real(double), parameter, public jd1875
JD at J1875.0 (when constellation boundaries were defined)
integer, public stdin
Default standard input unit for most (not all!) Fortran compilers.
character, dimension(10), public currentdatestrnl
Current date as a Dutch/EU character string DD/MM/YYYY (system clock)
real(double), parameter, public si_nm
nanometer in SI (m)
real(double), public currenttime
Time in hours at system clock at the moment of initialisation (program start)
character, dimension(999), public program_args
List of command-line arguments, separated by two spaces - may be truncated if longer than 999 charact...
real(double), parameter, public siday
Siderial day in days.
real, parameter, public rc2k
Degrees Celsius to Kelvin.
real(double), parameter, public anomonth
Anomalistic month in seconds: apside to apside.
real(double), parameter, public c2k
Degrees Celsius to Kelvin.
real(double), parameter, public two3rd
Two thirds.
real(double), parameter, public pi
pi
character, dimension(7), public enpname
Capitalised planet names.
character, dimension(9), public currenttimezonestr
Current time zone as a character string UTC+_XX (system clock at initialisation)
integer, public currentyear
Year at system clock at the moment of initialisation (program start)
real(double), parameter, public d2r
Degrees to radians.
integer, public currentmillisecond
Millisecond at system clock at the moment of initialisation (program start)
character, dimension(9), parameter, public endays
Capitalised day-of-week names in English.
real(double), parameter, public pc_gr
Mean gravitational acceleration at the Earth's surface, cm s^-2.
character, dimension(4), parameter, public cursordown
Print this to move the cursor down one line (on screen)
character, dimension(199), public workdir
Current working directory (= $PWD, may contain e.g. '/home/user/myCode/...')
integer, dimension(12), public mlen
Length of the months (for non-leap year)
real(double), dimension(0:9), public si_planr
Planet equatorial radii (m) = pland/2.d0.
real, parameter, public rpi2
2*pi
real(double), parameter, public r2d
Radians to degrees.
real(double), parameter, public tropyear
Tropical year in seconds: equinox to equinox, influenced by precession.
character, parameter, public tab
Tab character.
real, parameter, public rc3rd
One third.
character, dimension(16), parameter, public nlphases
Dutch names of Lunar phases.
real(double), parameter, public si_pc_ec
Elementary (|electron|) charge in Coulomb; ElectronVolt: 1.6021766d-19 J.
character, dimension(2), parameter, public nlds
Lower-case two-letter day-of-week abbreviations in Dutch.
real(double), dimension(0:9), parameter, public si_plana
Planet semi-major axes (m)
character, dimension(29), public currentdatetimestr
Current date, time and time zone as a character string (system clock at init)
real(double), parameter, public eps2000
Obliquity of the ecliptic at J2000.0.
integer, public currentday
Day at system clock at the moment of initialisation (program start)
character, dimension(9), public nlpname
Capitalised Dutch planet names.
real(double), parameter, public mum
micrometer in cgs (cm)
real(double), parameter, public jd2000
JD at J2000.0 (2000-01-01 12:00 UT)
character, dimension(999), public program_path
Path of the currently running program, without the program name.
real(double), parameter, public r2as
Radians to arcseconds.
real(double), parameter, public au
A.U. in cgs (IAU 2009 Resolution B2, IAU XXVIII GA 2012 - Astr.Almanac 2014)
real, parameter, public rd2h
Degrees to hours.
real(double), parameter, public mm
millimeter in cgs (cm)
real, parameter, public rpi
pi
real(double), parameter, public si_mum
micrometer in SI (m)
integer, public currentdow
Day of week at system clock at the moment of initialisation (program start)
real(double), public currentjd
Julian day at system clock at the moment of initialisation (program start)
real(double), parameter, public gregyear
Gregorian year in seconds: assumes 97 leap years in 400 years.
character, dimension(4), parameter, public nldys
Lower-case three-letter day-of-week abbreviations in Dutch.
character, dimension(3), parameter, public endys
Capitalised three-letter day-of-week abbreviations in English.
real(double), dimension(4:8, 30), public satrad
Radii Galilean moons (cm)
subroutine set_sufr_constants_environment()
Define the values of constants that describe the working environment.
character, dimension(10), public currentdatestren
Current date as a US character string MM/DD/YYYY (system clock)
real, parameter, public rtwo3rd
Two thirds.
real, parameter, public rr2h
Radians to hours.
real(double), parameter, public sidmonth
Sidereal month in seconds: fixed star to fixed star.
character, dimension(7), public enpnames
Lower-case planet names.
real(double), parameter, public anomyear
Anomalistic year in seconds: apside to apside.
real, parameter, public rr2mas
Radians to milliarcseconds.
real(double), parameter, public si_mm
millimeter in SI (m)
character, dimension(3), parameter, public nlmnts
Lower-case month abbreviations in Dutch.
integer, public stdout
Default standard output unit for most (not all!) Fortran compilers.
real(double), parameter, public si_pc_gr
Mean gravitational acceleration at the Earth's surface, cm s^-2.
real(double), parameter, public d2h
Degrees to hours.
real(double), parameter, public nm
nanometer in cgs (cm)
real(double), parameter, public si_earthr
Equatorial radius of the Earth in cm, WGS84.
character, dimension(9), public currentdowstren
Current English day of week as a character string (system clock)
real(double), parameter, public h2d
Hours to degrees.
real(double), parameter, public rsun
Solar radius in cgs (cm)
real, parameter, public rr2d
Radians to degrees.
real(double), dimension(0:9), parameter, public planp
Planet orbital periods (years - https://en.wikipedia.org/wiki/Orbital_period):
real, parameter, public rmas2r
Milliarcseconds to radians.
real(double), parameter, public c3rd
One third.
integer, public currentminute
Minute at system clock at the moment of initialisation (program start)
real(double), parameter, public pc_arad
Radiation (density) constant, 7.56591d-15 erg cm^-3 K^-4.
real(double), dimension(4:8, 30), public si_satdiam
Diameters Galilean moons (m)
character, dimension(9), public nlpnamelb
Capitalised Dutch planet names; "The Moon".
character, dimension(10), parameter, public nltimezones
Timezone names in Dutch.
real(double), parameter, public si_pc_sigma
Stefan-Boltzmann constant, 5.67051d-5 erg cm^-2 K^-4 s^-1.
character, dimension(199), public homedir
Current user's home directory (= $HOME, will contain e.g. '/home/user')
Procedures for manipulation of date and time.
elemental real(double) function ymdhms2jd(yy, mmo, dd, h, m, s)
Convert date and time (y,m,d, h,m,s) to JD. Input and output in UT.
elemental integer function dow_ut(jd0)
Calculates day of week (0 = Sunday, ..., 6 = Saturday). Output for timezone of input - call dow_ut(jd...
Provides kinds and related constants/routines.
integer, parameter intkindmax
Maximum integer kind:
integer, parameter double
Double-precision float. Precision = 15, range = 307.
integer, parameter dbl
Double-precision float. Precision = 15, range = 307.
integer, parameter realkindmax
Maximum real kind: