Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
machine-learning
MLAir
Commits
93b33084
Commit
93b33084
authored
4 years ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
further temporal adjustments
parent
aee2a987
No related branches found
No related tags found
3 merge requests
!253
include current develop
,
!252
Resolve "release v1.3.0"
,
!196
Resolve "Competitor Models"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
run.py
+17
-2
17 additions, 2 deletions
run.py
run_hourly.py
+6
-3
6 additions, 3 deletions
run_hourly.py
supplement/station_list_north_german_plain_rural.json
+40
-0
40 additions, 0 deletions
supplement/station_list_north_german_plain_rural.json
with
63 additions
and
5 deletions
run.py
+
17
−
2
View file @
93b33084
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
run_hourly.py
+
6
−
3
View file @
93b33084
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
supplement/station_list_north_german_plain_rural.json
0 → 100644
+
40
−
0
View file @
93b33084
[
"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"
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment