Hi,
I made a search and was supplied a list of links and a download script. Both are not working for me. The link gives me the error below.
Best regards,
Jaap Onderwaater
Username: jacobuso
You do not have permission to access the requested resource.
The specific error message associated with your request was:
ERROR - The HTTP GET request for the source URL: https://archive.podaac.earthdata.nasa.gov/podaac-ops-cumulus-protected/IASI_SST_METOP_B-OSISAF-L2P-v1.0/20181230235956-OSISAF-L2P_GHRSST-SSTskin-IASI_SST_METOP_B-sstiasi_metop01_20181230_235956_32609-v02.0-fv01.0.nc.dmrpp FAILED. CURLINFO_EFFECTIVE_URL: https://urs.earthdata.nasa.gov/oauth/authorize?client_id=HrBaq4rVeFgp2aOo6PoUxA&response_type=code&redirect_uri=https://archive.podaac.earthdata.nasa.gov/login&state=%2Fpodaac-ops-cumulus-protected%2FIASI_SST_METOP_B-OSISAF-L2P-v1.0%2F20181230235956-OSISAF-L2P_GHRSST-SSTskin-IASI_SST_METOP_B-sstiasi_metop01_20181230_235956_32609-v02.0-fv01.0.nc.dmrpp&app_type=401 The response had an HTTP status of 401 which means 'Unauthorized: Contact the server administrator.'
If you think that the server is broken (that the URL you submitted should have worked), then please contact the OPeNDAP user support coordinator at: sup...@opendap.org
Update:
I can now download from the browser, but the download script still has an issue as shown below (the link that is offered to ensure I have authorisation works).
If I disable curl and force the script to use wget, it actually downloads. I’m using Fedora 34. Considering this I would file this as a bug report, and no longer ask for support.
Best regards,
Jaap
jacobuso:# chmod 777 download.sh
jacobuso:# ./download.sh
Enter your Earthdata Login or other provider supplied credentials
Username (jacobuso):
Password:
Unable to Retrieve Data
Please ensure that you have authorized the remote application by visiting the link below
Thank you for your feedback.
I'm still not entirely sure what is the issue, but detect_app_approval in the download script for me gets approved=301. If I simply modify the following if-statement to accept this outcome, the download script also works.
Best regards,
Jaap
-----Original Message-----
From: Nathan Potter <n...@opendap.org>
Sent: Monday 17 January 2022 15:35
To: Jaap Onderwaater <Jaap.Ond...@eumetsat.int>
Cc: Nathan Potter <n...@opendap.org>; OPeNDAP Support <sup...@opendap.org>
Subject: Re: [support] broken download
WARNING: This email originated outside the organisation. Treat links and attachments with caution.
That curl works for me too. Looks like just detect_app_approval is getting a different code than expected.