Here is an old-school weather station on the National Trust for Scotland Threave Estate near Castle Douglas. The white box is called a Stevenson screen. Inside it are thermometers and pressure gauges and instruments like that. The box stops direct sunlight so infra-red heat radiation can't affect the thermometer readings. It also keeps out rain and snow for similar reasons. But the slats let the air circulate to give perfect conditions for shade temperature readings.