Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
9da3678866 |
@ -1,6 +1,3 @@
|
|||||||
# PhaseAssociator — Official EPOS Application Repository
|
PhaseAssociator app official repository
|
||||||
|
|
||||||
This repository contains the source code and configuration files for the `PhaseAssociator` application used within the EPOS EPISODES Platform.
|
Link to remote: https://epos-apps.grid.cyfronet.pl/official-apps/PhaseAssociator
|
||||||
|
|
||||||
📦 To test or modify this application in the EPISODES environment, follow the guide:
|
|
||||||
https://docs.cyfronet.pl/display/ISDOC/Editing+application+codes+guide
|
|
@ -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")
|
f"Check if the file(s) is/are correct")
|
||||||
sys.exit(1)
|
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
|
#convert input velocity from m/s to km/s
|
||||||
if p_vel_const is not None:
|
if p_vel_const is not None:
|
||||||
p_vel_const = p_vel_const / 1000
|
p_vel_const = p_vel_const / 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user