Reading HDF5 supplementary data catalogs (with IDL)

Ed Elson

Hi,

I'm brand new to using IllustrisTNG data. I wonder if someone can please assist me with what I hope/think is an easy thing.

I'm interested acquiring multi-band photometry for the z=0 galaxies. I've downloaded the skirt_bands_seds.hdf5 file for TNG50-1. I use IDL and I've downloaded the following files to my local machine: illustris_groupcat.pro, illustris_snapshot.pro, illustris_cartesian.pro, illustris_lhalotree.pro, illustris_sublink.pro.

Indeed, ".r illustris" works fine.

In the "Getting Started" guide, there's a nice example of how to extract masses and SFRs of the subhalos. I'd like to do something similar: How can I acquire a list of fields that are available in skirt_bands_seds.hdf5 (examples: I-band mag, Z-> band mag, etc.) and then how can I extract them into IDL arrays? Also, what I really need in addition to each galaxy's photometry is its stellar mass.

I've tried copying the online examples, but I get and error about not finding "fof_subhalo_tab_135.0.hdf5".

If anyone can assist me, I'll greatly appreciate the help. If this is something you users are expected to figure out on their own, then fair enough!

Regards,

Ed

Dylan Nelson
  • 3 Feb

The illustris_idl library is mainly meant for reading snapshots and group catalogs. It doesn't help with reading other files e.g. supplementary data catalogs. These are almost always just a single HDF5 file, as you say. So to read it, you would use standard IDL HDF5 functionality.

I would also suggest to type h5ls -r skirt_bands_seds.hdf5 at the command-line. This gives a full overview of all the contents of a HDF5 file.

Ed Elson
  • 4 Feb

Thanks you. the h5ls command simply produces:
Header Group
Snapshot_91 Group
Snapshot_99 Group

This isn't very useful. I've trued readining the HD% file using IDL and Python, but have not had success with either. It's ok, I'll rather look for a different data set to use.

  • Page 1 of 1