mattritchey commited on
Commit
e801fec
·
verified ·
1 Parent(s): b6f337f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -5
main.py CHANGED
@@ -56,11 +56,13 @@ def get_data(address, start_date, end_date, radius_miles, get_max):
56
  row, col = rasterio.transform.rowcol(transform['affine'], lon, lat)
57
 
58
 
59
- files = ["Data/APCP_2024_hrrr_v2.h5",
60
- "Data/APCP_2020_hrrr_v3.h5",
61
- "Data/APCP_2021_hrrr_3.h5",
62
- "Data/APCP_2022_hrrr_v2.h5",
63
- "Data/APCP_2023_hrrr_v2c.h5"]
 
 
64
 
65
  files_choosen = [i for i in files if any(i for j in years if str(j) in i)]
66
 
 
56
  row, col = rasterio.transform.rowcol(transform['affine'], lon, lat)
57
 
58
 
59
+ files = [
60
+ # 'Data/APCP_2024_hrrr_v2.h5',
61
+ 'Data/APCP_2020_hrrr_v3.h5',
62
+ 'Data/APCP_2021_hrrr_3.h5',
63
+ 'Data/APCP_2022_hrrr_v2.h5',
64
+ # 'Data/APCP_2023_hrrr_v2c.h5'
65
+ ]
66
 
67
  files_choosen = [i for i in files if any(i for j in years if str(j) in i)]
68