From d918dcc029edb9f9d09d047a4a956ccc53be735e Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Tue, 10 May 2022 06:42:10 +0200 Subject: [PATCH] Move SLR data into its own workbook --- inputs/distributions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inputs/distributions.py b/inputs/distributions.py index 03df1ab..be0b1c9 100644 --- a/inputs/distributions.py +++ b/inputs/distributions.py @@ -30,9 +30,7 @@ def triang_cdf(x, loc, scale, c): # Read data -xlsx_path = '20220502_Probabilistic_Erosion_Parameters_1st_DRAFT_FOR_DISCUSSION.xlsx' - -df = pd.read_excel(xlsx_path, sheet_name='IPCC AR6', index_col=[0, 1, 2, 3, 4]) +df = pd.read_excel('IPCC AR6.xlsx', index_col=[0, 1, 2, 3, 4]) df = df.sort_index() dff = df.loc[838, 'total', 'medium', 'ssp585'].T dff.index.name = 'year'