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
Merge requests
!318
Resolve "release v1.4.0"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "release v1.4.0"
release_v1.4.0
into
master
Overview
0
Commits
229
Pipelines
3
Changes
2
Merged
Ghost User
requested to merge
release_v1.4.0
into
master
3 years ago
Overview
0
Commits
229
Pipelines
3
Changes
2
Expand
Closes
#317 (closed)
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
754e61f0
Prev
Next
Show latest version
2 files
+
20
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
754e61f0
added many loggings to find HPC error
· 754e61f0
leufen1
authored
4 years ago
mlair/data_handler/data_handler_with_filter.py
+
2
−
1
Options
@@ -9,7 +9,7 @@ import pandas as pd
import
xarray
as
xr
from
typing
import
List
,
Union
,
Tuple
,
Optional
from
functools
import
partial
import
logging
from
mlair.data_handler.data_handler_single_station
import
DataHandlerSingleStation
from
mlair.data_handler
import
DefaultDataHandler
from
mlair.helpers
import
remove_items
,
to_list
,
TimeTrackingWrapper
@@ -318,6 +318,7 @@ class DataHandlerClimateFirFilterSingleStation(DataHandlerFirFilterSingleStation
def
apply_filter
(
self
):
"""
Apply FIR filter only on inputs.
"""
self
.
apriori
=
self
.
apriori
.
get
(
str
(
self
))
if
isinstance
(
self
.
apriori
,
dict
)
else
self
.
apriori
logging
.
info
(
f
"
{
self
.
station
}
: call ClimateFIRFilter
"
)
climate_filter
=
ClimateFIRFilter
(
self
.
input_data
,
self
.
fs
,
self
.
filter_order
,
self
.
filter_cutoff_freq
,
self
.
filter_window_type
,
time_dim
=
self
.
time_dim
,
var_dim
=
self
.
target_dim
,
apriori_type
=
self
.
apriori_type
,
apriori
=
self
.
apriori
,
Loading