I have been working with Illustris-1 for a few weeks, and now we have downloaded TNG50 to improve the results. However, using the same Python code gives me problems. I can load all halos and subhalos normally with il.groupcat.loadHalos(basePath, 99) and il.groupcat.loadSubhalos(basePath,99). However, using il.groupcat.loadSingle(basePath, 99, subhaloID=id) to load a single subhalo or il.snapshot.loadSubhalo() to get its star formation history raise some issues. In particular, it says that it is unable to open some offset files. I have not downloaded any offsets or postprocessing files because I didn't need it before with Illustris-1 and using the same code. (I leave a picture with an example of the error code)
Do I have to get any of these? And how do I get them?
Yes you should just download the snapshot 99 offsets (they are on the main TNG50-1 download page, if you are using TNG50-1).
Thank you, now everything works properly!