astroTools
Command-line tools for astronomy and astrophysics
|
General procedures for astroTools. More...
Functions/Subroutines | |
subroutine | astrotools_init (banner) |
Initialise an astroTools program. More... | |
subroutine | readsettingsfile () |
Read the astroTools settings from ~/.astroTools. More... | |
subroutine | printsettings () |
Print the astroTools settings from ~/.astroTools to screen. More... | |
subroutine | createsettingsfile () |
Create the astroTools settings file (~/.astroTools) More... | |
subroutine | at2thesky_location () |
Use the astroTools location as the TheSky location. More... | |
subroutine | print_times_ut (jd) |
Print times for *2times output, assuming that everything is UT. More... | |
General procedures for astroTools.
subroutine at_general::astrotools_init | ( | logical, intent(in), optional | banner | ) |
Initialise an astroTools program.
banner | Print aT banner with version number (optional, default: true) |
References at_version::print_astrotools_version(), readsettingsfile(), and at_settings::settingsfile.
Referenced by add_magnitudes(), arcsec2deg_rad(), cal2gps(), cal2times(), cal2unix(), calendar2jd(), comet_eq2ap(), dd2dms_rad(), distance_in_sky_ecl(), distance_in_sky_eq(), dms2dd_rad(), eq2hor(), gps2cal(), jd2calendar(), jd2times(), planetdata(), rad2dd_dms(), rect2spher(), settings(), time2hms(), and unix2cal().
subroutine at_general::at2thesky_location | ( | ) |
Use the astroTools location as the TheSky location.
References at_settings::dstrule, at_settings::geoalt, at_settings::geolat, at_settings::geolon, and at_settings::tz0.
Referenced by readsettingsfile().
subroutine at_general::createsettingsfile | ( | ) |
Create the astroTools settings file (~/.astroTools)
References at_settings::settingsfile.
Referenced by readsettingsfile(), and settings().
subroutine at_general::print_times_ut | ( | real(double), intent(in) | jd | ) |
Print times for *2times output, assuming that everything is UT.
jd | JD to print times for |
Referenced by jd2times().
subroutine at_general::printsettings | ( | ) |
Print the astroTools settings from ~/.astroTools to screen.
References at_settings::dstrule, at_settings::geoalt, at_settings::geolat, at_settings::geolon, and at_settings::tz0.
Referenced by settings().
subroutine at_general::readsettingsfile | ( | ) |
Read the astroTools settings from ~/.astroTools.
References at2thesky_location(), createsettingsfile(), at_settings::dstrule, at_settings::geoalt, at_settings::geolat, at_settings::geolon, at_settings::settingsfile, and at_settings::tz0.
Referenced by astrotools_init(), and settings().