Problem with 2 GMPE in UHS mode

25 views
Skip to first unread message

thomas ulrich

unread,
May 29, 2013, 10:09:24 AM5/29/13
to openqu...@googlegroups.com
Hi,

I'm getting the following error with the 2 GMPE AB_2006_AttenRel et ToroEtAl_2002_AttenRel:


  File "/usr/bin/openquake", line 9, in <module>

    load_entry_point('openquake==0.8.3', 'console_scripts', 'openquake')()

  File "/usr/lib/pymodules/python2.7/openquake/bin/oqscript.py", line 197, in main

    log_file=args.log_file)

  File "/usr/lib/pymodules/python2.7/openquake/engine.py", line 854, in run_job

    _launch_job(job_ctxt, sections)

  File "/usr/lib/pymodules/python2.7/openquake/engine.py", line 956, in _launch_job

    calculator.execute()

  File "/usr/lib/pymodules/python2.7/openquake/calculators/hazard/uhs/core.py", line 311, in execute

    ath=uhs_task_handler, ath_args=ath_args)

  File "/usr/lib/pymodules/python2.7/openquake/utils/tasks.py", line 82, in distribute

    _check_exception(results)

  File "/usr/lib/pymodules/python2.7/openquake/utils/tasks.py", line 94, in _check_exception

    raise result

openquake.java.JavaException: Java traceback (most recent call last):

  File "UHSCalculator.java", line 136, in org.gem.calc.UHSCalculator.computeUHS

  File "UHSCalculator.java", line 223, in org.gem.calc.UHSCalculator.computeUHS

  File "UHSCalculator.java", line 356, in org.gem.calc.UHSCalculator.updateHazCurveBetweenPGAandSA

  File "AttenuationRelationship.java", line 484, in org.opensha.sha.imr.AttenuationRelationship.getExceedProbability

java.lang.NullPointerException

They are well working with the "PGA mode".
I've tried with 3 others GMPE, and they don't raise errors: AkB_2010_AttenRel, CY_2008_AttenRel and BA_2008_AttenRel.
Is there a problem with the 2 first GMPE?

Thank you,

Thomas Ulrich.


thomas ulrich

unread,
May 31, 2013, 4:27:33 AM5/31/13
to openqu...@googlegroups.com
With the latest OpenQuake version (https://github.com/gem/oq-engine/wiki/Installing-the-OpenQuake-Engine), there is no problem anymore.

Thomas.

Lars Butler

unread,
May 31, 2013, 4:28:52 AM5/31/13
to openqu...@googlegroups.com
Hi Thomas,

I was literally just about to suggest upgrading to the latest version, but you beat me to it. =)

Thanks for the feedback.

Cheers,
Lars


On Fri, May 31, 2013 at 10:27 AM, thomas ulrich <t.ulri...@gmail.com> wrote:
With the latest OpenQuake version (https://github.com/gem/oq-engine/wiki/Installing-the-OpenQuake-Engine), there is no problem anymore.

Thomas.

--
You received this message because you are subscribed to the Google Groups "OpenQuake Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages