[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
08c30d8b2e
commit
9d485a2185
@ -414,7 +414,7 @@ sector:
|
|||||||
SE: 70
|
SE: 70
|
||||||
NO: 70
|
NO: 70
|
||||||
FI: 70
|
FI: 70
|
||||||
return_temperature:
|
return_temperature:
|
||||||
default: 50
|
default: 50
|
||||||
DK: 40
|
DK: 40
|
||||||
SE: 40
|
SE: 40
|
||||||
|
@ -788,4 +788,4 @@ def get_snapshots(snapshots, drop_leap_day=False, freq="h", **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
def get_country_from_node_name(node_name: str) -> str:
|
def get_country_from_node_name(node_name: str) -> str:
|
||||||
return node_name[:2]
|
return node_name[:2]
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import xarray as xr
|
import xarray as xr
|
||||||
from _helpers import set_scenario_config, get_country_from_node_name
|
from _helpers import get_country_from_node_name, set_scenario_config
|
||||||
from CentralHeatingCopApproximator import CentralHeatingCopApproximator
|
from CentralHeatingCopApproximator import CentralHeatingCopApproximator
|
||||||
from DecentralHeatingCopApproximator import DecentralHeatingCopApproximator
|
from DecentralHeatingCopApproximator import DecentralHeatingCopApproximator
|
||||||
|
|
||||||
@ -80,14 +80,14 @@ if __name__ == "__main__":
|
|||||||
map_temperature_dict_to_onshore_regions(
|
map_temperature_dict_to_onshore_regions(
|
||||||
temperature_dict=snakemake.params.forward_temperature_central_heating,
|
temperature_dict=snakemake.params.forward_temperature_central_heating,
|
||||||
onshore_regions=onshore_regions,
|
onshore_regions=onshore_regions,
|
||||||
snapshots=source_inlet_temperature_celsius["time"]
|
snapshots=source_inlet_temperature_celsius["time"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return_temperature_central_heating: xr.DataArray = (
|
return_temperature_central_heating: xr.DataArray = (
|
||||||
map_temperature_dict_to_onshore_regions(
|
map_temperature_dict_to_onshore_regions(
|
||||||
temperature_dict=snakemake.params.return_temperature_central_heating,
|
temperature_dict=snakemake.params.return_temperature_central_heating,
|
||||||
onshore_regions=onshore_regions,
|
onshore_regions=onshore_regions,
|
||||||
snapshots=source_inlet_temperature_celsius["time"]
|
snapshots=source_inlet_temperature_celsius["time"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user