Download idealized images from Bottrell+ (2023)

Maxime Paillassa
  • 15 Nov '23

Hello,

I am looking to download idealized images only of the Bottrell+ (2023) data (https://www.tng-project.org/data/docs/specifications/#sec5_5), i.e. all the files in the http://www.tng-project.org/api/TNG50-1/files/skirt_images_hsc_idealized_vX_YY directories with X from 0 to 3 and YY from 72 to 91 ? What would be the best way to do it ?

Thanks.

Dylan Nelson
  • 15 Nov '23

The "idealized" image set for TNG50-1 is 7.5TB in total, are you sure you really want to download everything? I would suggest to start e.g. with one snapshot.

407G    ./086
390G    ./082
338G    ./074
414G    ./087
395G    ./083
345G    ./075
418G    ./088
350G    ./076
327G    ./072
432G    ./090
425G    ./089
355G    ./077
436G    ./091
358G    ./078
400G    ./084
373G    ./080
368G    ./079
405G    ./085
380G    ./081
333G    ./073
7.5T    .

At the top of the Getting Started guide, you see an example wget command. It downloads (all the individual files of) a group catalog, but if you just change the URL to one of the Bottrell API urls filled with links, that should work.

Maxime Paillassa
  • 16 Nov '23

Thanks for your answer. Yes I know the whole data is 7.5TB and I'll go with a single snapshot first.

I can download individual files such as http://www.tng-project.org/api/TNG50-1/snapshots/72/subhalos/0/skirt/skirt_images_hsc_idealized_v0.fits but is there a way to download, e.g., one snapshot at once: http://www.tng-project.org/api/TNG50-1/files/skirt_images_hsc_idealized_v0_72
I can't get a proper wget command to do this.

Thanks

Dylan Nelson
  • 16 Nov '23

The command on the linked page works, e.g.

wget -nd -nc -nv -e robots=off -l 1 -r -A fits --content-disposition --header="API-Key: {KEY}" "https://www.tng-project.org/api/TNG50-1/files/skirt_images_hsc_idealized_v0_72/?format=api"
Maxime Paillassa
  • 16 Nov '23

Oh yes indeed thanks ! I don't know what I missed previously...

Dylan Nelson
  • 16 Nov '23

Probably changing -A hdf5 to -A fits, which I guess specifies which file extensions to actually try to download.

  • Page 1 of 1