To identify which layer they are studying based on temperature, the astronomers can observe the following characteristic temperatures associated with the different layers of the Sun:
The highest temperatures are from the corona.
The corona, which is the outermost layer of the Sun's atmosphere, has exceedingly high temperatures, reaching up to millions of degrees Celsius, significantly higher than those of the other layers. By confirming that their data shows the highest temperatures, the astronomers can determine they are observing the corona.