HDf5 Kinematic Decomposition file (forbidden resource?)

André Barbosa
  • 14 Dec '22

Dear Sir/Madam,

while trying to get:

!wget "https://www.tng-project.org/api/TNG100-1/files/kinematic_decomposition.99.hdf5"

--2022-12-14 21:36:48-- https://www.tng-project.org/api/TNG100-1/files/kinematic_decomposition.99.hdf5
Resolving www.tng-project.org (www.tng-project.org)...
Connecting to www.tng-project.org (www.tng-project.org)||:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-12-14 21:36:49 ERROR 403: Forbidden.

This is needed for (m) in the Catalogue: https://www.tng-project.org/data/docs/specifications/#sec5m

Dylan Nelson
  • 16 Dec '22

You need to pass your API key if you want to use wget, as shown with the example wget command at the top of the Example Scripts page.

Or, if you are logged in to the webpage, you can just click that link, and it will download ok.

André Barbosa
  • 16 Dec '22

Hi Dylan,

I had the API key set on a previous cell, and was using these 2 wgets directly:

!wget "https://www.tng-project.org/api/TNG100-1/files/kinematic_decomposition.99.hdf5"
!wget "https://www.tng-project.org/files/TNG100-1_KinematicDecomposition/autoGMM_099_png.tar.gz"

The 2nd works OK, however, for the first I believe the API has to be explicitly used - thanks!


  • Page 1 of 1