Skip to content
Snippets Groups Projects
Commit 93b33084 authored by leufen1's avatar leufen1
Browse files

further temporal adjustments

parent aee2a987
No related branches found
No related tags found
3 merge requests!253include current develop,!252Resolve "release v1.3.0",!196Resolve "Competitor Models"
......@@ -3,11 +3,26 @@ __date__ = '2020-06-29'
import argparse
from mlair.workflows import DefaultWorkflow
from mlair.helpers import remove_items
from mlair.configuration.defaults import DEFAULT_PLOT_LIST
def main(parser_args):
def load_stations():
import json
try:
filename = 'supplement/station_list_north_german_plain_rural.json'
with open(filename, 'r') as jfile:
stations = json.load(jfile)
except FileNotFoundError:
stations = None
return stations
workflow = DefaultWorkflow(**parser_args.__dict__)
def main(parser_args):
plots = remove_items(DEFAULT_PLOT_LIST, "PlotConditionalQuantiles")
workflow = DefaultWorkflow(stations=load_stations(),
train_model=False, create_new_model=False, network="UBA",
evaluate_bootstraps=False, plot_list=["PlotStationMap"], **parser_args.__dict__)
workflow.run()
......
......@@ -9,7 +9,7 @@ from mlair.workflows import DefaultWorkflow
def load_stations():
import json
try:
filename = 'supplement/station_list_north_german_plain.json'
filename = 'supplement/station_list_north_german_plain_rural.json'
with open(filename, 'r') as jfile:
stations = json.load(jfile)
except FileNotFoundError:
......@@ -18,8 +18,11 @@ def load_stations():
def main(parser_args):
workflow = DefaultWorkflow(sampling="hourly", window_history_size=48, **parser_args.__dict__)
workflow = DefaultWorkflow(sampling="hourly", window_history_size=8, stations=load_stations(),
train_model=False,
create_new_model=False,
network="UBA",
plot_list=["PlotStationMap"], **parser_args.__dict__)
workflow.run()
......
[
"DENI031",
"DEBE062",
"DEUB020",
"DESH001",
"DEUB022",
"DEBB053",
"DEMV017",
"DENI063",
"DENI058",
"DESH014",
"DEUB007",
"DEUB005",
"DEBB051",
"DEUB034",
"DEST089",
"DEUB028",
"DESH017",
"DEUB030",
"DEMV012",
"DENI059",
"DENI060",
"DESH013",
"DEUB006",
"DEUB027",
"DEUB026",
"DEUB038",
"DEMV001",
"DEUB024",
"DEUB037",
"DESH008",
"DEMV004",
"DEUB040",
"DEMV024",
"DEMV026",
"DESH056",
"DEHH063",
"DEUB001",
"DEST069"
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment