Skip to content

Commit edf2715

Browse files
committed
2 parents 839a2d0 + d62b0c9 commit edf2715

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

climada/util/finance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def world_bank_wealth_account(cntry_iso, ref_year, variable_name = "NW.PCA.TO",
341341
LOGGER.warning('No data available for country. Using non-financial wealth instead')
342342
gdp_year, gdp_val = gdp(cntry_iso, ref_year)
343343
ref_year_fac, fac = wealth2gdp(cntry_iso)
344-
return gdp_year, np.around((fac*gdp_val),1)
344+
return gdp_year, np.around((fac*gdp_val),1), 0
345345
if ref_year in years: # indicator for reference year is available directly
346346
result = data_wealth.loc[:,np.str(ref_year)].values[0]
347347
elif ref_year > np.min(years) and ref_year < np.max(years): # interpolate
@@ -358,4 +358,4 @@ def world_bank_wealth_account(cntry_iso, ref_year, variable_name = "NW.PCA.TO",
358358
ref_year = gdp_year
359359
if 'NW.PCA.' in variable_name and no_land: # remove value of built-up land from produced capital
360360
result = result/1.24
361-
return ref_year, np.around(result,1)
361+
return ref_year, np.around(result,1), 1

data/system/GSDP/CHE_GSDP.xls

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)