<div dir="ltr"> <br>In order to use geomag-algorithms,  you need python installed,  with the supporting libraries, numpy, scipy, obspy, and flake8.   We generally suggest installing anaconda, as it comes with numpy and scipy,  and installing obspy and flake8 is simple using it's conda routine.  <br><br>You can then run geomag-algorithms by using the python installed by anaconda.<br><br>python geomag.py --help<br><br>Thanks<br><br>Hal</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 13, 2016 at 2:12 PM, D. R. Evans <span dir="ltr"><<a href="mailto:doc.evans@gmail.com" target="_blank">doc.evans@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Simpson, Hal wrote on 01/12/2016 06:16 PM:<br>
<br>
> For near realtime data we now have a public Edge server that provides an<br>
> earthworm waveserver like interface at <a href="http://cwbpub.cr.usgs.gov" rel="noreferrer" target="_blank">cwbpub.cr.usgs.gov</a>.   To connect to<br>
> that service,  we provide open source python code at<br>
> <a href="https://github.com/usgs/geomag-algorithms" rel="noreferrer" target="_blank">https://github.com/usgs/geomag-algorithms</a><br>
<br>
</span>Where are step-by-step installation instructions for Linux? (In particular,<br>
debian stable.)<br>
<br>
In the absence of instructions, I downloaded the zip file, extracted<br>
everything, and found the file "geomag.py" to which you refer; but when I<br>
tried to run it with no parameters just as a quick sanity test, this happened:<br>
<br>
----<br>
<br>
[HN:bin] geomag.py<br>
Traceback (most recent call last):<br>
  File "./geomag.py", line 13, in <module><br>
    from geomagio.Controller import main, parse_args<br>
  File "/tmp/usgs/geomag-algorithms-master/geomagio/__init__.py", line 5, in<br>
<module><br>
    import StreamConverter<br>
  File "/tmp/usgs/geomag-algorithms-master/geomagio/StreamConverter.py", line<br>
11, in <module><br>
    import obspy.core<br>
ImportError: No module named obspy.core<br>
[HN:bin]<br>
<br>
----<br>
<br>
Debian stable doesn't seem to have any package name containing the string<br>
"obspy". So I am stuck as to what to do next. How do I fix the above error?<br>
<br>
This process appears to be hugely more complicated than simply going to URL to<br>
download the data, as was possible in the past, so some accurate step-by-step<br>
would very much help to ease the pain.<br>
<div class="HOEnZb"><div class="h5"><br>
  Doc Evans<br>
<br>
--<br>
Web:  <a href="http://www.sff.net/people/N7DR" rel="noreferrer" target="_blank">http://www.sff.net/people/N7DR</a><br>
<br>
</div></div><br>_______________________________________________<br>
Geomag-data mailing list<br>
<a href="mailto:Geomag-data@geohazards.usgs.gov">Geomag-data@geohazards.usgs.gov</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/geomag-data" rel="noreferrer" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/geomag-data</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







Hal Simpson<br>IT Specialist<br>USGS Geomagnetism Program<br>Office:303-273-8459<br>Email:<a href="mailto:hasimpson@usgs.gov" target="_blank">hasimpson@usgs.gov</a></div></div>
</div>