No distance information in the fits file generated by PESummary
The fits file generated by PESummary does not have distance information, and we can not generate 3D skymap from it.
(igwn-py37-20200118) [soichiro.morisaki@ldas-pcdev5 online_bilby]$ ligo-skymap-plot-volume lalinference.fits -o volume.png --annotate
Traceback (most recent call last):
File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37-20200118/bin/ligo-skymap-plot-volume", line 11, in <module>
sys.exit(main())
File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37-20200118/lib/python3.7/site-packages/ligo/skymap/tool/ligo_skymap_plot_volume.py", line 79, in main
opts.input.name, distances=True)
File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37-20200118/lib/python3.7/site-packages/ligo/skymap/io/fits.py", line 528, in read_sky_map
np.asarray(m[name]) for name in DEFAULT_NESTED_NAMES), m.meta
File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37-20200118/lib/python3.7/site-packages/ligo/skymap/io/fits.py", line 528, in <genexpr>
np.asarray(m[name]) for name in DEFAULT_NESTED_NAMES), m.meta
File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37-20200118/lib/python3.7/site-packages/astropy/table/table.py", line 1349, in __getitem__
return self.columns[item]
File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37-20200118/lib/python3.7/site-packages/astropy/table/table.py", line 191, in __getitem__
return OrderedDict.__getitem__(self, item)
KeyError: 'DISTMU'
lalinference.fits
is taken from /home/isobel.romero-shaw/public_html/O3/S200213/summarypages/samples/lalinference.fits
.