getanc.py fails on RHEL 6.10 but works on RHEL 7.10

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
smasse
Posts: 25
Joined: Wed Dec 05, 2018 3:58 pm America/New_York
Answers: 0

getanc.py fails on RHEL 6.10 but works on RHEL 7.10

by smasse » Sun Jun 27, 2021 7:17 pm America/New_York

The following command works on RHEL 7.10 but fails on RHEL 6.10

/usr/local/seadas/7.5/scripts/getanc.py --force-download --mission=aqua --start=2021167231218
*** ERROR: Authentication Failue retrieving:
*** oceandata.sci.gsfc.nasa.gov/ob/getfile/N202116800_MET_NCEPR2_6h.hdf
*** Please check that your ~/.netrc file is setup correctly and has proper permissions.
***
*** see: https://oceancolor.gsfc.nasa.gov/data/download_methods/
***

I am using the same access credentials (same .netrc with same ownership and permissions) on both machines.
The last time I successfully downloaded ancillaries on RHEL 6.10 was on April 15, 2021.

Is there a way to check the download without the Python script to see if it is the problem?

Thanks.

Tags:

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

Re: getanc.py fails on RHEL 6.10 but works on RHEL 7.10

by gnwiii » Fri Jul 02, 2021 6:33 am America/New_York

When NASA moved to HTTPS there were problems with older linux distros that didn't support any of the ciphers NASA was using. The forum posts from that period include ways to diagnose problems with https connections. See
<viewtopic.php?f=7&t=1046&sid=9f22b450f8 ... d52d0f5df9> and similar posts from that period.

Once you understand the issue you may get advice on ways to work around them on CentOS 6 from CentOS forums.

Post Reply