Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/davemlz/spyndex
Browse files Browse the repository at this point in the history
  • Loading branch information
davemlz committed Oct 7, 2021
2 parents d10c7bc + 1e36b73 commit 72df7bb
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 4 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<a href='https://pypi.python.org/pypi/spyndex'>
<img src='https://img.shields.io/pypi/v/spyndex.svg' alt='PyPI' />
</a>
<a href='https://anaconda.org/conda-forge/spyndex'>
<img src='https://img.shields.io/conda/vn/conda-forge/spyndex.svg' alt='conda-forge' />
</a>
<a href='https://spyndex.readthedocs.io/en/latest/?badge=latest'>
<img src='https://readthedocs.org/projects/spyndex/badge/?version=latest' alt='Documentation Status' />
</a>
Expand Down Expand Up @@ -59,6 +62,8 @@

**PyPI**: [https://pypi.org/project/spyndex/](https://pypi.org/project/spyndex/)

**Conda-forge**: [https://anaconda.org/conda-forge/spyndex](https://anaconda.org/conda-forge/spyndex)

---

## Overview
Expand Down Expand Up @@ -159,6 +164,18 @@ Install the latest version from PyPI:
pip install spyndex
```

Upgrade spyndex by running:

```
pip install -U spyndex
```

Install the latest version from conda-forge:

```
conda install -c conda-forge spyndex
```

Install the latest dev version from GitHub by running:

```
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"repo_url": "https://github.com/davemlz/spyndex",
"repo_name": "spyndex",
# Visible levels of the global TOC; -1 means unlimited
"globaltoc_depth": 3,
"globaltoc_depth": 2,
# If False, expand all TOC entries
"globaltoc_collapse": False,
# If True, show hidden TOC entries
Expand Down
6 changes: 5 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ Spyndex
Planetary Computer</a> | <a href="https://docs.dask.org/en/latest/" target="_blank">
Dask</a> </b>
</p>

<p align="center">
<a href='https://pypi.python.org/pypi/spyndex'>
<img src='https://img.shields.io/pypi/v/spyndex.svg' alt='PyPI' />
</a>
<p align="center">
<a href='https://anaconda.org/conda-forge/spyndex'>
<img src='https://img.shields.io/conda/vn/conda-forge/spyndex.svg' alt='conda-forge' />
</a>
<a href='https://spyndex.readthedocs.io/en/latest/?badge=latest'>
<img src='https://readthedocs.org/projects/spyndex/badge/?version=latest' alt='Documentation Status' />
</a>
Expand Down
23 changes: 22 additions & 1 deletion docs/started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,28 @@ convert it to an :code:`xarray.DataArray` with `stackstac <https://github.com/gj
Installation
------------

Install the latest development version by running:
Install the latest version from PyPI:

.. code-block::
pip install spyndex
Upgrade spyndex by running:

.. code-block::
pip install -U spyndex
Install the latest version from conda-forge:

.. code-block::
conda install -c conda-forge spyndex
Install the latest dev version from GitHub by running:

.. code-block::
Expand Down
3 changes: 2 additions & 1 deletion spyndex/data/spectral-indices-dict.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
"bands": [
"N",
"R",
"gamma",
"B"
],
"contributor": "https://github.com/davemlz",
"date_of_addition": "2021-05-11",
"formula": "(N - (R - (R - B))) / (N + (R - (R - B)))",
"formula": "(N - (R - gamma * (R - B))) / (N + (R - gamma * (R - B)))",
"long_name": "Atmospherically Resistant Vegetation Index",
"reference": "https://doi.org/10.1109/36.134076",
"short_name": "ARVI",
Expand Down

0 comments on commit 72df7bb

Please sign in to comment.