Closed hailiangliu89 closed 1 year ago
In hydro.py, line 103 nhours = (distances * (flowspeed * 3.6) + 0.5).astype(int) should be nhours = ((distances * 1000) / (flowspeed * 3600) + 0.5).astype(int) or nhours = (distances / (flowspeed * 3.6) + 0.5).astype(int)
nhours = (distances * (flowspeed * 3.6) + 0.5).astype(int)
nhours = ((distances * 1000) / (flowspeed * 3600) + 0.5).astype(int)
nhours = (distances / (flowspeed * 3.6) + 0.5).astype(int)
@hailiangliu89 thanks! I was so free to add a release note.
In hydro.py, line 103
nhours = (distances * (flowspeed * 3.6) + 0.5).astype(int)
should benhours = ((distances * 1000) / (flowspeed * 3600) + 0.5).astype(int)
ornhours = (distances / (flowspeed * 3.6) + 0.5).astype(int)