Hi Michele,
Thanks for your reply, but the point that I made was not on xml, but csv. Still I can not understand how to relate GMPE to gm value just by looking at both gmf-data#.csv and realizatios#.csv because eid was not referenced in the realizations#.csv. Also the ordinal should not be confused with the order of eid in the gmf-data#csv. Please see the following example where you can find the AtkinsonBoore2006 is at the 2nd in the realizatons file while the gmf value using the AtkinsonBoore2006 is at the 3rd in the gmf-data#.csv. FYI. I've used 3.7.0-git88e4182717. Please correct me if I misunderstood something.
# gmf-data#.csv
eid,sid,gmv_PGA
12884901888,0,3.671288E-02
12884901889,0,5.243856E-02
12884901890,0,3.433215E-02
12884901891,0,3.700328E-02
12884901892,0,4.202059E-02
12884901893,0,1.331436E-01
12884901894,0,3.095780E-02
# realizations#.csv
ordinal,branch_path,weight
0,[Allen2012],1.9200000e-01
1,[AtkinsonBoore2006],1.2500000e-01
2,[AtkinsonBoore2006Modified2011],1.1800000e-01
3,[BooreEtAl2014],1.0600000e-01
4,[ChiouYoungs2014],8.5000001e-02
5,[SomervilleEtAl2009YilgarnCraton],2.2800000e-01
6,[ZhaoEtAl2006AscSWISS05],1.4600000e-01
# correct matching
[Allen2012]->[[0.03671288]],0.192
[AtkinsonBoore2006]->[[0.03433215]],0.125
[AtkinsonBoore2006Modified2011]->[[0.05243856]],0.118
[BooreEtAl2014]->[[0.03700328]],0.106
[ChiouYoungs2014]->[[0.04202059]],0.085
[SomervilleEtAl2009YilgarnCraton]->[[0.13314363]],0.228
[ZhaoEtAl2006AscSWISS05]->[[0.0309578]],0.146