$ openquake --config_file demos/simple_fault_demo_hazard/config.gem
--output_type=xml
I receive this error
Traceback (most recent call last):
File "/usr/bin/openquake", line 122, in <module>
from openquake import job
File "/usr/lib/pymodules/python2.7/openquake/job/__init__.py", line
27, in <module>
from django.db import transaction, close_connection
File "/usr/lib/pymodules/python2.7/django/db/__init__.py", line 14,
in <module>
if not settings.DATABASES:
File "/usr/lib/pymodules/python2.7/django/utils/functional.py", line
276, in __getattr__
self._setup()
File "/usr/lib/pymodules/python2.7/django/conf/__init__.py", line
38, in _setup
raise ImportError("Settings cannot be imported, because
environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined.
-----------------------------------------
please define the following shell environment variables and try again:
export MPLCONFIGDIR=/tmp
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre
export DJANGO_SETTINGS_MODULE="openquake.settings"
Best regards/Mit freundlichen Gr��en
--
Muharem Hrnjadovic <m...@foldr3.com>
Public key id : B2BBFCFC
Key fingerprint : A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC
> Best regards/Mit freundlichen Grüßen
>
> --
> Muharem Hrnjadovic <m...@foldr3.com>
> Public key id : B2BBFCFC
> Key fingerprint : A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC
--
*******************************
Mohamed Nabil El-Gabry
National Research Institute of Astronomy and
Geophysics, NRIAG, Elmarsad St., Helwan, Cairo, Egypt
Postal no.: 11421
Tel(office) : +202-25549708 (Ext: 290)
Fax : +202-25548020
Tel(mobile): +2 0105850033
*******************************
On Sat, Feb 4, 2012 at 10:50 PM, Muharem Hrnjadovic <m...@foldr3.com> wrote:
> Best regards/Mit freundlichen Grüßen
>
> --
> Muharem Hrnjadovic <m...@foldr3.com>
> Public key id : B2BBFCFC
> Key fingerprint : A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC
--
> Sorry for bothering you again
No problem.
> But I would like to know whether OQ do perform smoothed seismicity
> assessment (Fankel 1995).
> I need to know if openquake allow zone free calculation or smoothing
> seismicity or not.
That I cannot answer, but will ask our hazard scientist Dr. Damiano
Monelli to comment on this.
> Also I would like to ask about irc channel whether is it still running or not
Yes, the irc channel is live and operational.
the modellers' toolkit (that's where you should expect to find something
similar to the Frankel's method for the calculation of smoothed
seismicity) currently doesn't contain this methodology. We're planning
to add this feature within the next few months.
On the contrary, Openquake already support seismic sources representing
distributed seismicity by means of a grid (i.e. the result of the
smoothing procedure)
as explained in the OQ book (perhaps not clearly) at page 32.
Kind regards,
Marco
> On 02/27/2012 06:30 PM, Mohamed El-Gabry wrote:
>> Dear Muharem
>> Aslam Alykom.
> wa aleykum selaam :-)
>
>> Sorry for bothering you again
> No problem.
>
>> But I would like to know whether OQ do perform smoothed seismicity
>> assessment (Fankel 1995).
>> I need to know if openquake allow zone free calculation or smoothing
>> seismicity or not.
> That I cannot answer, but will ask our hazard scientist Dr. Damiano
> Monelli to comment on this.
>
>> Also I would like to ask about irc channel whether is it still running or not
> Yes, the irc channel is live and operational.
>
> Best regards/Mit freundlichen Gr��en
>
>> Best regards/Mit freundlichen Grüßen
elgabry@:/usr/openquake$ openquake --config_file
demos/simple_fault_demo_hazard/config.gem --output_type=xml
Ignoring GMF_RANDOM_SEED in classical, it's meaningful only in
scenario, event_based
Traceback (most recent call last):
File "/usr/bin/openquake", line 163, in <module>
args.config_file, user_name=getpass.getuser())
File "/usr/lib/pymodules/python2.7/openquake/engine.py", line 830,
in import_job_profile
job_profile = _prepare_job(params, sections, user_name)
File "/usr/lib/pymodules/python2.7/django/db/transaction.py", line
217, in inner
res = func(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openquake/engine.py", line 591,
in _prepare_job
job_profile = _get_job_profile(input_set, calc_mode, job_type, owner)
File "/usr/lib/pymodules/python2.7/django/db/transaction.py", line
217, in inner
res = func(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openquake/engine.py", line 567,
in _get_job_profile
job_profile.save()
File "/usr/lib/pymodules/python2.7/django/db/models/base.py", line
460, in save
self.save_base(using=using, force_insert=force_insert,
force_update=force_update)
File "/usr/lib/pymodules/python2.7/django/db/models/base.py", line
553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/usr/lib/pymodules/python2.7/django/db/models/manager.py",
line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line
1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py",
line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py",
line 735, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.7/django/db/backends/postgresql_psycopg2/base.py",
line 44, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: invalid byte sequence for encoding "UTF8": 0x00
please see "Django 1.3 and standard_conforming_string" on
http://wildfish.com/blog/2011/11/9/installing-postgis-ubuntu/
[..]
Wassalam,
please see "Post-installation chores" on
https://github.com/gem/oq-engine/wiki/Ubuntu-11.10
On 04/24/2012 05:32 PM, Mohamed El-Gabry wrote:
Wassalam,