Skip to content
Snippets Groups Projects
Commit f6e0d97f authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Clarified docs that .netrc file should be in the home directory.

parent f527f088
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@ Scripted access for LV-EM members
============================================
Some processes need to access GraceDB in a *scripted* manner. For example,
an observational group might set up an automated process to listen for GCN
notices for new GW events and download the skymaps for further processing
an observational group might set up an automated process to listen for LIGO/Virgo GCN
notices and then download the skymaps for further processing
(see the `tutorial <http://nbviewer.ipython.org/github/lpsinger/ligo-virgo-emfollowup-tutorial/blob/master/ligo-virgo-emfollowup-tutorial.ipynb>`__).
As these alerts could come at any time of the day or night, it is not
generally possible for the user to go through the usual login sequence. Traditionally,
......@@ -62,6 +62,7 @@ to make sure that only you can read it). The ``.netrc`` file could look like thi
login myself@institution.edu
password abc123.....
Place the resulting ``.netrc`` file in your home directory.
Once that's done, you should be able to access the GraceDB REST API
using any tool that supports basic auth.
For example, you can use the GraceDB Python client in much the same
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment