gen-travel-times-app is an application that uses the glasscore traveltime libraries to generate the traveltime lookup files (.trv) used by neic-glass3 from a model file. Please note that this application is currently not optimized, and is extremely slow.
To build gen-travel-times-app, set the BUILD_GEN-TRAVELTMES-APP option equal to true (1) in the cmake command or GUI.
An example configuration for gen-travel-times-app is available in the gen-travel-times-app params directory
{
"Configuration": "gen-travel-times-app",
"FileExtension": ".trv",
"OutputPath": "./",
"Model": "./params/ak135_mod.d",
"Branches": [
{
"Cmd": "GenerateTraveltime",
"Branch": "P",
"Rays": [
"Pup",
"P",
"Pdiff"
],
"DeltaTimeWarp": {
"MinimumDistance": 0.0,
"MaximumDistance": 360.0,
"SlopeDecayConstant": 0.10,
"SlopeZero": 0.05,
"SlopeInfinite": 1.0
},
"DepthTimeWarp": {
"MinimumDepth": -10.0,
"MaximumDepth": 800.0,
"SlopeDecayConstant": 0.10,
"SlopeZero": 1.0,
"SlopeInfinite": 10.0
}
}
]
}
Further documentation of the gen-traveltimes-app software is available here
To run gen-travel-times-app, use the following command: gen-travel-times-app <configfile> [logname] where <configfile> is the required path the the gen-travel-times.d configuration fileand [logname] is an optional command that when present specifies the log file name and enables logging.
gen-travel-times-app uses the environment variable GLASS_LOG to define the location to write log files