Commit 1d7534e7 authored by POLCHER Jan's avatar POLCHER Jan 🚴🏾
Browse files

Stupid mistake when taking over some code.

parent cc1fe809
......@@ -187,11 +187,11 @@ class HydroGrid :
return indices, polylist
def resolution(self,i,j) :
if i+1 >= iim :
if i+1 >= self.iim :
inx=i-1
else :
inx=i+1
if j+1 >= jjm :
if j+1 >= self.jjm :
jnx=j-1
else :
jnx=j+1
......@@ -281,9 +281,9 @@ class HydroParameter :
self.swamp_cst = 0.2
elif hydrogrid.hd >= 0.016 :
# Case for MERIT
self.stream_tcst = 0.07
self.fast_tcst = 1.0
self.slow_tcst = 10.0
self.stream_tcst = 0.0014
self.fast_tcst = 0.07
self.slow_tcst = 0.98
self.flood_tcst = 4.0
self.swamp_cst = 0.2
elif hydrogrid.hd >= 0.008 :
......
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