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

updated run_mixed_sampling to have a running example regarding the current changes

parent f0046284
No related branches found
No related tags found
3 merge requests!226Develop,!225Resolve "release v1.2.0",!208Resolve "mixed sampling decouple interpolation"
Pipeline #54836 passed
......@@ -7,22 +7,33 @@ from mlair.workflows import DefaultWorkflow
from mlair.data_handler.data_handler_mixed_sampling import DataHandlerMixedSampling, DataHandlerMixedSamplingWithFilter, \
DataHandlerSeparationOfScales
stats = {'o3': 'dma8eu', 'no': 'dma8eu', 'no2': 'dma8eu',
'relhum': 'average_values', 'u': 'average_values', 'v': 'average_values',
'cloudcover': 'average_values', 'pblheight': 'maximum',
'temp': 'maximum'}
data_origin = {'o3': '', 'no': '', 'no2': '',
'relhum': 'REA', 'u': 'REA', 'v': 'REA',
'cloudcover': 'REA', 'pblheight': 'REA',
'temp': 'REA'}
def main(parser_args):
args = dict(sampling="daily",
sampling_inputs="hourly",
window_history_size=24,
**parser_args.__dict__,
data_handler=DataHandlerSeparationOfScales,
args = dict(stations=["DEBW107", "DEBW013"],
network="UBA",
evaluate_bootstraps=False, plot_list=[],
data_origin=data_origin, data_handler=DataHandlerMixedSampling,
interpolation_limit=(3, 1), overwrite_local_data=False,
sampling=("hourly", "daily"),
statistics_per_var=stats,
create_new_model=False, train_model=False, epochs=1,
window_history_size=48,
kz_filter_length=[100 * 24, 15 * 24],
kz_filter_iter=[4, 5],
start="2006-01-01",
train_start="2006-01-01",
end="2011-12-31",
test_end="2011-12-31",
stations=["DEBW107", "DEBW013"],
epochs=100,
network="UBA",
**parser_args.__dict__,
)
workflow = DefaultWorkflow(**args)
workflow.run()
......
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