looping over temperatures for retrieval