Closed gempa-jabe closed 7 years ago
I created a PR to correct existing defaults. Would that be OK with you?
Due to changes in parameter names (DISABLE_LAST_LOC -> !USE_TRIAL_POSITION), the default profiles should be adjusted as well:
profile.tectonic.conf:DISABLE_LAST_LOC = true profile.volcanic.conf:DISABLE_LAST_LOC = false Ok for those
Furthermore we should consider to default USE_TRIAL_POSITION to false if not given at all
The proposed modification is incorrect.
Either keep the condition as it is,
or set cCC.[lat1,lat2,lon1,lon2]
to ""
if USE_TRIAL_POSITION
is false
The condition is still correct, just the default value changes. It does not mean that the function always returns false rather than true. If you configure USE_TRIAL_POSITION = true
then the function will return true. If you don't configure it at all, then the function will return false rather than true.
Agreed.
Due to changes in parameter names (DISABLE_LAST_LOC -> !USE_TRIAL_POSITION), the default profiles should be adjusted as well:
Furthermore we should consider to default USE_TRIAL_POSITION to false if not given at all. See https://github.com/SeisComP3/seiscomp3/blob/master/src/ipgp/plugins/locator/hypo71/hypo71.cpp#L991.
CC @jmsaurel