Skip to content

Commit

Permalink
Update grib2poly.py (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
KYSIEMENS authored Jul 31, 2024
1 parent 06841ee commit 4a225b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/src/grib2poly.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,14 @@ def watershed_forecast_averaging(file_list, zone, output, type = 'forecast'):
hr_index = pd.date_range(start=current_date,end=end_date,freq='h')

#CLEVER Zonal Precip:
clever_shp_path = 'raw_data/shape/CLEVER/CLEVER_BASINS.shp'
clever_shp_path = 'data/shape/CLEVER/CLEVER_BASINS.shp'
clever_shp = geopandas.read_file(clever_shp_path)
output_template = pd.DataFrame(data=None, index = hr_index, columns = clever_shp.WSDG_ID)
CLEVER_precip = watershed_forecast_averaging(file_list, clever_shp, output_template)
df_to_objstore(CLEVER_precip,CLEVER_obj_path)

#COFFEE Zonal Precip:
coffee_shp_path = 'raw_data/shape/COFFEE/COFFEE_BASIN.shp'
coffee_shp_path = 'data/shape/COFFEE/COFFEE_BASIN.shp'
coffee_shp = geopandas.read_file(coffee_shp_path)
output_template = pd.DataFrame(data=None, index = hr_index, columns = coffee_shp .WSDG_ID)
COFFEE_precip = watershed_forecast_averaging(file_list, coffee_shp, output_template)
Expand Down

0 comments on commit 4a225b3

Please sign in to comment.