Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -54,7 +54,7 @@ def get_data(address, start_date, end_date, radius_miles, get_max):
|
|
54 |
lat, lon=None, None
|
55 |
|
56 |
# Convert Lat Lon to row & col on Array
|
57 |
-
crs_dic = pickle.load(open('
|
58 |
transform = crs_dic['affine']
|
59 |
trans_hrrr = crs_dic['proj_4326']
|
60 |
lon_hrrr, lat_hrrr = trans_hrrr.transform(lon, lat)
|
|
|
54 |
lat, lon=None, None
|
55 |
|
56 |
# Convert Lat Lon to row & col on Array
|
57 |
+
crs_dic = pickle.load(open('Data/hrrr_crs.pkl', 'rb'))
|
58 |
transform = crs_dic['affine']
|
59 |
trans_hrrr = crs_dic['proj_4326']
|
60 |
lon_hrrr, lat_hrrr = trans_hrrr.transform(lon, lat)
|