Update scripts/build_hydro_profile.py
This commit is contained in:
parent
3b77b4a370
commit
ff99db5cb5
@ -140,9 +140,9 @@ def approximate_missing_eia_stats(eia_stats, runoff_fn, countries):
|
||||
|
||||
# fix outliers; exceptional floods in 1977-1979 in ES & PT
|
||||
if "ES" in runoff:
|
||||
runoff.loc[1978, ["ES"]] = runoff.loc[1979, ["ES"]]
|
||||
runoff.loc[1978, "ES"] = runoff.loc[1979, "ES"]
|
||||
if "PT" in runoff:
|
||||
runoff.loc[1978, ["PT"]] = runoff.loc[1979, ["PT"]]
|
||||
runoff.loc[1978, "PT"] = runoff.loc[1979, "PT"]
|
||||
|
||||
runoff_eia = runoff.loc[eia_stats.index]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user