WSL/SLF GitLab Repository

Commit 6f110180 authored by Adrien Michel's avatar Adrien Michel
Browse files

Wind value correction

parent b039e20c
...@@ -516,8 +516,10 @@ void SnowpackInterfaceWorker::runModel(const mio::Date &date, ...@@ -516,8 +516,10 @@ void SnowpackInterfaceWorker::runModel(const mio::Date &date,
} }
} }
bool adjust_height_of_wind_value;
sn_cfg.getValue("ADJUST_HEIGHT_OF_WIND_VALUE", "SnowpackAdvanced", adjust_height_of_wind_value);
//compute ustar, psi_s, z0 //compute ustar, psi_s, z0
meteo.compMeteo(meteoPixel, snowPixel, true); meteo.compMeteo(meteoPixel, snowPixel, true, adjust_height_of_wind_value);
SurfaceFluxes surfaceFlux; SurfaceFluxes surfaceFlux;
// run snowpack model itself // run snowpack model itself
double dIntEnergy = 0.; //accumulate the dIntEnergy over the snowsteps double dIntEnergy = 0.; //accumulate the dIntEnergy over the snowsteps
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment