API
EarthOrientation.EOParams
— MethodEOParams(iau1980file::String, iau2000file::String)
Parse IERS data files into a EOParams
object. iau1980file
and iau2000file
are the paths to a 'finals.all' and a 'finals2000A.all' CSV file, respectively.
EarthOrientation.getdx
— Methodgetdx(date; outside_range=:warn)
Get the celestial pole x-coordinate correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdx_err
— Methodgetdx_err(date; outside_range=:warn)
Get the error in celestial pole x-coordinate correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdy
— Methodgetdy(date; outside_range=:warn)
Get the celestial pole y-coordinate correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdy_err
— Methodgetdy_err(date; outside_range=:warn)
Get the error in celestial pole y-coordinate correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdψ
— Methodgetdψ(date; outside_range=:warn)
Get the ecliptic nutation correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdψ_err
— Methodgetdψ_err(date; outside_range=:warn)
Get the error in the ecliptic nutation correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdϵ
— Methodgetdϵ(date; outside_range=:warn)
Get the ecliptic obliquity correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getdϵ_err
— Methodgetdϵ_err(date; outside_range=:warn)
Get the error in the ecliptic obliquity correction for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getlod
— Methodgetlod(date; outside_range=:warn)
Get the excess length of day for a certain date
in milliseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getlod_err
— Methodgetlod_err(date; outside_range=:warn)
Get the error in the excess length of day for a certain date
in milliseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getxp
— Methodgetxp(date; outside_range=:warn)
Get the x-coordinate of Earth's north pole w.r.t. the CIO for a certain date
in arcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getxp_err
— Methodgetxp_err(date; outside_range=:warn)
Get the error for the x-coordinate of Earth's north pole w.r.t. the CIO for a certain date
in arcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getyp
— Methodgetyp(date; outside_range=:warn)
Get the y-coordinate of Earth's north pole w.r.t. the CIO for a certain date
in arcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getyp_err
— Methodgetyp_err(date; outside_range=:warn)
Get the error for the y-coordinate of Earth's north pole w.r.t. the CIO for a certain date
in arcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getΔUT1
— MethodgetΔUT1(date; outside_range=:warn)
Get the difference between UTC and UT1 for a certain date
in seconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getΔUT1_TAI
— MethodgetΔUT1_TAI(date; outside_range=:warn)
Get the difference between TAI and UT1 for a certain date
in seconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.getΔUT1_err
— MethodgetΔUT1_err(date; outside_range=:warn)
Get the error in the difference between UTC and UT1 for a certain date
in seconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.polarmotion
— Methodpolarmotion(date; outside_range=:warn)
Get the coordinates of Earth's north pole w.r.t. the CIO for a certain date
in arcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.precession_nutation00
— Methodprecession_nutation00(date; outside_range=:warn)
Get the celestial pole coordinate corrections for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.
EarthOrientation.precession_nutation80
— Methodprecession_nutation80(date; outside_range=:warn)
Get the ecliptic corrections for a certain date
in milliarcseconds.
date
can either be a DateTime
object or a Julian date represented by a number. The outside_range
argument determines what to do if no data is available for date
:
:warn
: The last valid value is returned and a warning will be displayed.:nothing
: The last valid value is returned.:error
: AnOutOfRangeError
is thrown.