-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
42 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Library | ||
======= | ||
# Library | ||
|
||
Documentation for `SpaceIndices.jl`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
Quick Start | ||
=========== | ||
# Quick Start | ||
|
||
```@meta | ||
CurrentModule = SpaceIndices | ||
DocTestSetup = quote | ||
using SpaceIndices | ||
end | ||
``` | ||
|
||
```@setup quick_start | ||
using SpaceIndices | ||
using Scratch | ||
Scratch.clear_scratchspaces!(SpaceIndices) | ||
``` | ||
|
||
This quick tutorial will show how to use **SpaceIndicies.jl** to obtain the F10.7 index at | ||
2020-06-19. | ||
|
||
First, we need to initialize all the space indices: | ||
|
||
```julia-repl | ||
julia> SpaceIndices.init() | ||
[ Info: Downloading the file 'DTCFILE.TXT' from 'http://sol.spacenvironment.net/jb2008/indices/DTCFILE.TXT'... | ||
[ Info: Downloading the file 'SOLFSMY.TXT' from 'http://sol.spacenvironment.net/jb2008/indices/SOLFSMY.TXT'... | ||
[ Info: Downloading the file 'SW-All.csv' from 'https://celestrak.org/SpaceData/SW-All.csv'... | ||
```@repl quick_start | ||
SpaceIndices.init() | ||
``` | ||
|
||
Afterward, we can obtain the desired space index using: | ||
|
||
```julia-repl | ||
julia> space_index(Val(:F10adj), DateTime(2020, 6, 19)) | ||
71.1 | ||
```@repl quick_start | ||
space_index(Val(:F10adj), DateTime(2020, 6, 19)) | ||
``` |