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
3ba92019
Commit
3ba92019
authored
9 years ago
by
Eddie McWhirter
Browse files
Options
Downloads
Patches
Plain Diff
Add some examples to the SqDist usage readme.
parent
3ee9aa05
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/algorithms/SqDist.md
+1
-1
1 addition, 1 deletion
docs/algorithms/SqDist.md
docs/algorithms/SqDist_usage.md
+42
-0
42 additions, 0 deletions
docs/algorithms/SqDist_usage.md
with
43 additions
and
1 deletion
docs/algorithms/SqDist.md
+
1
−
1
View file @
3ba92019
Geomagnetic Secular Variation, Solar Quiet, and Disturbance
Geomagnetic Secular Variation, Solar Quiet, and Disturbance
=====================================
=====================================
======================
E. Joshua Rigler
<
[erigler@usgs.gov](mailto:erigler@usgs.gov)
>
E. Joshua Rigler
<
[erigler@usgs.gov](mailto:erigler@usgs.gov)
>
...
...
This diff is collapsed.
Click to expand it.
docs/algorithms/SqDist_usage.md
+
42
−
0
View file @
3ba92019
...
@@ -6,6 +6,48 @@ The Solar Quiet and Disturbance Algorithm calculates `Solar Variation`,
...
@@ -6,6 +6,48 @@ The Solar Quiet and Disturbance Algorithm calculates `Solar Variation`,
`geomag.py --algorithm sqdist`
`geomag.py --algorithm sqdist`
### Example
This example uses a state file to produce magnetic-h-based Dist, SQ, and SV
channels using the EDGE channel naming convention.
bin/geomag.py \
--input-edge cwbpub.cr.usgs.gov \
--observatory BOU \
--inchannels H E Z F \
--starttime 2016-01-03T00:01:00 \
--endtime 2016-01-04T00:00:00 \
--algorithm sqdist \
--sqdist-mag \
--sqdist-statefile=/tmp/sqdist_h_state.json \
--rename-output-channel H_SQ MSQ \
--rename-output-channel H_SV MSV \
--rename-output-channel H_Dist MDT \
--outchannels MDT MSQ MSV \
--output-iaga-stdout
This example processes just one channel (X).
bin/geomag.py \
--input-edge cwbpub.cr.usgs.gov \
--observatory BOU \
--inchannels X \
--starttime 2016-01-03T00:01:00 \
--endtime 2016-01-04T00:00:00 \
--algorithm sqdist \
--sqdist-statefile=/tmp/sqdist_x_state.json \
--rename-output-channel X_Dist MXT \
--rename-output-channel X_SQ MXQ \
--rename-output-channel X_SV MXV \
--outchannels MXT MXQ MXV \
--output-iaga-stdout
> Note only one inchannel is specified and the --sqdist-mag option is omitted.
### Library Notes
> Note: this library internally represents data gaps as NaN, and factories
> Note: this library internally represents data gaps as NaN, and factories
> convert to this where possible.
> convert to this where possible.
...
...
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