JWST used its Mid-Infrared Instrument (MIRI) to measure light variations over a 24-hour period, allowing researchers to create a detailed temperature map of the planet.