{"action":"created","issue":{"url":"https://api.github.com/repos/pyrocko/pyrocko/issues/298","repository_url":"https://api.github.com/repos/pyrocko/pyrocko","labels_url":"https://api.github.com/repos/pyrocko/pyrocko/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/pyrocko/pyrocko/issues/298/comments","events_url":"https://api.github.com/repos/pyrocko/pyrocko/issues/298/events","html_url":"https://github.com/pyrocko/pyrocko/issues/298","id":357293370,"node_id":"MDU6SXNzdWUzNTcyOTMzNzA=","number":298,"title":"Issue with DoubleDCProblem","user":{"login":"shicks-seismo","id":25796081,"node_id":"MDQ6VXNlcjI1Nzk2MDgx","avatar_url":"https://avatars1.githubusercontent.com/u/25796081?v=4","gravatar_id":"","url":"https://api.github.com/users/shicks-seismo","html_url":"https://github.com/shicks-seismo","followers_url":"https://api.github.com/users/shicks-seismo/followers","following_url":"https://api.github.com/users/shicks-seismo/following{/other_user}","gists_url":"https://api.github.com/users/shicks-seismo/gists{/gist_id}","starred_url":"https://api.github.com/users/shicks-seismo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shicks-seismo/subscriptions","organizations_url":"https://api.github.com/users/shicks-seismo/orgs","repos_url":"https://api.github.com/users/shicks-seismo/repos","events_url":"https://api.github.com/users/shicks-seismo/events{/privacy}","received_events_url":"https://api.github.com/users/shicks-seismo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-05T15:49:49Z","updated_at":"2018-09-10T10:14:07Z","closed_at":null,"author_association":"NONE","body":"Hi, I've successfully run a CMTproblem with good results. Now I'd like to try a DoubleDCProblem using the same data and Green's functions. I have updated the config file with the correct parameters, but I run into this error when checking the config and/or running Grond for the optimisation:\r\n\r\n> (pyrocko) NOCS04167J-2:M7mainshock sph1r17$ ./1_check_config.sh\r\n> Traceback (most recent call last):\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/bin/grond\", line 11, in <module>\r\n>     load_entry_point('grond==1.0', 'console_scripts', 'grond')()\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/apps/grond.py\", line 161, in main\r\n>     globals()['command_' + d2u(command)](args)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/apps/grond.py\", line 547, in command_check\r\n>     env = Environment(args)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/environment.py\", line 56, in __init__\r\n>     self.set_selected_event_names(args[1:])\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/environment.py\", line 120, in set_selected_event_names\r\n>     event_names = self.get_available_event_names()\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/environment.py\", line 95, in get_available_event_names\r\n>     return self.get_config().get_event_names()\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/environment.py\", line 90, in get_config\r\n>     self._config = read_config(self._config_path)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/grond/config.py\", line 137, in read_config\r\n>     config = guts.load(filename=path)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 189, in g\r\n>     retval = f(*args, **kwargs)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 1815, in load\r\n>     return _load(*args, **kwargs)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 1405, in _load\r\n>     return yaml.load(stream=stream, Loader=Loader)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/yaml/__init__.py\", line 72, in load\r\n>     return loader.get_single_data()\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/yaml/constructor.py\", line 37, in get_single_data\r\n>     return self.construct_document(node)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/yaml/constructor.py\", line 41, in construct_document\r\n>     data = self.construct_object(node)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/yaml/constructor.py\", line 88, in construct_object\r\n>     data = constructor(self, tag_suffix, node)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 1438, in multi_constructor\r\n>     o.validate(regularize=True, depth=1)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 775, in validate\r\n>     self.T.instance.validate(self, regularize, depth)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 488, in validate\r\n>     val = validator.validate_children(val, regularize, depth)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 500, in validate_children\r\n>     newpropval = prop.validate(propval, regularize, depth-1)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 468, in validate\r\n>     val = self.regularize_extra(val)\r\n>   File \"/Users/sph1r17/anaconda/envs/pyrocko/lib/python3.6/site-packages/pyrocko/guts.py\", line 493, in regularize_extra\r\n>     return self.cls(val)\r\n> TypeError: __init__() takes 1 positional argument but 2 were given\r\n\r\nMy config file is attached is that helps you find the problem.\r\n\r\nThanks in advance!\r\n[config.txt](https://github.com/pyrocko/pyrocko/files/2353523/config.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pyrocko/pyrocko/issues/comments/419861802","html_url":"https://github.com/pyrocko/pyrocko/issues/298#issuecomment-419861802","issue_url":"https://api.github.com/repos/pyrocko/pyrocko/issues/298","id":419861802,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTg2MTgwMg==","user":{"login":"shicks-seismo","id":25796081,"node_id":"MDQ6VXNlcjI1Nzk2MDgx","avatar_url":"https://avatars1.githubusercontent.com/u/25796081?v=4","gravatar_id":"","url":"https://api.github.com/users/shicks-seismo","html_url":"https://github.com/shicks-seismo","followers_url":"https://api.github.com/users/shicks-seismo/followers","following_url":"https://api.github.com/users/shicks-seismo/following{/other_user}","gists_url":"https://api.github.com/users/shicks-seismo/gists{/gist_id}","starred_url":"https://api.github.com/users/shicks-seismo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shicks-seismo/subscriptions","organizations_url":"https://api.github.com/users/shicks-seismo/orgs","repos_url":"https://api.github.com/users/shicks-seismo/repos","events_url":"https://api.github.com/users/shicks-seismo/events{/privacy}","received_events_url":"https://api.github.com/users/shicks-seismo/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T10:14:07Z","updated_at":"2018-09-10T10:14:07Z","author_association":"NONE","body":"Okay makes sense!\r\nOne more question - sorry for bugging you - hopefully my final request for now. \r\nWhere can I please find the mean / best results summary.yaml files for both events. Right now, I only see one source present in the summary files."}}
{"actor":{"display_login":"shicks-seismo"}}