Skip to content

Commit

Permalink
added install.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
paolap committed Mar 1, 2022
1 parent 86c2bae commit 1726246
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/install.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# XMHW - Xarray based Marine HeatWave code


XMHW identifies marine heatwaves from a timeseries of Sea Surface Temperature data and calculates statistics associated to the detected heatwaves. It is based on the`marineHeatWaves code <https://github.com/ecjoliver/marineHeatWaves/>`_ by Eric Olivier

Functions:

- **threshold**
- **detect**
- **block_average** work in progress


-------
Install
-------

You can install the latest version of xmhw directly from conda (coecms channel)

conda install -c coecms -c conda-forge xmhw

If you want to install an unstable version or a different branch:

* git clone
* git checkout <branch-name> (if installing a a different branch from master)
* cd xmhw
* python setup.py install or pip install ./
use --user with either othe commands if you want to install it in ~/.local

---------------------
Working on NCI server
---------------------

Xmhw is pre-installed into a Conda environment at NCI. Load it with::

module use /g/data3/hh5/public/modules
module load conda/analysis3-unstable

NB You need to be a member of hh5 to load the modules

0 comments on commit 1726246

Please sign in to comment.