mattritchey commited on
Commit
ef532da
·
verified ·
1 Parent(s): 60fd745

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -55,7 +55,7 @@ def get_data(address, start_date, end_date, radius_miles, get_max):
55
 
56
  # Convert Lat Lon to row & col on Array
57
  try:
58
- transform = pickle.load(open(r'Data\hrrr_crs.pkl', 'rb'))
59
  row, col = rasterio.transform.rowcol(transform['affine'], lon, lat)
60
  except:
61
  transform =row=col=None
 
55
 
56
  # Convert Lat Lon to row & col on Array
57
  try:
58
+ transform = pickle.load(open('apcp_hrrr_api/Data/hrrr_crs.pkl', 'rb'))
59
  row, col = rasterio.transform.rowcol(transform['affine'], lon, lat)
60
  except:
61
  transform =row=col=None