Exposure model error

52 ملاحظات
پہلے نہ پڑھے ہوئے پیغام پر جائیں

Bibek Shrestha

نہ پڑھا ہوا،
14 ستمبر، 2021، 9:18:30 AM14/9/21
بنام OpenQuake Users
Hello, I'm getting this error:

Expected: ['area', 'id', 'lat', 'lon', 'number', 'structural', 'taxonomy', 'utility']
Got: ['area', 'lat', 'lon', 'number', 'structural', 'taxonomy', 'utility', '\ufeffid']

I did use webui to download nrml exposure file. Help?

Thanks..

anirudh.rao

نہ پڑھا ہوا،
14 ستمبر، 2021، 10:24:10 AM14/9/21
بنام OpenQuake Users
Could you please check if the discussion in the thread below applies in your case?


Anirudh

Bibek Shrestha

نہ پڑھا ہوا،
14 ستمبر، 2021، 11:00:57 AM14/9/21
بنام OpenQuake Users
Thanks for reply, anirudh.

I replaced exposure file with xml format without csv, and it ran. However, I ran into another problem:

Assertion failed: No buffer space available (bundled\zeromq\src\tcp.cpp:176)
[2021-09-14 20:36:29,704 #36 INFO] Received 51.01 MB in 3204 seconds, biggest output=1.81 MB
[2021-09-14 20:36:29,719 #36 INFO] Received {'pmap': '2.51 MB', 'calc_times': '12.59 KB', 'rup_data': '50.52 MB', 'task_no': '672 B'}
[2021-09-14 20:36:29,784 #36 CRITICAL]
Traceback (most recent call last):
  File "c:\program files\openquake engine\python3.6\lib\site-packages\psutil\_pswindows.py", line 635, in wrapper
    return fun(self, *args, **kwargs)
  File "c:\program files\openquake engine\python3.6\lib\site-packages\psutil\_pswindows.py", line 821, in create_time
    return cext.proc_create_time(self.pid)
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:
....

psutil._exceptions.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=4388)

During handling of the above exception, another exception occurred:
.....
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

.....

This goes on for another 4-5 times.

I'm using OQ 3.7.1, if that matters.

Thanks.


Michele Simionato

نہ پڑھا ہوا،
16 ستمبر، 2021، 12:49:36 AM16/9/21
بنام OpenQuake Users
It looks like an out of memory problem, given the warning
Assertion failed: No buffer space available (bundled\zeromq\src\tcp.cpp:176)

Your only option is to reduce the calculation or to use a bigger machine.

           Michele Simionato

Bibek Shrestha

نہ پڑھا ہوا،
16 ستمبر، 2021، 4:33:10 AM16/9/21
بنام OpenQuake Users
Thanks michele! Looks like I got no recourse then.

Incidentally, regarding original problem, using xml for exposure worked. Solution given by anirudh also works (using non-UTF csv), but I'm confused since I used IPT and downloaded the exposure zip file, which contained the csv.

In any case, I've moved ahead of that problem.


Thanks again.

Peter Pažák

نہ پڑھا ہوا،
18 ستمبر، 2021، 12:31:30 PM18/9/21
بنام OpenQuake Users
IPT takes your csv file into the zip, so you need to save your csv without the UTF BOM
(BOM is that \ufeff before id, so e.g. in excel choose CSV and *NOT* CSV UTF-8 or remove the BOM with some good editor)

Peter


Dátum: štvrtok 16. septembra 2021, čas: 10:33:10 UTC+2, odosielateľ: bibe...@gmail.com

Bibek Shrestha

نہ پڑھا ہوا،
18 ستمبر، 2021، 2:02:01 PM18/9/21
بنام OpenQuake Users
Okay, thank you.
سبھی کو جواب دیں
مصنف کو جواب دیں
فارورڈ کریں
0 نئے پیغامات