Open changliao1025 opened 3 years ago
Initial value can be updated independently. Or it can be extracted from an existing case.
for j in range(oSwat.nParameter_watershed):
pPara = oSwat.aParameter_watershed[j]
sName1 = pPara.sName
if sName.lower() == sName1.lower():
#replace
oSwat.aParameter_watershed[j].dValue_current = dValue
iFlag_found = 1
break
The configuration file cannot contain too many parameters for practice. Instead, one or more separated files may be used for parameters.