Installation
Requires: Unix-like operating system (Linux (Ubuntu, CentOS…), Mac), python 3.8, pip, gfortran, make
The installation can be carried out in a conda environment using the below steps.
Install
gfortranandmake. See here.
Linux:
sudo apt update sudo apt install build-essential`sudo apt install build-essentialinstalls additional useful utilities likegcc,g++andmakeIf
gfortranis not installed withbuild-essention, please runsudo apt install gfortranMac:
brew install gccandbrew install make
Have
condainstalled using the Miniconda or Anaconda distributions.Create and activate a new conda environment with python. Install
pipin the environment.conda create --name foo python=3.8 conda activate foo conda install pip
Run
makefrom the root repo directory.All the dependencies are automatically installed. If any errors are encountered please check that the following dependencies are installed:
numpypandasscipylowtran==2.4.1(requiresgfortran)sphinxsphinx_rtd_theme==0.5.2metpynetCDF4astropy
Run tests using the
make runtestcommand and get the OK message.Find the documentation in:
instrupy/docs/_build/html/user_json_desc.html
Windows
If using a Windows system, one may consider:
Setting up a virtual-machine with Ubuntu (or similar) OS.
See tutorial here How to run Ubuntu desktop on a virtual machine using virtualbox
Virtual machines:
VMware Workstation player is available free for non-commercial, personal or home use. VMWare tools may need to be installed separately after the player installation.
Using Windows Subsytem for Linux (WSL)
The present version of OrbitPy has been tested on Ubuntu 18.04.3.