Spaces:
Running
Running
mikonvergence
commited on
Commit
•
7605761
1
Parent(s):
4a51190
Update helpers/functional.py
Browse files- helpers/functional.py +1 -1
helpers/functional.py
CHANGED
@@ -115,7 +115,7 @@ def map_to_image(map, return_centre=False, return_gridcell=False, return_timesta
|
|
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:
|
|
|
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:
|