mattritchey commited on
Commit
b1da473
1 Parent(s): b64d306

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -51,8 +51,7 @@ def get_data(row, col, radius=8):
51
  all_dates = []
52
  for f in files:
53
  with h5py.File(f, 'r') as f:
54
- data = f['hail'][:, row-radius:row +
55
- radius+1, col-radius:col+radius+1]
56
  dates = f['dates'][:]
57
  all_data.append(data)
58
  all_dates.append(dates)
 
51
  all_dates = []
52
  for f in files:
53
  with h5py.File(f, 'r') as f:
54
+ data = f['hail'][:, row - radius: row + radius+ 1, col-radius: col+radius+1]
 
55
  dates = f['dates'][:]
56
  all_data.append(data)
57
  all_dates.append(dates)