I am writing a python script that is supposed to retrieve the main progenitor branch of a chosen subhalo at z=0 and then request information on gas densities for every single subhalo on that branch. At first the code ran without errors, however today I started having problems with the following line - mpb=get(sub['trees']['lhalotree_mpb']), it constantly crashes with a server error message. Full error message below:
Traceback (most recent call last):
File "D:/Desktop/IgnoJ/Modelis/ILLUSTRIS/subhalos.py", line 59, in
File "D:/Desktop/IgnoJ/Modelis/ILLUSTRIS/subhalos.py", line 14, in get
File "C:\Python34\lib\site-packages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://data.illustris-project.org/app/tree/lhalotree_mpb/L75n1820FP/135/0/hdf5/?token=941b9df9a6178357b91e
What could have caused this problem?
Thank you for your time.
Are you just having trouble with this particular request:
? If so, the quickest solution may be to simply use the SubLink MPB instead of the LHaloTree MPB. Would this work for you, or do you want the LHaloTree MPB in particular?
The problem is coming from an inefficiency in the LHaloTree files - I will see if I can address this, but if you don't particularly care which you use, just using the other tree solve this issue in the interim.
Thank you for the answer. I accidentally solved the problem myself by switching to SubLinkMPB not too long after writing my original question so that is the reason for this late reply.