mikonvergence commited on
Commit
4a51190
1 Parent(s): 76e91db
Files changed (1) hide show
  1. helpers/functional.py +3 -3
helpers/functional.py CHANGED
@@ -110,12 +110,12 @@ def map_to_image(map, return_centre=False, return_gridcell=False, return_timesta
110
 
111
  if row is not None:
112
  parquet_url, parquet_row, meta_row = row
113
- print(meta_row)
114
- img = row2image(parquet_url, parquet_row).resize(1068,1068)
115
  # 4. acquire image # X. update map
116
  lat, lon = meta_row.centre_lat.item(), meta_row.centre_lon.item()
117
 
118
- ret = [img]
119
  if return_centre:
120
  ret.append((lat,lon))
121
  if return_gridcell:
 
110
 
111
  if row is not None:
112
  parquet_url, parquet_row, meta_row = row
113
+
114
+ img = row2image(parquet_url, parquet_row)
115
  # 4. acquire image # X. update map
116
  lat, lon = meta_row.centre_lat.item(), meta_row.centre_lon.item()
117
 
118
+ ret = [img.resize(1068,1068)]
119
  if return_centre:
120
  ret.append((lat,lon))
121
  if return_gridcell: