From b87a3c5212eb9250a0876af159038d7c0a05f48f Mon Sep 17 00:00:00 2001 From: mariavictoriadiaz Date: Tue, 12 Sep 2023 11:06:43 -0500 Subject: [PATCH] fix issue --- src/aclimate_resampling/resampling.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/aclimate_resampling/resampling.py b/src/aclimate_resampling/resampling.py index 65a402a..a3e9a2b 100644 --- a/src/aclimate_resampling/resampling.py +++ b/src/aclimate_resampling/resampling.py @@ -430,7 +430,6 @@ def forecast_station(self,station, prob, daily_data_root, output_root, year_fore base_years = base_years.rename(columns={0: 'id',1: s[0]}) base_years['id'] = base_years['id'] + 1 seasons_range['id'] = seasons_range['id']+1 - seasons_range = seasons_range.drop(columns= ['index']) p = {'id': [station],'issue': ['Station just have one season available'], 'season': [base_years.columns[1]]} problem = pd.DataFrame(p) base_years.to_csv(os.path.join(val_root, f"{station}_Escenario_A.csv"), index = False)