DUAL DATE GEOCENTRIC INPUT TEMPLATE
Built Around The NASA/JPL Horizons API
PHP Program by Kilroy of Null Island
NASA/JPL Database Body ID
Quantities List
Optional Location Label
Base Time Scale
START
Date and Time
Time Zone
Daylight / Summer Time
STOP
Date and Time
Step Size
View/Copy Source Code
Double-Click Within Text Area to Select ALL Text
############################################################################# MAIN OUTPUT TEXT AREA 1 The results of computations can be printed in this area and/or the optional second text area below as well. For JPL Database Body ID = 499 Ephemeris Time Scale = UT Local Time Zone Offset = UT+00:00 (Ignored if using the TT scale.) Daylight / Summer Time = No Optional Location Label = --- START Era / Date / Time = AD 2026-May-03 00:00:00 STOP Era / Date / Time = AD 2026-May-03 23:00:01 Ephemeris Step Size = 1 hour ****************************************************************************** The basic concept is to design a function to perform a NASA/JPL Horizons API computation and create a custom interface to call and make use of it. ****************************************************************************** EPHEMERIS OUTPUT API VERSION: 1.2 API SOURCE: NASA/JPL Horizons API ******************************************************************************* Revised: June 02, 2025 Mars 499 / 4 PHYSICAL DATA (updated 2025-Jun-02): Vol. mean radius (km) = 3389.92+-0.04 Density (g/cm^3) = 3.933(5+-4) Mass x10^23 (kg) = 6.4171 Flattening, f = 1/169.779 Volume (x10^10 km^3) = 16.318 Equatorial radius (km)= 3396.19 Sidereal rot. period = 24.622962 hr Sid. rot. rate, rad/s = 0.0000708822 Mean solar day (sol) = 88775.24415 s Polar gravity m/s^2 = 3.758 Core radius (km) = ~1700 Equ. gravity m/s^2 = 3.71 Geometric Albedo = 0.150 GM (km^3/s^2) = 42828.375662 Mass ratio (Sun/Mars) = 3098703.59 GM 1-sigma (km^3/s^2) = +- 0.00028 Mass of atmosphere, kg= ~ 2.5 x 10^16 Mean temperature (K) = 210 Atmos. pressure (bar) = 0.0056 Obliquity to orbit = 25.19 deg Max. angular diam. = 17.9" Mean sidereal orb per = 1.88081578 y Visual mag. V(1,0) = -1.52 Mean sidereal orb per = 686.98 d Orbital speed, km/s = 24.13 Hill's sphere rad. Rp = 319.8 Escape speed, km/s = 5.027 Perihelion Aphelion Mean Solar Constant (W/m^2) 717 493 589 Maximum Planetary IR (W/m^2) 470 315 390 Minimum Planetary IR (W/m^2) 30 30 30 ******************************************************************************* ******************************************************************************* Ephemeris / API_USER Sun May 3 05:51:42 2026 Pasadena, USA / Horizons ******************************************************************************* Target body name: Mars (499) {source: mar099} Center body name: Earth (399) {source: DE441} Center-site name: GEOCENTRIC ******************************************************************************* Start time : A.D. 2026-May-03 00:00:00.0000 UT Stop time : A.D. 2026-May-03 23:00:01.0000 UT Step-size : 60 minutes ******************************************************************************* Target pole/equ : IAU_MARS {West-longitude positive} Target radii : 3396.19, 3396.19, 3376.2 km {Equator_a, b, pole_c} Center geodetic : 0.0, 0.0, -6378.137 {E-lon(deg),Lat(deg),Alt(km)} Center cylindric: 0.0, 0.0, 0.0 {E-lon(deg),Dxy(km),Dz(km)} Center pole/equ : ITRF93 {East-longitude positive} Center radii : 6378.137, 6378.137, 6356.752 km {Equator_a, b, pole_c} Target primary : Sun Vis. interferer : MOON (R_eq= 1737.400) km {source: DE441} Rel. light bend : Sun {source: DE441} Rel. lght bnd GM: 1.3271E+11 km^3/s^2 Atmos refraction: NO (AIRLESS) RA format : HMS Time format : CAL Calendar mode : Mixed Julian/Gregorian EOP file : eop.260501.p260728 EOP coverage : DATA-BASED 1962-JAN-20 TO 2026-MAY-01. PREDICTS-> 2026-JUL-27 Units conversion: 1 au= 149597870.700 km, c= 299792.458 km/s, 1 day= 86400.0 s Table cut-offs 1: Elevation (-90.0deg=NO ),Airmass (>38.000=NO), Daylight (NO ) Table cut-offs 2: Solar elongation ( 0.0,180.0=NO ),Local Hour Angle( 0.0=NO ) Table cut-offs 3: RA/DEC angular rate ( 0.0=NO ) Table format : Comma Separated Values (spreadsheet) ************************************************************************************** Date__(UT)__HR:MN, , , R.A._(ICRF), DEC__(ICRF), delta, APmag, S-brt ************************************************************************************** $$SOE 2026-May-03 00:00, , , 01 06 01.74, +06 04 38.8, 2.24184685241252, 1.249, 4.064 2026-May-03 01:00, , , 01 06 08.82, +06 05 23.6, 2.24177219064578, 1.226, 4.042 2026-May-03 02:00, , , 01 06 15.90, +06 06 08.3, 2.24169751182812, 1.211, 4.026 2026-May-03 03:00, , , 01 06 22.99, +06 06 53.0, 2.24162281592766, 1.207, 4.023 2026-May-03 04:00, , , 01 06 30.07, +06 07 37.7, 2.24154810291270, 1.220, 4.035 2026-May-03 05:00, , , 01 06 37.15, +06 08 22.4, 2.24147337275188, 1.225, 4.041 2026-May-03 06:00, , , 01 06 44.23, +06 09 07.1, 2.24139862541387, 1.228, 4.044 2026-May-03 07:00, , , 01 06 51.31, +06 09 51.8, 2.24132386086711, 1.231, 4.047 2026-May-03 08:00, , , 01 06 58.40, +06 10 36.4, 2.24124907907954, 1.241, 4.057 2026-May-03 09:00, , , 01 07 05.48, +06 11 21.1, 2.24117428001867, 1.255, 4.071 2026-May-03 10:00, , , 01 07 12.56, +06 12 05.8, 2.24109946365185, 1.270, 4.086 2026-May-03 11:00, , , 01 07 19.64, +06 12 50.4, 2.24102462994649, 1.282, 4.099 2026-May-03 12:00, , , 01 07 26.73, +06 13 35.1, 2.24094977887023, 1.289, 4.105 2026-May-03 13:00, , , 01 07 33.81, +06 14 19.7, 2.24087491039103, 1.314, 4.130 2026-May-03 14:00, , , 01 07 40.89, +06 15 04.3, 2.24080002447677, 1.297, 4.113 2026-May-03 15:00, , , 01 07 47.98, +06 15 48.9, 2.24072512109500, 1.299, 4.116 2026-May-03 16:00, , , 01 07 55.06, +06 16 33.6, 2.24065020021276, 1.311, 4.127 2026-May-03 17:00, , , 01 08 02.14, +06 17 18.2, 2.24057526179676, 1.286, 4.102 2026-May-03 18:00, , , 01 08 09.22, +06 18 02.8, 2.24050030581360, 1.290, 4.107 2026-May-03 19:00, , , 01 08 16.31, +06 18 47.3, 2.24042533223008, 1.301, 4.118 2026-May-03 20:00, , , 01 08 23.39, +06 19 31.9, 2.24035034101323, 1.310, 4.127 2026-May-03 21:00, , , 01 08 30.47, +06 20 16.5, 2.24027533213035, 1.295, 4.112 2026-May-03 22:00, , , 01 08 37.56, +06 21 01.1, 2.24020030554855, 1.280, 4.097 2026-May-03 23:00, , , 01 08 44.64, +06 21 45.6, 2.24012526123450, 1.272, 4.089 $$EOE ************************************************************************************** Column meaning: TIME Times PRIOR to 1962 are UT1, a mean-solar time closely related to the prior but now-deprecated GMT. Times AFTER 1962 are in UTC, the current civil or "wall-clock" time-scale. UTC is kept within 0.9 seconds of UT1 using integer leap-seconds for 1972 and later years. Conversion from the internal Barycentric Dynamical Time (TDB) of solar system dynamics to the non-uniform civil UT time-scale requested for output has not been determined for UTC times after the next July or January 1st. Therefore, the last known leap-second is used as a constant over future intervals. Time tags refer to the UT time-scale conversion from TDB on Earth regardless of observer location within the solar system, although clock rates may differ due to the local gravity field and no analog to "UT" may be defined for that location. Any 'b' symbol in the 1st-column denotes a B.C. date. First-column blank (" ") denotes an A.D. date. CALENDAR SYSTEM Mixed calendar mode was active such that calendar dates after AD 1582-Oct-15 (if any) are in the modern Gregorian system. Dates prior to 1582-Oct-5 (if any) are in the Julian calendar system, which is automatically extended for dates prior to its adoption on 45-Jan-1 BC. The Julian calendar is useful for matching historical dates. The Gregorian calendar more accurately corresponds to the Earth's orbital motion and seasons. A "Gregorian-only" calendar mode is available if such physical events are the primary interest. NOTE: "n.a." in output means quantity "not available" at the print-time. 'R.A._(ICRF), DEC__(ICRF),' = Astrometric right ascension and declination of the target center with respect to the observing site (coordinate origin) in the reference frame of the planetary ephemeris (ICRF). Compensated for down-leg light-time delay aberration. Units: RA in hours-minutes-seconds of time, HH MM SS.ff{ffff} DEC in degrees-minutes-seconds of arc, sDD MN SC.f{ffff} 'delta,' = Apparent range ("delta", light-time aberrated) of the target center relative to the observer. Units: AU 'APmag, S-brt,' = The targets' approximate apparent visual magnitude and surface brightness. For planets and natural satellites, output is restricted to solar phase angles covered by observational data. Outside the observed phase angle range, "n.a." may be output to avoid extrapolation beyond the limit of model validity. For Earth-based observers, the estimated dimming due to atmospheric absorption (extinction) is available as a separate, requestable quantity. Surface brightness is the average airless visual magnitude of a square-arcsecond of the illuminated portion of the apparent disk. It is computed only if the target radius is known. Units: MAGNITUDES & MAGNITUDES PER SQUARE ARCSECOND Computations by ... Solar System Dynamics Group, Horizons On-Line Ephemeris System 4800 Oak Grove Drive, Jet Propulsion Laboratory Pasadena, CA 91109 USA General site: https://ssd.jpl.nasa.gov/ Mailing list: https://ssd.jpl.nasa.gov/email_list.html System news : https://ssd.jpl.nasa.gov/horizons/news.html User Guide : https://ssd.jpl.nasa.gov/horizons/manual.html Connect : browser https://ssd.jpl.nasa.gov/horizons/app.html#/x API https://ssd-api.jpl.nasa.gov/doc/horizons.html command-line telnet ssd.jpl.nasa.gov 6775 e-mail/batch https://ssd.jpl.nasa.gov/ftp/ssd/horizons_batch.txt scripts https://ssd.jpl.nasa.gov/ftp/ssd/SCRIPTS Author : Jon.D.Giorgini@jpl.nasa.gov **************************************************************************************
Double-Click Within Text Area to Select ALL Text
TEXT AREA 2 = OPTIONAL SECOND TEXT AREA For optional program info or other use or it can be removed entirely or more text areas could be added as needed. This text area is independent of the text area above.
PHP Program by Kilroy of Null Island
v1.00 - Revised: 1970-January-01-Thursday at Time 00:00:00 (UTC)