Hi,
you are right that occurrence rate for the ruptures is not output when you download i.e. via clicking on Earthquake Ruptures in webui.
It is though saved in the output hdf5 and you can export with a few python lines (you need to run with OQ python and specify full hdf5 path or be in the same directory...):
import h5py
import pandas as pd
f = h5py.File('calc_41.hdf5', 'r')
rup = pd.DataFrame(f['ruptures'][:],columns=['id','n_occ','occurrence_rate','mag','source_id','rake'])
rup['source_id'] = rup['source_id'].apply(lambda x: x.decode('utf-8')) #source_id is a binary string, assuming utf-8 encoding (most of the time it will be ASCII)
tmpdf = pd.DataFrame(f['ruptures']['hypo'])
rup['centroid_lon'] = tmpdf[0]
rup['centroid_lat'] = tmpdf[1]
rup['centroid_depth'] = tmpdf[2]
rup.to_csv('ruptures.csv',index=None)
the output looks e.g. like this:
id,n_occ,occurrence_rate,mag,source_id,rake,centroid_lon,centroid_lat,centroid_depth
0,1,5.32637e-07,5.05,NANHY,0.0,-71.62193,45.19251,9.0
1,1,5.32637e-07,5.05,NANHY,0.0,-71.75035,45.102577,9.0
2,1,4.408667e-07,5.15,NANHY,0.0,-71.75035,45.102577,9.0
3,1,3.0278636e-07,5.35,NANHY,0.0,-71.881325,44.562984,9.0
Peter