Skip to content
Snippets Groups Projects
Commit 6462795c authored by leufen1's avatar leufen1
Browse files

use mixed sampling run script also for separation of scales

parent 0c31e0b8
Branches
Tags
3 merge requests!192include Develop,!191Resolve "release v1.1.0",!186Resolve "Separation of Scales"
Pipeline #51952 passed
...@@ -4,7 +4,8 @@ __date__ = '2019-11-14' ...@@ -4,7 +4,8 @@ __date__ = '2019-11-14'
import argparse import argparse
from mlair.workflows import DefaultWorkflow from mlair.workflows import DefaultWorkflow
from mlair.data_handler.data_handler_mixed_sampling import DataHandlerMixedSampling, DataHandlerMixedSamplingWithFilter from mlair.data_handler.data_handler_mixed_sampling import DataHandlerMixedSampling, DataHandlerMixedSamplingWithFilter, \
DataHandlerMixedSamplingSeparationOfScales
def main(parser_args): def main(parser_args):
...@@ -12,15 +13,16 @@ def main(parser_args): ...@@ -12,15 +13,16 @@ def main(parser_args):
sampling_inputs="hourly", sampling_inputs="hourly",
window_history_size=72, window_history_size=72,
**parser_args.__dict__, **parser_args.__dict__,
data_handler=DataHandlerMixedSampling, # WithFilter, data_handler=DataHandlerMixedSamplingSeparationOfScales,
kz_filter_length=[365 * 24, 20 * 24], kz_filter_length=[100 * 24, 15 * 24],
kz_filter_iter=[3, 5], kz_filter_iter=[4, 5],
start="2006-01-01", start="2006-01-01",
train_start="2006-01-01", train_start="2006-01-01",
end="2011-12-31", end="2011-12-31",
test_end="2011-12-31", test_end="2011-12-31",
stations=["DEBW107", "DEBW013"], stations=["DEBW107", "DEBW013"],
epochs=100, epochs=100,
plot_list=["PlotAvailability"]
) )
workflow = DefaultWorkflow(**args) workflow = DefaultWorkflow(**args)
workflow.run() workflow.run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment