Error 302 while downloading Groupcat

Hung-Yu Jian
  • 19 Jun

I am trying to download the group catalog at Snapshot 89 using wget as follows.

wget -nc --content-disposition --header="API-Key: myapi" http://www.tng-project.org/api/TNG50-1/files/groupcat-89.440.hdf5

The split file numbers between 440 and 469 show the message below.

--2024-06-18 22:22:53-- https://www.tng-project.org/api/TNG50-1/files/groupcat-89.440.hdf5
Resolving www.tng-project.org (www.tng-project.org)... 130.183.17.94
Connecting to www.tng-project.org (www.tng-project.org)|130.183.17.94|:443... connected.
HTTP request sent, awaiting response... 302 Found

Could you please help?

Thank you!

Dylan Nelson
  • 19 Jun

This is working fine for me, now. Are you still having problems?

Hung-Yu Jian
  • 20 Jun

I used the command "wget --header="API-Key: myapi" http://www.tng-project.org/api/TNG50-1/files/groupcat-89.440.hdf5" to download the catalogs without "-nc --content-disposition", and I was able to get the file without any error message.
The file I downloaded was named group-89.440.hdf5. I then renamed it to fof_subhalo_tab_089.440.hdf5 and checked its integrity using the command "sha256sum -c checksums.txt", which confirmed that it was the correct file.
I have completed the download of the files now.
Thank you very much for your assistance.

  • Page 1 of 1