Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymagglobal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
sec23
korte
pymagglobal
Commits
7a2eed35
Commit
7a2eed35
authored
4 years ago
by
Maximilian Schanner
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitext.gfz-potsdam.de:arthus/pymagglobal
parents
ae340a58
23fe45e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-17
15 additions, 17 deletions
README.md
with
15 additions
and
17 deletions
README.md
+
15
−
17
View file @
7a2eed35
# pymagglobal
**python interface for global geomagnetic field models**
...
...
@@ -58,39 +56,45 @@ pymagglobal is built and installed using [conda](https://www.anaconda.com/).
1.
Download and install
[
Miniconda
](
https://conda.io/miniconda.html
)
for Python 3
By default, the installation directory
`<conda>`
is
`~/miniconda3/`
.
If you let conda modify your
`bash.rc`
,
`<conda>/bin/conda`
may be replaced by
`conda`
.
If you do not allow conda to modify your
`bash.rc`
,
`conda`
has to be replaced by
`<conda>/bin/conda`
. This may cause
`install.sh`
to fail.
You may want to create a fresh environment for pymagglobal. This is done using
```
console
$
<conda>/bin/
conda create
--name
Your_Environment
$
conda create
--name
Your_Environment
```
followed by
```
console
$
<conda>/bin/
conda activate Your_Environment
$
conda activate Your_Environment
```
Careful: With tcshell, you have to use activate.csh.
2.
Install
`conda-build`
```
console
$
<conda>/bin/
conda
install
conda-build
$
conda
install
conda-build
```
With
`conda-build`
installed, you may go to
`<pymagglobal>`
and run
```
console
$
bash install.sh
```
which will do the next steps for you. If
`install.sh`
fails or you want to do the steps by hand:
3.
Build [FieldTools]
This step will make the pyfield library available via the local conda channel.
Navigate to
`<pymagglobal>`
and build [FieldTools]
```
console
$
<conda>/bin/
conda build FieldTools
$
conda build FieldTools
```
4.
Build pymagglobal
Navigate to
`
../
<pymagglobal>`
and build pymagglobal
Navigate to
`<pymagglobal>`
and build pymagglobal
```
console
$
<conda>/bin/
conda build
pymagglobal
$
conda build
./
```
5.
Install pymagglobal
```
console
$
<conda>/bin/
conda
install
pymagglobal
-c
local
$
conda
install
pymagglobal
-c
local
```
This will make
`pymagglobal`
available as a python package, i.e. you can use
```
python
...
...
@@ -101,12 +105,6 @@ pymagglobal is built and installed using [conda](https://www.anaconda.com/).
$
pymagglobal
--help
```
With
`conda-build`
installed, you may also go to
`<pymagglobal>`
and run
```
console
$
bash install.sh
```
which will simply do steps 3-5 for you.
[
FieldTools
]:
https://gitup.uni-potsdam.de/matusche/fieldtools
## Contact
...
...
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