Compare commits

...

7 Commits

Author SHA1 Message Date
Brandon Rhodes d288119b8b New wmm.cof from original maintainer Elwood Downey 2025-02-11 18:14:55 -05:00
Tom 0efc6cb6fc
Update FAQ links to new GitHub Pages URL (#97) 2025-01-23 10:26:08 -05:00
Brandon Rhodes b6529a3ce3 Fix GitHub Actions by installing groff on Mac 2024-05-17 23:41:52 -04:00
dave-kaye 48db8e8eaa
Update release date in Help > About menu (#92) 2024-05-15 22:01:19 -04:00
dave-kaye 25d9785659
Update download urls (#93)
Closes issue #80.
2024-05-03 14:47:40 -04:00
dave-kaye cbce84148a
Update header inserted into MPC .edb files (#94) 2024-04-09 16:30:53 -04:00
sanlupkim 6afc692a80
Use standard manpage sections; escape dashes (#90) 2024-03-04 13:11:24 -05:00
11 changed files with 122 additions and 114 deletions

View File

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- main - main
- fix-ci
pull_request: pull_request:
branches: branches:
@ -31,6 +32,8 @@ jobs:
run: brew install openssl && brew info openssl run: brew install openssl && brew info openssl
- name: Install XQuartz - name: Install XQuartz
run: brew install xquartz --cask && brew info xquartz run: brew install xquartz --cask && brew info xquartz
- name: Install groff
run: brew install groff && brew info groff
- name: Compile - name: Compile
run: make -C GUI/xephem run: make -C GUI/xephem
- name: Test - name: Test

View File

@ -119,7 +119,7 @@ print "Creating $brtfn and $dimfn..\n";
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime; ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime;
$year += 1900; $year += 1900;
$mon += 1; $mon += 1;
$from = "# Data is from ftp://cfa-ftp.harvard.edu/pub/MPCORB/MPCORB.DAT\n"; $from = "# Data is from $MPCSITE/$MPCFTPDIR/$MPCFILE\n";
$what = "# Generated by mpcorb2edb.pl $ver, (c) 2000 Elwood Downey\n"; $what = "# Generated by mpcorb2edb.pl $ver, (c) 2000 Elwood Downey\n";
$when = "# Processed $year-$mon-$mday $hour:$min:$sec UTC\n"; $when = "# Processed $year-$mon-$mday $hour:$min:$sec UTC\n";

View File

@ -1,93 +1,93 @@
2020.0 WMM-2020 12/10/2019 2025.0 WMM-2025 11/13/2024
1 0 -29404.5 0.0 6.7 0.0 1 0 -29351.8 0.0 12.0 0.0
1 1 -1450.7 4652.9 7.7 -25.1 1 1 -1410.8 4545.4 9.7 -21.5
2 0 -2500.0 0.0 -11.5 0.0 2 0 -2556.6 0.0 -11.6 0.0
2 1 2982.0 -2991.6 -7.1 -30.2 2 1 2951.1 -3133.6 -5.2 -27.7
2 2 1676.8 -734.8 -2.2 -23.9 2 2 1649.3 -815.1 -8.0 -12.1
3 0 1363.9 0.0 2.8 0.0 3 0 1361.0 0.0 -1.3 0.0
3 1 -2381.0 -82.2 -6.2 5.7 3 1 -2404.1 -56.6 -4.2 4.0
3 2 1236.2 241.8 3.4 -1.0 3 2 1243.8 237.5 0.4 -0.3
3 3 525.7 -542.9 -12.2 1.1 3 3 453.6 -549.5 -15.6 -4.1
4 0 903.1 0.0 -1.1 0.0 4 0 895.0 0.0 -1.6 0.0
4 1 809.4 282.0 -1.6 0.2 4 1 799.5 278.6 -2.4 -1.1
4 2 86.2 -158.4 -6.0 6.9 4 2 55.7 -133.9 -6.0 4.1
4 3 -309.4 199.8 5.4 3.7 4 3 -281.1 212.0 5.6 1.6
4 4 47.9 -350.1 -5.5 -5.6 4 4 12.1 -375.6 -7.0 -4.4
5 0 -234.4 0.0 -0.3 0.0 5 0 -233.2 0.0 0.6 0.0
5 1 363.1 47.7 0.6 0.1 5 1 368.9 45.4 1.4 -0.5
5 2 187.8 208.4 -0.7 2.5 5 2 187.2 220.2 0.0 2.2
5 3 -140.7 -121.3 0.1 -0.9 5 3 -138.7 -122.9 0.6 0.4
5 4 -151.2 32.2 1.2 3.0 5 4 -142.0 43.0 2.2 1.7
5 5 13.7 99.1 1.0 0.5 5 5 20.9 106.1 0.9 1.9
6 0 65.9 0.0 -0.6 0.0 6 0 64.4 0.0 -0.2 0.0
6 1 65.6 -19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0.1
11 3 2.4 -0.5 0.0 0.0 11 3 2.4 -0.6 0.0 -0.0
11 4 -0.9 -0.4 -0.0 0.2 11 4 -0.6 0.2 0.0 0.1
11 5 0.3 0.6 -0.1 -0.0 11 5 -0.1 0.5 -0.1 -0.0
11 6 -0.7 -0.2 0.0 0.0 11 6 -0.6 -0.3 0.0 -0.0
11 7 -0.1 -1.7 -0.0 0.1 11 7 -0.1 -1.2 -0.0 0.1
11 8 1.4 -1.6 -0.1 -0.0 11 8 1.1 -1.7 -0.1 -0.0
11 9 -0.6 -3.0 -0.1 -0.1 11 9 -1.0 -2.9 -0.1 0.0
11 10 0.2 -2.0 -0.1 0.0 11 10 -0.2 -1.8 -0.1 0.0
11 11 3.1 -2.6 -0.1 -0.0 11 11 2.6 -2.3 -0.1 0.0
12 0 -2.0 0.0 0.0 0.0 12 0 -2.0 0.0 0.0 0.0
12 1 -0.1 -1.2 -0.0 -0.0 12 1 -0.2 -1.3 0.0 -0.0
12 2 0.5 0.5 -0.0 0.0 12 2 0.3 0.7 -0.0 0.0
12 3 1.3 1.3 0.0 -0.1 12 3 1.2 1.0 -0.0 -0.1
12 4 -1.2 -1.8 -0.0 0.1 12 4 -1.3 -1.4 -0.0 0.1
12 5 0.7 0.1 -0.0 -0.0 12 5 0.6 -0.0 -0.0 -0.0
12 6 0.3 0.7 0.0 0.0 12 6 0.6 0.6 0.1 -0.0
12 7 0.5 -0.1 -0.0 -0.0 12 7 0.5 -0.1 -0.0 -0.0
12 8 -0.2 0.6 0.0 0.1 12 8 -0.1 0.8 0.0 0.0
12 9 -0.5 0.2 -0.0 -0.0 12 9 -0.4 0.1 0.0 -0.0
12 10 0.1 -0.9 -0.0 -0.0 12 10 -0.2 -1.0 -0.1 -0.0
12 11 -1.1 -0.0 -0.0 0.0 12 11 -1.3 0.1 -0.0 0.0
12 12 -0.3 0.5 -0.1 -0.1 12 12 -0.7 0.2 -0.1 -0.1
999999999999999999999999999999999999999999999999 999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999 999999999999999999999999999999999999999999999999

View File

@ -744,11 +744,11 @@ String fallbacks[] = {
"XEphem*WCS.y: 10", "XEphem*WCS.y: 10",
"XEphem*WebDB*Pattern.value: ", "XEphem*WebDB*Pattern.value: ",
"XEphem*WebDB*Search.set: False", "XEphem*WebDB*Search.set: False",
"XEphem*WebDB*URL0.value: http://celestrak.org/NORAD/elements/stations.txt", "XEphem*WebDB*URL0.value: https://celestrak.org/NORAD/elements/stations.txt",
"XEphem*WebDB*URL1.value: http://celestrak.org/NORAD/elements/science.txt", "XEphem*WebDB*URL1.value: https://celestrak.org/NORAD/elements/science.txt",
"XEphem*WebDB*URL2.value: http://celestrak.org/NORAD/elements/tle-new.txt", "XEphem*WebDB*URL2.value: https://celestrak.org/NORAD/elements/tle-new.txt",
"XEphem*WebDB*URL3.value: http://celestrak.org/NORAD/elements/amateur.txt", "XEphem*WebDB*URL3.value: https://celestrak.org/NORAD/elements/amateur.txt",
"XEphem*WebDB*URL4.value: http://celestrak.org/NORAD/elements/visual.txt", "XEphem*WebDB*URL4.value: https://celestrak.org/NORAD/elements/visual.txt",
"XEphem*WebDB*URL5.value: https://www.minorplanetcenter.net/iau/Ephemerides/Comets/Soft03Cmt.txt", "XEphem*WebDB*URL5.value: https://www.minorplanetcenter.net/iau/Ephemerides/Comets/Soft03Cmt.txt",
"XEphem*WebDB*URL6.value: https://www.minorplanetcenter.net/iau/Ephemerides/CritList/Soft03CritList.txt", "XEphem*WebDB*URL6.value: https://www.minorplanetcenter.net/iau/Ephemerides/CritList/Soft03CritList.txt",
"XEphem*WebDB*URL7.value: https://www.minorplanetcenter.net/iau/Ephemerides/Distant/Soft03Distant.txt", "XEphem*WebDB*URL7.value: https://www.minorplanetcenter.net/iau/Ephemerides/Distant/Soft03Distant.txt",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -7991,7 +7991,7 @@ format if it is not already.<br>
<br> <br>
Several particularly useful sites as of this build are already entered. Several particularly useful sites as of this build are already entered.
The first five are from Dr. TS Kelso's Earth satellite lists at <a The first five are from Dr. TS Kelso's Earth satellite lists at <a
href="https://www.celestrak.org">celestrak.org</a>. The other four are href="https://celestrak.org">celestrak.org</a>. The other four are
the Minor Planet Center's lists of hot comets and unusual asteroids the Minor Planet Center's lists of hot comets and unusual asteroids
specially formatted for <a specially formatted for <a
href="https://www.minorplanetcenter.net/iau/Ephemerides/Soft03.html">XEphem</a>. href="https://www.minorplanetcenter.net/iau/Ephemerides/Soft03.html">XEphem</a>.
@ -7999,12 +7999,9 @@ Click <span style="font-weight: bold;">Get</span> beside the desired
catalog to download the file to the Private directory and catalog to download the file to the Private directory and
simultaneously load into XEphem memory.<br> simultaneously load into XEphem memory.<br>
<br> <br>
Special files created by Special files created by the <a
<!-- could not found the correct linke href="https://www.minorplanetcenter.net/data/">Minor Planet Center</a>
<a href="http://cfa-www.harvard.edu/cfa/ps/mpc.html">Minor Planet Center</a> and <a href="https://asteroid.lowell.edu/astorb/">Lowell
and
-->
the <a href="https://asteroid.lowell.edu/">Lowell
Observatory</a> may also be downloaded. Observatory</a> may also be downloaded.
Each organization maintains Each organization maintains
extensive lists of all known asteroids and produces on a regular basis extensive lists of all known asteroids and produces on a regular basis

View File

@ -5,5 +5,5 @@
#include "xephem.h" #include "xephem.h"
char PATCHLEVEL[] = "4.2.0"; char PATCHLEVEL[] = "4.2.0";
char PATCHDATE[] = "2021 September 13"; char PATCHDATE[] = "2024 February 13";
char COPYRIGHT[] = "Copyright (c) 1990-2021 by Elwood Charles Downey"; char COPYRIGHT[] = "Copyright (c) 1990-2021 by Elwood Charles Downey";

View File

@ -158,7 +158,7 @@ wdb_create()
XtSetArg (args[n], XmNrightAttachment, XmATTACH_FORM); n++; XtSetArg (args[n], XmNrightAttachment, XmATTACH_FORM); n++;
tf_w = XmCreateTextField (f_w, buf, args, n); tf_w = XmCreateTextField (f_w, buf, args, n);
defaultTextFN (tf_w, 1, "", NULL); defaultTextFN (tf_w, 1, "", NULL);
wtip (tf_w, "URL of file to download (must use HTTP)"); wtip (tf_w, "URL of file to download (must use HTTP or HTTPS)");
XtManageChild (tf_w); XtManageChild (tf_w);
sprintf (buf, "XEphem*WebDB*URL%d.value", i); sprintf (buf, "XEphem*WebDB*URL%d.value", i);
sr_reg (tf_w, buf, wdbcategory, 1); sr_reg (tf_w, buf, wdbcategory, 1);

View File

@ -1,9 +1,9 @@
.TH XEphem 1X .TH XEPHEM 1 "Feb 2024"
.SH Name .SH NAME
XEphem \- an interactive astronomical ephemeris for X11 XEphem \- an interactive astronomical ephemeris for X11
.SH Syntax .SH SYNOPSIS
\fBxephem [-prfb] [-install {yes|no|guess}] [-resfile <resourcefile>] [-[no]splash]\fP \fBxephem [\-prfb] [\-install {yes|no|guess}] [\-resfile <resourcefile>] [\-[no]splash]\fP
.SH Description .SH DESCRIPTION
.na .na
.nh .nh
.PP .PP
@ -144,14 +144,14 @@ multi-user installations. XEphem looks here for support files. Unless
defined otherwise, the Shared directory is ".", that is, the current defined otherwise, the Shared directory is ".", that is, the current
directory. directory.
.SH Author .SH AUTHOR
.PP .PP
Elwood C. Downey, email ecdowney@ClearSkyInstitute.com. Elwood C. Downey, email ecdowney@ClearSkyInstitute.com.
.SH References .SH SEE ALSO
.PP .PP
The Web homepage, including the FAQ, is maintained at The Web homepage, including the FAQ, is maintained at
.I http://www.clearskyinstitute.com/xephem .I https://xephem.github.io/XEphem/Site/xephem.html
.PP .PP
The online Help entry The online Help entry
.I on Credits .I on Credits

View File

@ -4,6 +4,14 @@
</head> </head>
<BODY background="/bg.png" TEXT="#000000" LINK="#004400" VLINK="#004400" ALINK="#000000"> <BODY background="/bg.png" TEXT="#000000" LINK="#004400" VLINK="#004400" ALINK="#000000">
<!-- next release
<li>Elwood has updated the <tt>wmm.cof</tt>
World Magnetic Model file
to reflect the new WMM2025 data that was released on December 17, 2024.
-->
<H3>Changes from 4.1.0 to 4.2.0</H3> <H3>Changes from 4.1.0 to 4.2.0</H3>
Released 2024 February 13. Released 2024 February 13.

View File

@ -522,11 +522,11 @@ using XEphem on my web site or publications?</b>
placed somewhere on each such page: placed somewhere on each such page:
<p> <p>
<pre> <pre>
&lt;a target="csiwin" href="https://www.ClearSkyInstitute.com/xephem/xephem.html"&gt;Created using &lt;b&gt;XEphem&lt;/b&gt;&lt;/a&gt; &lt;a target="csiwin" href="https://xephem.github.io/XEphem/Site/xephem.html"&gt;Created using &lt;b&gt;XEphem&lt;/b&gt;&lt;/a&gt;
</pre> </pre>
<p> <p>
It should look and work like this: It should look and work like this:
<a target="csiwin" href="https://www.ClearSkyInstitute.com/xephem/xephem.html"> <a target="csiwin" href="https://xephem.github.io/XEphem/Site/xephem.html">
Created using <b>XEphem</b></a>. Created using <b>XEphem</b></a>.
<p> <p>
Regarding publications, the Postscript files generated by XEphem already Regarding publications, the Postscript files generated by XEphem already