Skip to content

Commit f197f1b

Browse files
committed
update top level readme with spa install directions
1 parent 30f456b commit f197f1b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,22 @@ Hopefully you're using [virtualenv](http://virtualenv.readthedocs.org/en/latest/
2424
pip install git+https://github.com/pvlib/pvlib-python.git
2525
```
2626

27-
Alternatively, ``git clone`` this repository and run
27+
Alternatively, ``git clone`` this repository, ``cd`` into it, and run
2828

2929
```
3030
pip install .
3131
```
3232

3333
Add ``-e`` to install in [develop mode](http://pip.readthedocs.org/en/latest/reference/pip_install.html#editable-installs).
3434

35+
``pvlib-python`` comes with Python bindings for NREL's solar position C code,
36+
however you must manually download the C code directly from [NREL](http://www.nrel.gov/midc/spa/).
37+
To use the NREL SPA algorithm,
38+
39+
1. Download the SPA files from [NREL](http://www.nrel.gov/midc/spa/)
40+
2. Copy the SPA files into ``pvlib/spa_c_files``
41+
3. From this ``pvlib-python`` directory, run ``pip install .``
42+
3543
Usage Example
3644
-------------
3745
```

0 commit comments

Comments
 (0)