*   Trying 128.117.181.113...
* Connected to rda.ucar.edu (128.117.181.113) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; postalCode=80301; ST=CO; L=Boulder; street=3090 Center Green Drive; O=The University Corporation for Atmospheric Research; OU=CISL; CN=rda.ucar.edu
*  start date: Jul  6 00:00:00 2015 GMT
*  expire date: Jul  5 23:59:59 2018 GMT
*  issuer: C=US; ST=MI; L=Ann Arbor; O=Internet2; OU=InCommon; CN=InCommon RSA Server CA
*  SSL certificate verify ok.
> GET /thredds/dodsC/aggregations/g/ds083.2/1/TP.grb2.dds HTTP/1.1
Host: rda.ucar.edu
User-Agent: oc4.5.0-rc1
Accept: */*

< HTTP/1.1 401 Unauthorized
< Date: Fri, 25 Aug 2017 03:53:04 GMT
< Server: Apache/2.4.6 (CentOS)
< Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
< Cache-Control: private
< Expires: Wed, 31 Dec 1969 17:00:00 MST
< WWW-Authenticate: Basic realm="THREDDS Data Server"
< Content-Language: en
< Content-Length: 994
< Content-Type: text/html;charset=utf-8
< 
* Ignoring the response-body
* Connection #0 to host rda.ucar.edu left intact
* Issue another request to this URL: 'https://rda.ucar.edu/thredds/dodsC/aggregations/g/ds083.2/1/TP.grb2.dds'
* Found bundle for host rda.ucar.edu: 0x929700 [can pipeline]
* Re-using existing connection! (#0) with host rda.ucar.edu
* Connected to rda.ucar.edu (128.117.181.113) port 443 (#0)
* Server auth using Basic with user '¸k,þ~'
> GET /thredds/dodsC/aggregations/g/ds083.2/1/TP.grb2.dds HTTP/1.1
Host: rda.ucar.edu
Authorization: Basic uGssj/5+Og==
User-Agent: oc4.5.0-rc1
Accept: */*

< HTTP/1.1 401 Unauthorized
< Date: Fri, 25 Aug 2017 03:53:04 GMT
< Server: Apache/2.4.6 (CentOS)
< Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
< Cache-Control: private
< Expires: Wed, 31 Dec 1969 17:00:00 MST
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="THREDDS Data Server"
< Content-Language: en
< Content-Length: 994
< Content-Type: text/html;charset=utf-8
< 
* Connection #0 to host rda.ucar.edu left intact
syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or SCAN_ERROR
context: <!DOCTYPE^ html><html><head><title>Apache Tomcat/8.0.36 - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 401 - </h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><hr class="line"><h3>Apache Tomcat/8.0.36</h3></body></html>
NetCDF: Authorization failure
Location: file nccopy.c; line 1355
Traceback (most recent call last):
  File "test.py", line 46, in <module>
    subprocess.check_call(command_list)
  File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nccopy', '-k', '4', 'https://rda.ucar.edu/thredds/dodsC/aggregations/g/ds083.2/1/TP.grb2?lat[0:1:180],lon[0:1:359],time1[2459:1:2459],isobaric3[0:1:30],Temperature_isobaric[2459:1:2459][0:1:30][0:1:180][0:1:359]', 'bbb.nc']' returned non-zero exit status 1
