OttoYu commited on
Commit
71df727
1 Parent(s): f4457a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def calculate_flow_direction(dtm_file):
8
  elevation_array = cv2.imread(dtm_file.name, cv2.IMREAD_GRAYSCALE).astype(float)
9
 
10
  # Step 2: Compute the slope and aspect of each cell in the DTM
11
- cell_size = 0.2 # Set the cell size in meters
12
  dx = dy = cell_size
13
 
14
  # Compute the x and y gradient values
 
8
  elevation_array = cv2.imread(dtm_file.name, cv2.IMREAD_GRAYSCALE).astype(float)
9
 
10
  # Step 2: Compute the slope and aspect of each cell in the DTM
11
+ cell_size = 0.1 # Set the cell size in meters
12
  dx = dy = cell_size
13
 
14
  # Compute the x and y gradient values