WSL/SLF GitLab Repository

Improper treatment of *SMET in SNOWPACK - PSUM scales with window size and accumulation period of 1D interpolation

This issue was reported by Bettina Richter.

PSUM input will be scaled with windowsize for 1D interpolation and accumulation period in SNOWPACK

Steps to reproduce the problem:

  1. Run a simulation with Alpine3D [Interpolations1D] WINDOW_SIZE = 86400 PSUM::resample = accumulate PSUM::accumulate::period = 3600

result: maximum snow height 2m

  1. Run the simulation using the same input with SNOWPACK [Snowpack] ENFORCED_MEASURED_SNOW_HEIGHTS = FALSE

result: maximum snow height 7m

  1. SNOWPACK produces 7meters snow, Alpine3D produces 2m

  2. Run SNOWPACK simulation with a different accumulation period: PSUM::accumulate::period = 900 -> SNOWPACK produces 2m PSUM::accumulate::period = 1800 -> SNOWPACK produces 4m WINDOW_SIZE = 43200 -> SNOWPACK also scales PSUM input

Expected result: 2 meters

Actual result: 7 meters