VIC icon indicating copy to clipboard operation
VIC copied to clipboard

Time varying albedo

Open jhamman opened this issue 9 years ago • 4 comments

The CESM and Image drivers both have a block of code in them that looks like this:

        for (v = 0; v < options.NVEGTYPES; v++) {
            vidx = veg_con_map[i].vidx[v];
            if (vidx != -1) {
                // not the correct way to calculate average albedo in general,
                // but leave for now (it's correct if albedo is constant over
                // the model step)
                veg_hist[i][vidx].albedo[NR] = average(veg_hist[i][vidx].albedo,
                                                       NF);
                veg_hist[i][vidx].LAI[NR] = average(veg_hist[i][vidx].LAI, NF);
                veg_hist[i][vidx].fcanopy[NR] = average(
                    veg_hist[i][vidx].fcanopy, NF);
            }
        }

This issue is meant to raise the issue stated in the comment regarding the correct way to average albedo.

jhamman avatar Mar 22 '16 04:03 jhamman

I guess it only matters once we actually have a time varying albedo. Until then it makes no actual difference, so I am going to mark it someday

bartnijssen avatar Mar 22 '16 04:03 bartnijssen

Didn't @dgergel 's PR's earlier this year regarding albedo averaging (July or August, I think? sorry, don't recall the PR and not finding it after a cursory check) address this issue?

tbohn avatar Dec 19 '17 06:12 tbohn

@tbohn that one didn't address this - because that PR was for gridcell-averaged albedo - so spatially rather than temporally averaged

dgergel avatar Dec 19 '17 20:12 dgergel

OK, sorry...

tbohn avatar Dec 19 '17 21:12 tbohn