UW-Hydro / VIC

The Variable Infiltration Capacity (VIC) Macroscale Hydrologic Model
http://vic.readthedocs.io
MIT License
262 stars 393 forks source link

Feature/add maximum snow albedo option #835

Closed dgergel closed 6 years ago

dgergel commented 6 years ago

This PR adds in a vegetation-dependent maximum snow albedo for new snow option called MAX_SNOW_ALBEDO. When set to True in the global parameter file, maximum snow albedo is read in from the parameters file and used throughout the snow routines for new snow albedo except for bare soil.

It also includes an unrelated bug fix to vic/drivers/shared_image/src/vic_restore.c which was necessary for being able to successfully compile the model.

dgergel commented 6 years ago

@jhamman here is a point simulation for a gridcell that is in Siberia, with ~60% grassland (max snow albedo of 0.7) and ~35% bare soil:

max_albedo_example

dgergel commented 6 years ago

@bartnijssen @jhamman I just took a stab at updating the unit test - not sure if this is the best way or not.