site model csv vs xml

105 views
Skip to first unread message

Peter Pažák

unread,
Jan 22, 2021, 8:30:58 AM1/22/21
to OpenQuake Users
Hi, sorry if this was already discussed or is unimportant:
I was using xml site model files, now I switched to csv, the data is exactly the same:

site_model_file = site_model.xml

<site lon="-123.3" lat="48.4" vs30="500" vs30Type="inferred" z1pt0="150" z2pt5="1" backarc="false"/>

site_model_file = site_model.csv

lon,lat,vs30,z1pt0,z2pt5,vs30measured,backarc
-123.3,48.4,500,150,1,0,0

still there is a difference inside of the calc_XX.hdf:
from the xml it seems to set correcty vs30measured and backarc to 0 in site_model and sitecol tables
but after using the csv vs30measured and backarc are 1

These parameters are not used often, but still good to know if it influences the calculation...using OQ engine 3.10.1 on windows

Thank you
Peter

Michele Simionato

unread,
Jan 22, 2021, 10:08:56 AM1/22/21
to OpenQuake Users
Looks like a bug, thanks for report this. We will check,

       Michele

Michele Simionato

unread,
Jan 25, 2021, 2:33:40 AM1/25/21
to OpenQuake Users
This is fixed in current master: https://github.com/gem/oq-engine/pull/6486
Thanks again,

             Michele

Peter Pažák

unread,
Jan 25, 2021, 1:24:54 PM1/25/21
to OpenQuake Users
Thank you too for the fast fix :)

Dátum: pondelok 25. januára 2021, čas: 8:33:40 UTC+1, odosielateľ: Michele Simionato
Reply all
Reply to author
Forward
0 new messages