How is rainfall and temperature measured