Skip to content

Commit 407ae37

Browse files
committed
Update index.rst
1 parent ee6b765 commit 407ae37

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

doc/index.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,15 @@ Validation procedure
141141

142142
You can check the accuracy of Pysolar yourself using the iPython Notebook file ``test/validation.ipynb``. The validation steps are:
143143

144-
1. Run ``python3 -i query_usno.py usno_data_6259.txt``
144+
1. Install IPython Notebook: http://ipython.org/install.html
145145

146-
2. Run the code in ``test/validation.ipynb``, which will calculate the error statistics and generate the graphs shown above.
146+
2. Make sure you have installed only the version of Pysolar that you want to validate.
147+
148+
3. Run ``python3 -i test/query_usno.py test/usno_data_6259.txt``. This runs Pysolar's ``get_altitude()`` and ``get_azimuth()`` functions repeatedly, compares the results to a file included in Pysolar of data pulled from the USNO website, and writes the results to a .CSV file.
149+
150+
4. Start IPython Notebook and open ``validation.ipynb``.
151+
152+
5. Run the code in ``test/validation.ipynb``, which will calculate the error statistics and generate the graphs shown above.
147153

148154
References
149155
==========

0 commit comments

Comments
 (0)