Skip to content

Commit

Permalink
Merge pull request #842 from obspy/reorganization
Browse files Browse the repository at this point in the history
Reorganization of ObsPy submodule structure
  • Loading branch information
krischer committed Mar 24, 2015
2 parents 45a0467 + e3f993f commit d5213da
Show file tree
Hide file tree
Showing 895 changed files with 3,060 additions and 3,669 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -59,7 +59,7 @@ script:
- mkdir empty
- cd empty
- MODULELIST=`python -c "from obspy.core.util import DEFAULT_MODULES as MODULES; print('obspy.' + ',obspy.'.join(MODULES))"`
- coverage run --rcfile=.coveragerc --source=$MODULELIST -m obspy.core.scripts.runtests -n travis-ci -r
- coverage run --rcfile=.coveragerc --source=$MODULELIST -m obspy.scripts.runtests -n travis-ci -r
after_success:
- mv .coverage ../.coverage.empty
- cd ..
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -44,4 +44,4 @@ build: false

test_script:
- "%CMD_IN_ENV% python setup.py develop"
- "python -m obspy.core.scripts.runtests -n appveyor-ci -r"
- "python -m obspy.scripts.runtests -n appveyor-ci -r"
72 changes: 42 additions & 30 deletions misc/docs/source/packages/index.rst
Expand Up @@ -11,59 +11,71 @@ The functionality is provided through the following packages:
:nosignatures:

obspy.core
obspy.geodetics
obspy.imaging
obspy.realtime
obspy.signal
obspy.station
obspy.taup
obspy.xseed
obspy.io.xseed

.. rubric:: Scripts

.. autosummary::
:template: script.rst
:toctree: autogen
:nosignatures:

obspy.scripts.runtests
obspy.scripts.reftekrescue

.. rubric:: Waveform Import/Export Plug-ins

.. autosummary::
:toctree: .
:nosignatures:

obspy.ah
obspy.css
obspy.datamark
obspy.gse2
obspy.kinemetrics
obspy.mseed
obspy.pdas
obspy.sac
obspy.seisan
obspy.seg2
obspy.segy
obspy.sh
obspy.wav
obspy.y
obspy.io.ah
obspy.io.ascii
obspy.io.css
obspy.io.datamark
obspy.io.gse2
obspy.io.kinemetrics
obspy.io.mseed
obspy.io.pdas
obspy.io.sac
obspy.io.seisan
obspy.io.seg2
obspy.io.segy
obspy.io.sh
obspy.io.wav
obspy.io.y

.. rubric:: Event Data Import/Export Plug-ins

.. autosummary::
:toctree: .
:nosignatures:

obspy.core.quakeml
obspy.cnv
obspy.ndk
obspy.nlloc
obspy.pde
obspy.zmap
obspy.io.cnv
obspy.io.json
obspy.io.ndk
obspy.io.nlloc
obspy.io.pde
obspy.io.quakeml
obspy.io.zmap

.. rubric:: Database or Web Service Access Clients

.. autosummary::
:toctree: .
:nosignatures:

obspy.arclink
obspy.clients.arclink
obspy.clients.earthworm
obspy.clients.fdsn
obspy.clients.iris
obspy.clients.neic
obspy.clients.neries
obspy.clients.seedlink
obspy.clients.seishub
obspy.db
obspy.earthworm
obspy.fdsn
obspy.iris
obspy.neic
obspy.neries
obspy.seedlink
obspy.seishub
14 changes: 0 additions & 14 deletions misc/docs/source/packages/obspy.ah.rst

This file was deleted.

24 changes: 0 additions & 24 deletions misc/docs/source/packages/obspy.arclink.rst

This file was deleted.

24 changes: 24 additions & 0 deletions misc/docs/source/packages/obspy.clients.arclink.rst
@@ -0,0 +1,24 @@
.. currentmodule:: obspy.clients.arclink
.. automodule:: obspy.clients.arclink

.. comment to end block
Classes & Functions
-------------------
.. autosummary::
:toctree: autogen
:nosignatures:

client.Client

.. comment to end block
Modules
-------
.. autosummary::
:toctree: autogen
:nosignatures:

client

.. comment to end block
24 changes: 24 additions & 0 deletions misc/docs/source/packages/obspy.clients.earthworm.rst
@@ -0,0 +1,24 @@
.. currentmodule:: obspy.clients.earthworm
.. automodule:: obspy.clients.earthworm

.. comment to end block
Classes & Functions
-------------------
.. autosummary::
:toctree: autogen
:nosignatures:

client.Client

.. comment to end block
Modules
-------
.. autosummary::
:toctree: autogen
:nosignatures:

client

.. comment to end block
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.fdsn
.. automodule:: obspy.fdsn
.. currentmodule:: obspy.clients.fdsn
.. automodule:: obspy.clients.fdsn

.. comment to end block
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.neic
.. automodule:: obspy.neic
.. currentmodule:: obspy.clients.iris
.. automodule:: obspy.clients.iris

.. comment to end block
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.earthworm
.. automodule:: obspy.earthworm
.. currentmodule:: obspy.clients.neic
.. automodule:: obspy.clients.neic

.. comment to end block
Expand All @@ -21,4 +21,4 @@

client

.. comment to end block
.. comment to end block
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.iris
.. automodule:: obspy.iris
.. currentmodule:: obspy.clients.neries
.. automodule:: obspy.clients.neries

.. comment to end block
Expand All @@ -21,4 +21,4 @@

client

.. comment to end block
.. comment to end block
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.seedlink
.. automodule:: obspy.seedlink
.. currentmodule:: obspy.clients.seedlink
.. automodule:: obspy.clients.seedlink

.. comment to end block
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.seishub
.. automodule:: obspy.seishub
.. currentmodule:: obspy.clients.seishub
.. automodule:: obspy.clients.seishub

.. comment to end block
Expand All @@ -24,4 +24,4 @@

client

.. comment to end block
.. comment to end block
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.station
.. automodule:: obspy.station
.. currentmodule:: obspy.core.inventory
.. automodule:: obspy.core.inventory

.. comment to end block
Expand All @@ -25,6 +25,5 @@
channel
response
util
stationxml

.. comment to end block
27 changes: 0 additions & 27 deletions misc/docs/source/packages/obspy.core.quakeml.rst

This file was deleted.

16 changes: 1 addition & 15 deletions misc/docs/source/packages/obspy.core.rst
Expand Up @@ -28,22 +28,8 @@
stream
utcdatetime
event
ascii
quakeml
inventory
util
preview
json

.. comment to end block
Scripts
-------
.. autosummary::
:template: script.rst
:toctree: autogen
:nosignatures:

scripts.runtests
scripts.reftekrescue

.. comment to end block
6 changes: 0 additions & 6 deletions misc/docs/source/packages/obspy.core.util.rst
Expand Up @@ -13,11 +13,6 @@
~base.NamedTemporaryFile
~base.createEmptyDataChunk
~base.getExampleFile
~geodetics.calcVincentyInverse
~geodetics.gps2DistAzimuth
~geodetics.kilometer2degrees
~geodetics.locations2degrees
~geodetics.FlinnEngdahl
~misc.BAND_CODE
~misc.complexifyString
~misc.guessDelta
Expand All @@ -37,7 +32,6 @@
attribdict
base
decorator
geodetics
misc
obspy_types
testing
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.core.util.geodetics
.. automodule:: obspy.core.util.geodetics
.. currentmodule:: obspy.geodetics
.. automodule:: obspy.geodetics

.. comment to end block
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.nlloc
.. automodule:: obspy.nlloc
.. currentmodule:: obspy.io.ah
.. automodule:: obspy.io.ah

.. comment to end block
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.datamark
.. automodule:: obspy.datamark
.. currentmodule:: obspy.io.ascii
.. automodule:: obspy.io.ascii

.. comment to end block
Expand Down
@@ -1,5 +1,5 @@
.. currentmodule:: obspy.cnv
.. automodule:: obspy.cnv
.. currentmodule:: obspy.io.cnv
.. automodule:: obspy.io.cnv

.. comment to end block
Expand Down

0 comments on commit d5213da

Please sign in to comment.