gem / oq-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
383 stars 277 forks source link

GMPE object has no attribute 'DEFINED_FOR_REFERENCE_VELOCITY #5196

Closed elisa82 closed 5 years ago

elisa82 commented 5 years ago

I have a problem running an hazard analysis in terms of AvgSA as intensity measure.

If I use the GMPE AkkarEtAlRepi2014 the code gives this error:

ValueError: 'AkkarEtAlRepi2014' object has no attribute 'DEFINED_FOR_REFERENCE_VELOCITY' in file...

generic_gmpe_avgsa.py seems to be not complete since I found these comments inside the file:

# Check if this GMPE has the necessary requirements
# TO-DO

Please can you check? thanks

mmpagani commented 5 years ago

I do not think this is an appropriate way to ask for assistance. Do not forget that you are using software that is provided as-is i.e. without any obligation from the developers. If you want to contribute you are welcome. Best wishes, Marco

On Tue, Oct 15, 2019 at 2:05 PM elisa82 notifications@github.com wrote:

I have a problem running an hazard analysis in terms of AvgSA as intensity measure.

If I use the GMPE AkkarEtAlRepi2014 the code gives this error:

ValueError: 'AkkarEtAlRepi2014' object has no attribute 'DEFINED_FOR_REFERENCE_VELOCITY' in file...

generic_gmpe_avgsa.py seems to be not complete since I found these comments inside the file: Check if this GMPE has the necessary requirements TO-DO

Please can you check? thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gem/oq-engine/issues/5196?email_source=notifications&email_token=AACN2WZAQUUUFDZ5OLMLFY3QOWWX5A5CNFSM4JA3TEA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR3IKCQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACN2WZPRP2JZYFXQS47OVTQOWWX5ANCNFSM4JA3TEAQ .

-- MARCO PAGANI | Seismic Hazard Team Lead | Skype mm.pagani | +39-0382-5169863 GLOBAL EARTHQUAKE MODEL | working together to assess risk GEM - globalquakemodel.org | T - @GEMwrld | F - GEMwrld

daniviga commented 5 years ago

Dear @elisa82,

thanks for the feedback provided. However for the support requests please use the support forum: https://groups.google.com/forum/#!forum/openquake-users

We'll check the reported issue; the fix, if any, will be part of the next release.

daniviga commented 5 years ago

@elisa82 bug has been fixed and it's already available in 3.8.0/master. It will we be also available in the next maintenance release (3.7.1)

elisa82 commented 5 years ago

Thank you very much!