remove UA from countries list for synthetic load data
This commit is contained in:
parent
feb564506a
commit
48f199f936
@ -311,6 +311,8 @@ if __name__ == "__main__":
|
|||||||
logger.info("Supplement missing data with synthetic data.")
|
logger.info("Supplement missing data with synthetic data.")
|
||||||
fn = snakemake.input.synthetic
|
fn = snakemake.input.synthetic
|
||||||
synthetic_load = pd.read_csv(fn, index_col=0, parse_dates=True)
|
synthetic_load = pd.read_csv(fn, index_col=0, parse_dates=True)
|
||||||
|
# "UA" does not appear in synthetic load data
|
||||||
|
countries = list(set(countries) - set(["UA"]))
|
||||||
synthetic_load = synthetic_load.loc[snapshots, countries]
|
synthetic_load = synthetic_load.loc[snapshots, countries]
|
||||||
load = load.combine_first(synthetic_load)
|
load = load.combine_first(synthetic_load)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user