Compare commits
3 Commits
experiment
...
v2.62
Author | SHA1 | Date | |
---|---|---|---|
9da3678866 | |||
cb210f27a3 | |||
4305dd7704 |
@@ -55,6 +55,11 @@ def main(qml_picks, inventory, velocity_model, lat_min, lat_max, lon_min, lon_ma
|
||||
f"Check if the file(s) is/are correct")
|
||||
sys.exit(1)
|
||||
|
||||
if grid_spacing is not None and z_max-z_min < grid_spacing:
|
||||
logging.error(f"The specified grid spacing is larger than the vertical extent of the grid. "
|
||||
f"Reduce the grid spacing and/or increase the vertical extent of the grid.")
|
||||
sys.exit(1)
|
||||
|
||||
#convert input velocity from m/s to km/s
|
||||
if p_vel_const is not None:
|
||||
p_vel_const = p_vel_const / 1000
|
@@ -23,8 +23,6 @@ from PyOctoPhaseAssociation import main as phaseassoc
|
||||
|
||||
|
||||
def main(argv):
|
||||
raise ValueError("Test error from branch experimental-test-live-code-editing")
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("qml_picks", help="Path to input file of type 'quakeml_seismogram_picks'")
|
||||
parser.add_argument("inventory", nargs='+', help="Paths to input files of type 'inventory'")
|
Reference in New Issue
Block a user