Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
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
Service Desk
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
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
edf3aad4
Commit
edf3aad4
authored
3 years ago
by
Cain, Payton David
Browse files
Options
Downloads
Patches
Plain Diff
update filter application docstrings
parent
40fb8c66
No related branches found
No related tags found
2 merge requests
!166
Merge branch master into production
,
!161
Filter application
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geomagio/processing/filters.py
+14
-14
14 additions, 14 deletions
geomagio/processing/filters.py
with
14 additions
and
14 deletions
geomagio/processing/filters.py
+
14
−
14
View file @
edf3aad4
...
...
@@ -28,9 +28,9 @@ def main():
)
def
day_command
(
observatory
:
str
=
Argument
(
None
,
help
=
"
observatory id
"
),
input_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to request data
"
),
output_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to write data
"
),
realtime_interval
:
int
=
Option
(
86400
,
help
=
"
length of update window
"
),
input_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to request data
from
"
),
output_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to write data
to
"
),
realtime_interval
:
int
=
Option
(
86400
,
help
=
"
length of update window
(in seconds)
"
),
update_limit
:
int
=
Option
(
7
,
help
=
"
number of update windows
"
),
):
day_filter
(
...
...
@@ -48,9 +48,9 @@ def day_command(
)
def
hour_command
(
observatory
:
str
=
Argument
(
None
,
help
=
"
observatory id
"
),
input_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to request data
"
),
output_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to write data
"
),
realtime_interval
:
int
=
Option
(
3600
,
help
=
"
length of update window
"
),
input_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to request data
from
"
),
output_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to write data
to
"
),
realtime_interval
:
int
=
Option
(
3600
,
help
=
"
length of update window
(in seconds)
"
),
update_limit
:
int
=
Option
(
24
,
help
=
"
number of update windows
"
),
):
hour_filter
(
...
...
@@ -88,10 +88,10 @@ def hour_command(
)
def
realtime_command
(
observatory
:
str
=
Argument
(
None
,
help
=
"
observatory id
"
),
input_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to request data
"
),
output_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to write data
"
),
input_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to request data
from
"
),
output_host
:
str
=
Option
(
"
127.0.0.1
"
,
help
=
"
host to write data
to
"
),
data_format
:
DataFormat
=
Option
(
DataFormat
.
PCDCP
,
help
=
"
Data acquisition system
"
),
realtime_interval
:
int
=
Option
(
600
,
help
=
"
length of update window
"
),
realtime_interval
:
int
=
Option
(
600
,
help
=
"
length of update window
(in seconds)
"
),
update_limit
:
int
=
Option
(
10
,
help
=
"
number of update windows
"
),
):
if
data_format
==
DataFormat
.
OBSRIO
:
...
...
@@ -209,7 +209,7 @@ def day_filter(
output_factory: TimeseriesFactory
factory to write data
realtime_interval: int
length of update window
length of update window
(in seconds)
update_limit: int
number of update windows
"""
...
...
@@ -260,7 +260,7 @@ def hour_filter(
output_factory: TimeseriesFactory
factory to write data
realtime_interval: int
length of update window
length of update window
(in seconds)
update_limit: int
number of update windows
"""
...
...
@@ -311,7 +311,7 @@ def minute_filter(
output_factory: TimeseriesFactory
factory to write data
realtime_interval: int
length of update window
length of update window
(in seconds)
update_limit: int
number of update windows
"""
...
...
@@ -359,7 +359,7 @@ def second_filter(
output_factory: TimeseriesFactory
factory to write data
realtime_interval: int
length of update window
length of update window
(in seconds)
update_limit: int
number of update windows
"""
...
...
@@ -415,7 +415,7 @@ def _copy_channels(
output_factory: TimeseriesFactory
factory to write data
realtime_interval: int
length of update window
length of update window
(in seconds)
update_limit: int
number of update windows
"""
...
...
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