From 4a225b3652b67bd4173e2c93cd1d6b065ca97d27 Mon Sep 17 00:00:00 2001 From: KYSIEMENS <123513889+KYSIEMENS@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:04:05 -0700 Subject: [PATCH] Update grib2poly.py (#103) --- scripts/src/grib2poly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/src/grib2poly.py b/scripts/src/grib2poly.py index 1165b82..272b144 100644 --- a/scripts/src/grib2poly.py +++ b/scripts/src/grib2poly.py @@ -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)