Installation#

The package can be installed directly with pip or from GitHub.

Pip#

GStatSim can be installed using the pip command:

pip install gstatsim
Requirement already satisfied: gstatsim in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (1.0.2)
Requirement already satisfied: numpy>=1.14.5 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from gstatsim) (1.21.6)
Requirement already satisfied: pandas>=1.1.1 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from gstatsim) (1.3.4)
Requirement already satisfied: scipy>=1.1.1 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from gstatsim) (1.7.3)
Requirement already satisfied: tqdm>=3 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from gstatsim) (4.64.1)
Requirement already satisfied: scikit-learn>=1.1.2 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from gstatsim) (1.1.2)
Requirement already satisfied: python-dateutil>=2.7.3 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from pandas>=1.1.1->gstatsim) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from pandas>=1.1.1->gstatsim) (2021.3)
Requirement already satisfied: joblib>=1.0.0 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from scikit-learn>=1.1.2->gstatsim) (1.1.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from scikit-learn>=1.1.2->gstatsim) (2.2.0)
Requirement already satisfied: six>=1.5 in /Users/mackie3/opt/anaconda3/lib/python3.9/site-packages (from python-dateutil>=2.7.3->pandas>=1.1.1->gstatsim) (1.16.0)
Note: you may need to restart the kernel to use updated packages.

GitHub#

The most recent version can be installed from GitHub via:

git clone https://github.com/GatorGlaciology/GStatSim
  File "/var/folders/3d/s79lt6q910z0whw_7c_z48lc0000gp/T/ipykernel_19530/4198028348.py", line 1
    git clone https://github.com/GatorGlaciology/GStatSim
        ^
SyntaxError: invalid syntax

Package dependencies#

  • Numpy

  • Pandas

  • Scipy

  • tqdm

  • Sklearn

Requirements for visualization and variogram analysis#

  • Matplotlib

  • SciKit-GStat

These can all be installed using pip.