Snowpack–snow and ice–is affected by temperature, which affects freezing and melting and thus, levels of freshwater input to rivers, lakes, and the ocean.