obspy.taup.taup_create.build_taup_model

build_taup_model(tvel_filename, output_folder=None)[source]

Build an ObsPy model file from a “tvel” file.

The “tvel” file is loaded into a TauModel instance and is then saved in ObsPy’s own format, which can be loaded using from_file(). The output file will have the same name as the input with '.npz' as file extension.

Parameters:
  • tvel_filename (str) Absolute path of input tvel file.
  • output_folder (str) Directory in which the built TauModel will be stored. Defaults to directory of input file.