test_pysep

Test the general functionality of Pysep

Module Contents

Functions

config_file()

Test config file for a 2009 Anchorage earthquake

test_pysep(config_file)

Test Pysep instance based on a Config file, gather event and StationXML

test_get_client(test_pysep)

Simple check that we're looking at IRIS for our client

test_get_event(test_pysep)

Simple check that the event created by User parameters is right

test_get_inventory(test_pysep)

Check that the collected stations are correct

test_get_waveform(test_pysep)

Get waveforms for a few test stations from IRIS

test_curtail_stations(test_pysep)

Exclude a station based on maximum distance getting exceeded

test_config_files_have_correct_parameters(tmpdir, ...)

Check that all the config files have the correct parameters based on what

test_pysep.config_file()[source]

Test config file for a 2009 Anchorage earthquake

test_pysep.test_pysep(config_file)[source]

Test Pysep instance based on a Config file, gather event and StationXML

test_pysep.test_get_client(test_pysep)[source]

Simple check that we’re looking at IRIS for our client

test_pysep.test_get_event(test_pysep)[source]

Simple check that the event created by User parameters is right

test_pysep.test_get_inventory(test_pysep)[source]

Check that the collected stations are correct :param test_pysep: :return:

test_pysep.test_get_waveform(test_pysep)[source]

Get waveforms for a few test stations from IRIS :param test_pysep: :return:

test_pysep.test_curtail_stations(test_pysep)[source]

Exclude a station based on maximum distance getting exceeded

test_pysep.test_config_files_have_correct_parameters(tmpdir, test_pysep)[source]

Check that all the config files have the correct parameters based on what PySEP writes to ensure that the config files are up to date with codebase