ALTADENA (CBSLA) — A large jetliner spotted flying low over the foothills Monday belonged to NASA and was part of a study on air quality, officials said.

The large DC-8, painted white with a blue stripe and the NASA logo on the tail, was spotted flying over Altadena at the height of afternoon rush hour in the San Gabriel Valley, according to the Los Angeles County Sheriff’s Department.

READ MORE: Oprah On Shooting Death Of Jacqueline Avant: ‘Numbed And In Shock’

The plane evidently took off out of Palmdale and flew a 2,359-mile meandering path into Central California and across Nevada. It landed in Boise, Idaho at about 7 p.m. local time.

NASA spokeswoman Kate Squires told CBSLA the aircraft was headed to a NASA/NOAA partnership mission dubbed “FIREX-AQ” to study the effects of fire smoke on air quality.

READ MORE: Passengers Stranded After Fog Forces Several Flights To Divert To Ontario Airport

“Since the plane was fully loaded with a suite of science instruments that are able to study different aspects of air quality, the CA Air Resources took advantage of the opportunity to have the science team observe the LA Basin and Central Valley as the plane made its way out of the state and on to Boise,” Squires said in a statement.

CBSLA’s Jasmine Viel was one of the commuters who saw the plane flying by.

MORE NEWS: Jacqueline Avant, Wife Of Music Executive Clarence Avant, Found Shot To Death In Beverly Hills Home Invasion

“It was scary, a little bit. You didn’t know if was going to land,” she said. “Everyone kind of stopped in their cars, looking up. It was big and loud.”