Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 711f4d63 authored by POLCHER Jan's avatar POLCHER Jan 🚴🏾
Browse files

A estimation of the maximu stream time step which is more realistic.

parent 2ecb541b
......@@ -277,7 +277,7 @@ class HydroGraph :
ncvar.units = "count"
ncvar[:] = thist[:]
maxtstep = weighted_quantile(gvar[~np.isnan(gvar)]*usedtcst, 0.50, sample_weight=garea[~np.isnan(gvar)])
maxtstep = weighted_quantile(gvar[~np.isnan(gvar)]*usedtcst, 0.25, sample_weight=garea[~np.isnan(gvar)])
mtstep = outnf.createVariable("MaxTimeStep"+addname, vtyp, ('dimpara'), fill_value=NCFillValue)
if addname.lower() == "stream" :
mtstep.title = "Maximum time-step for stream reservoir of HTUs"
Markdown is supported
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