Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove taup.tau.remove-create_taup_model() which is no longer used #2272

Merged
merged 2 commits into from
Dec 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions obspy/taup/tau.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

from .helper_classes import Arrival
from .tau_model import TauModel
from .taup_create import TauPCreate
from .taup_path import TauPPath
from .taup_pierce import TauPPierce
from .taup_time import TauPTime
Expand Down Expand Up @@ -871,20 +870,6 @@ def get_ray_paths_geo(self, source_depth_in_km, source_latitude_in_deg,
return arrivals


def create_taup_model(model_name, output_dir, input_dir):
"""
Create a .taup model from a .tvel file.

:param model_name:
:param output_dir:
"""
if "." in model_name:
model_file_name = model_name
else:
model_file_name = model_name + ".tvel"
TauPCreate.main(model_file_name, output_dir, input_dir)


def plot_travel_times(source_depth, phase_list=("ttbasic",), min_degrees=0,
max_degrees=180, npoints=50, model='iasp91',
plot_all=True, legend=True, verbose=False, fig=None,
Expand Down