snowpack-model / snowpack

SNOWPACK model
GNU Lesser General Public License v3.0
10 stars 5 forks source link

Calculating SMB from WINDEROSIONDEPOSITION field #13

Closed EricKeenan closed 3 years ago

EricKeenan commented 3 years ago

Delta SWE is identical to (MS_HNW - MS_WIND - ET - MS_SNOWPACK_RUNOFF). But is not equal to (pr - WINDEROSIONDEPOSITION - ET - MS_SNOWPACK_RUNOFF)

Based off my understanding of the variables I would expect both expressions to be equal to detla SWE. Do you agree? If so, could the discrepancy be due to a programing error? My impression is that numerical errors arising from explicit snow drift should be encapsulated in delta swe and WINDEROSIONDEPOSITION, and therefore should not explain the difference.

Screen Shot 2020-10-29 at 4 40 46 PM
nwever commented 3 years ago

Fixed by commit f36940c4806cf7cd04d4bb94c0e76f243ae523e1