juliensimon commited on
Commit
0541230
·
verified ·
1 Parent(s): ab36f1d

Upload lunar eclipse catalog: 12,064 eclipses

Browse files
Files changed (3) hide show
  1. README.md +151 -0
  2. banner.jpg +3 -0
  3. data/lunar_eclipses.parquet +3 -0
README.md ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: "Five Millennium Catalog of Lunar Eclipses"
4
+ language:
5
+ - en
6
+ description: "Complete catalog of lunar eclipses spanning five millennia (-1999 to +3000), computed by Fred Espenak as part of NASA's Five Millennium Canon of Lunar Eclipses. A lunar eclipse occurs when the Moon p"
7
+ task_categories:
8
+ - tabular-classification
9
+ tags:
10
+ - space
11
+ - lunar-eclipse
12
+ - eclipse
13
+ - moon
14
+ - astronomy
15
+ - nasa
16
+ - planetary-science
17
+ - open-data
18
+ - tabular-data
19
+ - parquet
20
+ size_categories:
21
+ - 10K<n<100K
22
+ configs:
23
+ - config_name: default
24
+ data_files:
25
+ - split: train
26
+ path: data/lunar_eclipses.parquet
27
+ default: true
28
+ ---
29
+
30
+ # Five Millennium Catalog of Lunar Eclipses
31
+
32
+
33
+ <div align="center">
34
+ <img src="banner.jpg" alt="The Moon seen from Apollo 8, showing craters and surface detail" width="400">
35
+ <p><em>Credit: NASA/Apollo 8</em></p>
36
+ </div>
37
+
38
+
39
+ *Part of a [dataset collection](https://huggingface.co/collections/juliensimon/astronomy-datasets-69c24caf2f17e36128946743) on Hugging Face.*
40
+
41
+ ## Dataset description
42
+
43
+ Complete catalog of lunar eclipses spanning five millennia (-1999 to +3000), computed by Fred Espenak as part of NASA's Five Millennium Canon of Lunar Eclipses.
44
+
45
+ A lunar eclipse occurs when the Moon passes through Earth's shadow. The Moon can enter the faint penumbral shadow (producing a subtle darkening), the darker umbral shadow (producing a clearly visible partial eclipse), or become fully immersed in the umbra (a total lunar eclipse, often dramatically colored red by sunlight refracted through Earth's atmosphere). Unlike solar eclipses, lunar eclipses are visible from the entire night side of Earth simultaneously, making them historically important for synchronizing calendars across civilizations.
46
+
47
+ This catalog is derived from Fred Espenak's Five Millennium Canon of Lunar Eclipses, using the same computational foundation as the companion solar eclipse catalog: Besselian elements with polynomial expressions from Chapront, Chapront-Touze, and Francou for lunar and solar coordinates, with corrections for the secular acceleration of the Moon and variable Earth rotation via Delta-T.
48
+
49
+ The **gamma** parameter measures the signed minimum distance of the Moon's center from Earth's shadow axis. When gamma is between -0.9972 and +0.9972, the Moon is fully immersed in the umbra (total eclipse); between ±1.0260 it is partially in the umbra (partial eclipse); and between ±1.0620 only the penumbra is intersected. The **umbral_magnitude** gives the fraction of the Moon's diameter immersed in the umbra — values above 1.0 indicate a total eclipse. Red coloring during totality depends on Earth's atmospheric transparency at the time, described qualitatively by the Danjon scale (0 = very dark, 4 = bright copper-red).
50
+
51
+
52
+ This dataset is suitable for **tabular classification** tasks.
53
+
54
+ ## Schema
55
+
56
+ | Column | Type | Description | Sample | Null % |
57
+ |--------|------|-------------|--------|--------|
58
+ | `catalog_number` | Int64 | Sequential catalog number (1 to ~12,000), monotonically increasing with time | 1 | 0.0% |
59
+ | `date` | object | Date of greatest eclipse in ISO format (YYYY-MM-DD); negative year values indicate BCE dates | -1999-06-26 | 0.0% |
60
+ | `year` | Int64 | Calendar year; negative for BCE (e.g., -500 = 500 BCE); range -1999 to +3000 | -1999 | 0.0% |
61
+ | `td_greatest_eclipse` | object | Time of greatest eclipse in Terrestrial Dynamical Time (TDT), format HH:MM:SS | 14:13:28 | 0.0% |
62
+ | `delta_t` | float64 | Difference between Terrestrial Dynamical Time and Universal Time (TDT - UT) in seconds; large and uncertain for ancient dates (>10,000 s before 1000 CE) | 46437.0 | 0.0% |
63
+ | `luna_number` | Int64 | Lunation count in Brown's series (consecutive full-moon numbering since 1923-01-17) | -49456 | 0.0% |
64
+ | `saros_number` | Int64 | Saros series number; each series repeats every 18 years 11 days 8 hours and produces ~70-80 eclipses over ~1,300 years | 17 | 0.0% |
65
+ | `eclipse_type` | object | Eclipse type code: T (total), P (partial), N (penumbral); may include + or - suffix for exceptional duration, or x/b/e suffix for subtype | N | 0.0% |
66
+ | `eclipse_type_name` | object | Full English name of eclipse type corresponding to the eclipse_type code | Penumbral | 0.0% |
67
+ | `is_total` | bool | True if the eclipse is a total lunar eclipse (Moon fully within Earth's umbra) | False | 0.0% |
68
+ | `gamma` | float64 | Signed minimum distance of the Moon's center from Earth's shadow axis in Earth equatorial radii; \|gamma\| < 0.9972 for total, < 1.0260 for partial, < 1.0620 for penumbral | -1.0981 | 0.0% |
69
+ | `umbral_magnitude` | float64 | Eclipse magnitude in the umbral shadow: >1.0 for total, 0 to 1.0 for partial, negative for penumbral-only eclipses | -0.1922 | 0.0% |
70
+ | `penumbral_magnitude` | float64 | Eclipse magnitude in the penumbral shadow; always >= umbral_magnitude; >1.0 triggers easily visible penumbral shading | 0.8791 | 0.0% |
71
+ | `partial_duration` | float64 | Duration of partial phases (first/last umbral contact) in minutes; null for penumbral-only eclipses | 102.7 | 36.3% |
72
+ | `total_duration` | float64 | Duration of totality (both umbral contacts) in minutes; null for partial and penumbral eclipses | 98.2 | 71.2% |
73
+ | `penumbral_duration` | float64 | Total duration of penumbral contact in minutes from first to last penumbral contact | 268.8 | 0.0% |
74
+ | `latitude` | float64 | Geographic latitude at the point of greatest eclipse in decimal degrees (+ = North, - = South) | -24.0 | 0.0% |
75
+ | `longitude` | float64 | Geographic longitude at the point of greatest eclipse in decimal degrees (+ = East, - = West) | -22.0 | 0.0% |
76
+ | `century` | Int64 | Derived century computed as year // 100; useful for aggregating eclipses by historical period | -20 | 0.0% |
77
+
78
+ ## Quick stats
79
+
80
+ - **12,064** lunar eclipses (-1999 to 3000)
81
+ - **3,479** total (28.8%), **4,207** partial (34.9%), **4,378** penumbral (36.3%)
82
+ - Average totality duration for total eclipses: **80.8 min**
83
+ - Longest total eclipse in catalog: **106.6 min** (~1.78 h)
84
+
85
+ ## Usage
86
+
87
+ ```python
88
+ from datasets import load_dataset
89
+
90
+ ds = load_dataset("juliensimon/lunar-eclipse-catalog", split="train")
91
+ df = ds.to_pandas()
92
+ ```
93
+
94
+ ```python
95
+ from datasets import load_dataset
96
+
97
+ ds = load_dataset("juliensimon/lunar-eclipse-catalog", split="train")
98
+ df = ds.to_pandas()
99
+
100
+ # Filter by eclipse type
101
+ total = df[df["is_total"] == True]
102
+ print(f"{len(total):,} total lunar eclipses across 5 millennia")
103
+
104
+ # Longest total eclipses (Blood Moons)
105
+ longest = total.nlargest(5, "total_duration")[["date", "total_duration", "gamma"]]
106
+ print(longest)
107
+
108
+ # Eclipses per century
109
+ import matplotlib.pyplot as plt
110
+ by_century = df.groupby("century")["eclipse_type_name"].value_counts().unstack(fill_value=0)
111
+ by_century.plot.bar(stacked=True, figsize=(14, 5), colormap="Set2")
112
+ plt.xlabel("Century")
113
+ plt.ylabel("Number of Eclipses")
114
+ plt.title("Lunar Eclipse Types by Century")
115
+ plt.tight_layout()
116
+ plt.show()
117
+ ```
118
+
119
+ ## Data source
120
+
121
+ https://eclipse.gsfc.nasa.gov/LEcat5/LEcatalog.html
122
+
123
+ ## Related datasets
124
+
125
+ - [juliensimon/solar-eclipse-catalog](https://huggingface.co/datasets/juliensimon/solar-eclipse-catalog)
126
+
127
+ - [juliensimon/lunar-craters-robbins](https://huggingface.co/datasets/juliensimon/lunar-craters-robbins)
128
+
129
+ - [juliensimon/iers-earth-orientation](https://huggingface.co/datasets/juliensimon/iers-earth-orientation)
130
+
131
+ > If you find this dataset useful, please consider [giving it a like](https://huggingface.co/datasets/juliensimon/lunar-eclipse-catalog) on Hugging Face. It helps others discover it.
132
+
133
+ ## About the author
134
+
135
+ Created by [Julien Simon](https://julien.org) — AI Operating Partner at Fortino Capital. Part of the [Space Datasets](https://julien.org/datasets) collection.
136
+
137
+ ## Citation
138
+
139
+ ```bibtex
140
+ @dataset{lunar_eclipse_catalog,
141
+ title = {Five Millennium Catalog of Lunar Eclipses},
142
+ author = {juliensimon},
143
+ year = {2026},
144
+ url = {https://huggingface.co/datasets/juliensimon/lunar-eclipse-catalog},
145
+ publisher = {Hugging Face}
146
+ }
147
+ ```
148
+
149
+ ## License
150
+
151
+ [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
banner.jpg ADDED

Git LFS Details

  • SHA256: 3f55f61fc4392a04b715eea0dcb6186cfdb59b87fcd35967f458cfc3e88bc2b3
  • Pointer size: 130 Bytes
  • Size of remote file: 33.5 kB
data/lunar_eclipses.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8ec6b18e6fe16a015a4e6e7db393c24e33296e188448dbd69c2ff4928b5773d
3
+ size 528434