On Aug. 21, 2017, the moon will ride its elliptical orbit precisely between the Earth and the sun, plunging the land below into the crepuscule of a total solar eclipse.

Beginning at around 10 a.m. Pacific Time, the dark path of totality will sweep northwest to southeast across the United States, casting its eerie gloom upon Western towns such as Madras, Ore.; Rexburg, Idaho; and Casper, Wyo. The sky will turn violet; shadows will sharpen; pigeons will roost; and owls will take wing. Millions of umbraphilesโ€”eclipse chasersโ€”will crane their necks to witness more than two minutes of lunar ecstasy, transfixed by an occluded sun that science writer David Baron describes as โ€œan ebony pupil surrounded by a pearly iris โ€ฆ the eye of the cosmos.โ€

Although partial solar eclipses and lunar eclipses are relatively common, total solar eclipses are rarer beasts: When totality last traversed the entire width of the continental U.S., Woodrow Wilson was struggling to negotiate an end to World War I. Baron, himself a devoted umbraphileโ€”you might call him a lunaticโ€”has pursued the phenomenon to Germany, Australia and the Faroe Islands. His new book, American Eclipse, chronicles an instance much closer to home: the shadow that sped from Montana to Texas in 1878, perhaps the most significant total solar eclipse in the countryโ€™s history.

For much of the 19th century, the young United States was a second-rate nation, scientifically speaking, shrouded by what one astronomer deemed a โ€œperiod of apparent intellectual darkness.โ€ The 1878 eclipse promised to lift that metaphorical blackness by supplying literal dusk: Under the moon-dimmed Rocky Mountain sky, American scientists would have the opportunity to seek new planets, study the sunโ€™s outer atmosphere, and even deduce its chemical composition. Researchers leapt at the chance to help America โ€œfulfill its responsibility as an enlightened member of the global scientific communityโ€โ€”and, in the process, gain personal glory.

Westerners know Baron from his first book, The Beast in the Garden, which documentedโ€”some would say sensationalizedโ€”a series of cougar attacks in Colorado. In American Eclipse, the fiercest beasts are the scientists competing to document the astronomical anomaly. Baron introduces us to James Craig Watson, an astronomer with a Jupiter-sized ego whoโ€™s convinced that the eclipse will help him discover an unseen hypothetical planet called Vulcan. We meet Cleveland Abbe, a meteorologist, known charmingly as โ€œOld Probabilities,โ€ who persists in eclipse-watching at Pikes Peak despite a near-fatal case of high-altitude cerebral edema. And then thereโ€™s a young inventor named Thomas Edison, eager โ€œto demonstrate that he was a scientist and no mere tinkererโ€ by measuring the heat of the sunโ€™s corona with a zany (and ultimately failed) invention called the tasimeter.

Amid all this scientific machismo, the bookโ€™s most sympathetic character is Maria Mitchell, an astronomer and suffragette intent on demonstrating the equal abilities of women. At the time, certain pseudo-academics posited that โ€œhigher education caused a girlโ€™s bodyโ€”especially her reproductive organsโ€”to atrophy.โ€ To debunk this repugnant theory, Mitchell dispatched a cohort of โ€œlady astronomersโ€ to Colorado to study the eclipse and provide โ€œa kind of political theater, promoting social change.โ€ Mitchellโ€™s mission succeededโ€”one newspaper called her squad โ€œa conspicuous example of the power and grasp of the feminine intellectโ€โ€”though the sexual-harassment scandals that roil modern astronomy prove that true equality still eludes the field.

American Eclipseโ€™s most vivid character, though, is the fledgling West itself. In 1878, the region lingered in a kind of limbo: civilized enough that you could journey to Wyoming in a railcar hung with chandeliers, wild enough that your train stood a considerable risk of being boarded and cleaned out by bandits. The citizens of burgeoning Denverโ€”a town that โ€œaspired to elegance, even enlightenmentโ€โ€”were particularly desperate to prove their cityโ€™s worth to snooty East Coast scientists. As one local boasted to a visiting Englishman, โ€œSir, Colorado can beat the world in eclipses as in everything else.โ€

While modern astronomers no longer require eclipses to study the heavens, this yearโ€™s event will still inspire an epic pilgrimage. An eclipse festival in Oregon expects 30,000 visitors, and some Jackson hotels have been booked for three years.

We live with our eyes cast downward, fixed upon hand-sized screens; this yearโ€™s American eclipse offers a chance to lift our gaze to a universe far grander and stranger than the circumscribed worlds we cradle in our palms. โ€œThese rare and unearthly events โ€ฆ suspend human affairs and draw people out of their quotidian existence,โ€ Baron writes. We may comprehend our solar system vastly better than we did in 1878, but our capacity for awe remains, fortunately, undiminished.

This piece originally appeared in High Country News

American Eclipse: A Nationโ€™s Epic Race to Catch the Shadow of the Moon and Win the Glory of the World

By David Baron

W.W. Norton and Company

352 pages, $27.95