File "/apps/openquake/2.0.1/src/oq-engine/openquake/commonlib/source.py", line 194,
in parse_groups
raise ValueError('expected sourceGroup')
I thought I was being *very clever* by surrounding my sources with <sourceGroup>...</sourceGroup>, but then it seems to have trouble with tectonicRegion:
line 818, in convert_sourceGroup
trt = node['tectonicRegion']
File "/apps/openquake/2.0.1/src/oq-engine/openquake/commonlib/node.py", line 314, i
n __getitem__
return self.attrib[i]
KeyError: 'tectonicRegion'
My question is, is sourceGroup a new feature in the nrml, and if so is there an example somewhere that i can follow to see how to use it?
Or should I convince my sysadmin to go back to the stable version?
Best regards,
- Phil
<nrml
xmlns="http://openquake.org/xmlns/nrml/0.4"
Ah, I just found out that the version installed on our redhat cluster is actually 2.1.0, and the "sourceGroup" problem was fixed by setting<nrml
xmlns="http://openquake.org/xmlns/nrml/0.4"
instead of 0.5. We are still having some IO problems but I think that probably has to do with our installation.
So, never mind!