Re: [netcdfgroup] nccopy and redirect - based authorization

Dear Ashwin,

Attached you can find a working example for the ESGF opendap endpoints.

You can put it on your working directory (the HOME also it's valid)

If the opendap endpoint it's not using SSL security you can ignore the HTTP.SSL.* entries.

If you are having troubles you can enable the HTTP.VERBOSE

Regards

Antonio



On 21/08/17 04:42, ashwin .D wrote:
Hello,
Has anybody been able to use nccopy with redirect-based authorization and download a netCDF file ? I am referring to this - http://ncarrda.blogspot.in/2017/07/accessing-rda-opendap-endpoints-with.html and I get a authorization failed error even though I have an appropriate .netrc file as well as dodsrc file. Using standard python and netCDF python I am able to read http request and response of metadata pages on RDA - it is only nccopy that is failing. Does anybody have a working example of nccopy with this redirect-based authorization ?

Best,
Ashwin.


_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

#HTTP.VERBOSE=1
HTTP.COOKIEJAR=.esg/dods_cookies
HTTP.COOKIEFILE=.esg/dods_cookies
HTTP.SSL.VERIFYPEER=1
HTTP.SSL.CAPATH=.esg/certificates
HTTP.SSL.CAINFO=.esg/ca-certificates.pem
HTTP.SSL.CERTIFICATE=.esg/credentials.pem
  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: