Menu

ncks opendap and aggregated data

Help
2015-05-15
2016-06-15
  • james harle

    james harle - 2015-05-15

    Hello,

    I've been trying to sub set CMIP5 data from the ESGF portal with little success:

    ncks -d lon,0,20,1 -d lat,170,190,1 http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1 /projectsa/Eurobasin/testing.nc
    syntax error
    context: ^
    ncks: INFO DAP-access to http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1 failed with error code -70. Translation into English with nc_strerror(-70) is "NetCDF: DAP server error"
    ncks: HINT DAP-access error code indicates that URL does exist, so error appears to be in DAP server. Reasons for this could include an aggregation server (e.g., GDS or THREDDS) that receives a URL that is valid according to the aggregation metadata but the implied back-end dataset may be temporarily unavailable.

    however I can ncdump said file, and as an alternative method:

    nccopy 'http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1?lon[0:1:20],lat[170:1:190],time,lev,uo[0:1:1128][0:1:39][170:1:190][0:1:20]' out.nc

    also works. So what I'm not too sure about is whether this is an nco issue or something different? Any pointers appreciated.

    Thanks

    James

    [for ref: I'm using the netcdf libraries from an anaconda install. I built nco using these - but the ncks seg faulted even on a simple ncks -r call, so I did a yum install nco instead]

     
  • Charlie Zender

    Charlie Zender - 2015-05-15

    Hi James,

    This appears to be a permissions problem, that in turn may (not sure) point to inadequate authorization functionality in NCO. The first thing is to get ncks reading (not copying) from ESGF. Appended below is the lengthy error message I get. It boils down to an authorization error. I'm unfamiliar with exactly the syntax or handshakes ESGF needs to work with DAP. Any pointers appreciated. Try to get either of these commands working by including your ESGF login/password somewhere in the URL:

    ncks -M http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1

    ncdump -h http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1

    Clearly nccopy finds what it needs. Not sure why. Suggestions welcome!
    I've added ESGF access as TODO nco1123.

    cz

    zender@roulee:~$ ncks -M http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1
    syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or SCAN_ERROR
    context: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> OpenID Login Page <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/reset-fonts-grids/reset-fonts-grids.css"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/assets/skins/sam/skin.css"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/container/assets/skins/sam/container.css"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/button/assets/skins/sam/button.css"/><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yahoo/yahoo-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/event/event-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/json/json-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/get/get-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/utilities/utilities.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/container/container-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/element/element-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/button/button-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/animation/animation-min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/connection/connection-min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/datasource/datasource-min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/dragdrop/dragdrop-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/datatable/datatable-min.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="/esg-orp/themes/base.css;jsessionid=D670C2A58E40A3B27F47E3E33D07488A"/> </head> <body class="yui-skin-sam">

    <style type="text/css">#header { background: #FFFFFF; color: #ffc; overflow: hidden; height: 80px; margin: 0px; padding: 0px;}#logo_esgf { float: left; background: #FFFFFF; margin-top: 0px; padding-bottom: 0px;}#logo_institution { float: right; background: #FFFFFF; margin-top: 0px; padding-bottom: 0px;}</style>

    Data Access Login

     

    The following URL requires authentication:
    http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1.dds

     

    Please enter your OpenID and you will be redirected to the login page at that site

     

    <form method="post" action="/esg-orp/j_spring_openid_security_check.htm;jsessionid=D670C2A58E40A3B27F47E3E33D07488A"> <script language="javascript"> function sanitize() { openidElement = document.getElementById("openid_identifier"); openid = openidElement.value; openid = openid.replace("http:","https:") .replace(/^\s\s/, '').replace(/\s\s$/, ''); openidElement.value = openid; } </script>

    Status: not logged-in
    OpenID <input type="text" name="openid_identifier" size="60" value="" id="openid_identifier"/> <input type="submit" value="GO" onclick="javascript:sanitize()"/>
    <input type="checkbox" name="rememberOpenid" checked="checked" �=""/> Remember my OpenID on this computer
    </form>

     

    After logging in, you will be redirected to:
    http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1.dds

     

    </body> </html>
    ncks: INFO DAP-access to http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1 failed with error code -78. Translation into English with nc_strerror(-78) is "NetCDF: Authorization failure"
    ncks: WARNING not searching for http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1 on remote filesystem, using local file hredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1 instead
    ERROR: ncoopen() unable to open file "thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1"
    ERROR NC_ENOTNC Not a netCDF file
    HINT: NC_ENOTNC errors can occur for many reasons. If your use-case matches one of the four listed below, take the corrective action indicated:
    1. An NCO operator linked only to the classic netCDF3 library attempts to read netCDF4 (or HDF4 or HDF5) files. However, this executable seems to have been built with the capability to manipulate netCDF4 files, so it is unlikely that this command failed only because the input datasets are netCDF4 format. Something else is going wrong.
    2. NCO attempts to utilize diskless (i.e., RAM) files. In this case remove the diskless switches (e.g., --ram or --diskless) and then re-issue the command.
    3. NCO attempts to read other filetypes (HDF4, HDF-EOS2, pnetCDF) for which support must be (but was not) enabled at netCDF build-time. In this case it may be possible to access the input files using NCO if NCO is first re-linked to a version of netCDF configured with the --enable-hdf4 option. This is a non-standard netCDF build option described here: http://www.unidata.ucar.edu/software/netcdf/docs/build_hdf4.html
    4. Access to a DAP URL fails, and the backup method of downloading the URL using wget obtains a data aggregation file (e.g., a .ncml file) instead of an actual netCDF file. In this case the problem is with the DAP server or URL.
    nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco
    open()
    nco_err_exit(): ERROR Error code is -51. Translation into English with nc_strerror(-51) is "NetCDF: Unknown file format"
    nco_err_exit(): ERROR NCO will now exit with system call abort()
    Aborted (core dumped)


    zender@roulee:~$ ncdump -h http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1
    syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or SCAN_ERROR
    context: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> OpenID Login Page <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/reset-fonts-grids/reset-fonts-grids.css"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/assets/skins/sam/skin.css"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/container/assets/skins/sam/container.css"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/button/assets/skins/sam/button.css"/><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yahoo/yahoo-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/event/event-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/json/json-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/get/get-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/utilities/utilities.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/container/container-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/element/element-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/button/button-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/animation/animation-min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/connection/connection-min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/datasource/datasource-min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/dragdrop/dragdrop-min.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/datatable/datatable-min.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="/esg-orp/themes/base.css;jsessionid=43F667586EC43177645D485549B57812"/> </head> <body class="yui-skin-sam">

    <style type="text/css">#header { background: #FFFFFF; color: #ffc; overflow: hidden; height: 80px; margin: 0px; padding: 0px;}#logo_esgf { float: left; background: #FFFFFF; margin-top: 0px; padding-bottom: 0px;}#logo_institution { float: right; background: #FFFFFF; margin-top: 0px; padding-bottom: 0px;}</style>

    Data Access Login

     

    The following URL requires authentication:
    http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1.dds

     

    Please enter your OpenID and you will be redirected to the login page at that site

     

    <form method="post" action="/esg-orp/j_spring_openid_security_check.htm;jsessionid=43F667586EC43177645D485549B57812"> <script language="javascript"> function sanitize() { openidElement = document.getElementById("openid_identifier"); openid = openidElement.value; openid = openid.replace("http:","https:") .replace(/^\s\s/, '').replace(/\s\s$/, ''); openidElement.value = openid; } </script>

    Status: not logged-in
    OpenID <input type="text" name="openid_identifier" size="60" value="" id="openid_identifier"/> <input type="submit" value="GO" onclick="javascript:sanitize()"/>
    <input type="checkbox" name="rememberOpenid" checked="checked" �=""/> Remember my OpenID on this computer
    </form>

     

    After logging in, you will be redirected to:
    http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1.dds

     

    </body> </html>
    ncdump: http://esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1: NetCDF: Authorization failure


     
  • Charlie Zender

    Charlie Zender - 2015-05-15

    The first thing to try is your usernamepassword in

    ncks -M http://username:password@esgf-data2.ceda.ac.uk/thredds/dodsC/cmip5.output1.MOHC.HadGEM2-ES.rcp85.mon.ocean.Omon.r1i1p1.uo.20111014.aggregation.1

    If that doesn't work, try to glean some tips from

    https://www.unidata.ucar.edu/software/netcdf/docs/auth.html

    cz

     
    • james harle

      james harle - 2015-05-20

      Charlie,

      My credentials are authorized by using a myproxyclient call before accessing the ESGF. This gives me a 12hour period in which to access data. ncdump and nccopy work fine. I guess you're getting the errors above because you first need to sign in through a proxy login... I was just a little lost by the fact an nco call would fail with a DAP server error. I'll do a little more digging when I get a spare moment. I'll also double check an ncks call to a public facing thredds server.

      Thanks

      James

       
  • Antonio S. Cofińo

    Any progresson this?
    I'm trying to:

    ncks -m http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis2/pressure/air.2014.nc
    

    but with no success:

     ERROR: nco__open() unable to open file "http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis2/pressure/air.2014.nc"                
    ERROR NC_EIO Generic IO error                                                                                                                     
    HINT: NC_EIO errors can occur when NCO tries to read a file through a non-existant DAP location. Then NCO automatically tries to retrieve the file
    her method, e.g., searching for a file of the same name in the current directory. This can trigger a subsequent error. When debugging the problem,
    s the originating error (from NC_EIO).                                                                                                            
    nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco__open()                                    
    nco_err_exit(): ERROR Error code is -68. Translation into English with nc_strerror(-68) is "NetCDF: I/O failure"                                  
    nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)                                                                       
    

    I'm using the binaries installation for windows:

    NCO netCDF Operators version "4.6.0" built by USER on HOSTNAME at May 12 2016 17:17:59      
    ncks version "4.6.0"                                                                        
    Linked to netCDF library version 4.3.2, compiled Feb 29 2016 01:53:06                       
    Copyright (C) 1995--2016 Charlie Zender                                                     
    This program is part of NCO, the netCDF Operators.                                          
    NCO is free software and comes with a BIG FAT KISS and ABOLUTELY NO WARRANTY                
    You may redistribute and/or modify NCO under the terms of the                               
    GNU General Public License (GPL) Version 3 with exceptions described in the LICENSE file    
    GPL: http://www.gnu.org/copyleft/gpl.html                                                   
    LICENSE: https://github.com/nco/nco/tree/master/LICENSE                                     
    Homepage: http://nco.sf.net                                                                 
    User Guide: http://nco.sf.net/nco.html                                                      
    Configuration Option:   Active? Meaning or Reference:                                       
    Check _FillValue        Yes     http://nco.sf.net/nco.html#mss_val                          
    Check missing_value     No      http://nco.sf.net/nco.html#mss_val                          
    DAP clients             Yes     http://nco.sf.net/nco.html#dap                              
    Debugging: Custom       No      Pedantic, bounds checking (slowest execution)               
    Debugging: Symbols      No      Produce symbols for debuggers (e.g., dbx, gdb)              
    ESMF Library            No      http://nco.sf.net/nco.html#esmf                             
    GNU Scientific Library  Yes     http://nco.sf.net/nco.html#gsl                              
    HDF4 support            Unknown http://nco.sf.net/nco.html#hdf4                             
    Internationalization    No      http://nco.sf.net/nco.html#i18n (pre-alpha)                 
    MPI parallelization     No      http://nco.sf.net/nco.html#mpi (beta)                       
    netCDF3 64-bit files    Yes     http://nco.sf.net/nco.html#lfs                              
    netCDF4/HDF5 available  Yes     http://nco.sf.net/nco.html#nco4                             
    netCDF4/HDF5 enabled    Yes     http://nco.sf.net/nco.html#nco4                             
    OpenMP SMP threading    No      http://nco.sf.net/nco.html#omp                              
    Optimization: run-time  No      Fastest execution possible (slowest compilation)            
    Parallel netCDF3        No      http://nco.sf.net/nco.html#pnetcdf (pre-alpha)              
    Regular Expressions     No      http://nco.sf.net/nco.html#rx                               
    Shared libraries built  No      Small, dynamically linked executables                       
    Static libraries built  No      Large executables with private namespaces                   
    UDUnits conversions     Yes     http://nco.sf.net/nco.html#udunits                          
    UDUnits2 conversions    Yes     http://nco.sf.net/nco.html#udunits                          
    
    AP Lang                                                                                     
    

    Regards

    Antonio

     

    Last edit: Antonio S. Cofińo 2016-06-09
  • Antonio S. Cofińo

    Henry,

    I have tested the ncdump and it's working, I forgot to mention in my message.

    After your e-mail I have discovered that the problems is with the .dodsrc.

    I have this .dodsrc to enable SSL authentication against a ESGF endpoint. If I remove the .dodsrc both the ncdump and ncks are working with the URL:

    http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis2/pressure/air.2014.nc

    I have drill-down which directive from the .dodsrc is originating the problem and is was due the following one:

    HTTP.SSL.CAPATH

    The rest of .dodsrc directive are working.

    The NCO binaries are linked statically with the netcdf-c library, but this static netcdf-c libraries are compiled with libcurl (for DAP support) but with no HTTPS protocol support:

    Protocol "https" not supported or disabled in libcurl

    D:\>ncks -m "%DODS_URL%"                                                                                               
    * STATE: INIT => CONNECT handle 0x1107480; line 1090 (connection #-5000)                                                                                       
    * Added connection 0. The cache now contains 1 members                                                                                                         
    * STATE: CONNECT => WAITRESOLVE handle 0x1107480; line 1127 (connection #0)                                                                                    
    *   Trying 132.167.240.35...                                                                                                                                   
    * STATE: WAITRESOLVE => WAITCONNECT handle 0x1107480; line 1200 (connection #0)                                                                                
    * Connected to esgf.extra.cea.fr (132.167.240.35) port 80 (#0)                                                                                                 
    * STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x1107480; line 1240 (connection #0)                                                                           
    * STATE: SENDPROTOCONNECT => DO handle 0x1107480; line 1258 (connection #0)                                                                                    
    > GET /thredds/dodsC/work_cmip5/output1/IPSL/IPSL-CM5A-LR/esmrcp85/6hr/atmos/6hrPlev/r1i1p1/v20120114/psl/psl_6hrPlev_IPSL-CM5A-LR_esmrcp85_r1i1p1_2056010103-2
    100123121.nc.dds HTTP/1.1                                                                                                                                      
    Host: esgf.extra.cea.fr                                                                                                                                        
    User-Agent: oc4.3.2                                                                                                                                            
    Accept: */*                                                                                                                                                    
    
    * STATE: DO => DO_DONE handle 0x1107480; line 1337 (connection #0)                                                                                             
    * STATE: DO_DONE => WAITPERFORM handle 0x1107480; line 1464 (connection #0)                                                                                    
    * STATE: WAITPERFORM => PERFORM handle 0x1107480; line 1474 (connection #0)                                                                                    
    * HTTP 1.1 or later with persistent connection, pipelining supported                                                                                           
    < HTTP/1.1 302 Found                                                                                                                                           
    < Date: Sun, 12 Jun 2016 17:40:21 GMT                                                                                                                          
    * Added cookie JSESSIONID="A4D8578044571B240E7CF2EC5C79C494" for domain esgf.extra.cea.fr, path /thredds/, expire 0                                            
    < Set-Cookie: JSESSIONID=A4D8578044571B240E7CF2EC5C79C494; Path=/thredds/; HttpOnly                                                                            
    < Location: https://esgf.extra.cea.fr/esg-orp/home.htm?redirect=http%3A%2F%2Fesgf.extra.cea.fr%2Fthredds%2FdodsC%2Fwork_cmip5%2Foutput1%2FIPSL%2FIPSL-CM5A-LR%2
    Fesmrcp85%2F6hr%2Fatmos%2F6hrPlev%2Fr1i1p1%2Fv20120114%2Fpsl%2Fpsl_6hrPlev_IPSL-CM5A-LR_esmrcp85_r1i1p1_2056010103-2100123121.nc.dds                           
    < Content-Length: 0                                                                                                                                            
    < Connection: close                                                                                                                                            
    < Content-Type: application/x-netcdf                                                                                                                           
    <                                                                                                                                                              
    * Curl_done                                                                                                                                                    
    * Closing connection 0                                                                                                                                         
    * The cache now contains 0 members                                                                                                                             
    * Issue another request to this URL: 'https://esgf.extra.cea.fr/esg-orp/home.htm?redirect=http%3A%2F%2Fesgf.extra.cea.fr%2Fthredds%2FdodsC%2Fwork_cmip5%2Foutpu
    t1%2FIPSL%2FIPSL-CM5A-LR%2Fesmrcp85%2F6hr%2Fatmos%2F6hrPlev%2Fr1i1p1%2Fv20120114%2Fpsl%2Fpsl_6hrPlev_IPSL-CM5A-LR_esmrcp85_r1i1p1_2056010103-2100123121.nc.dds'
    
    * STATE: PERFORM => CONNECT handle 0x1107480; line 1608 (connection #-5000)                                                                                    
    *** Protocol "https" not supported or disabled in libcurl                                   **                                                                     
    * Closing connection -1                                                                                                                                        
    * Expire cleared                                                                                                                                               
    curl error details:                                                                                                                                            
    * WARNING: failed to save cookies in                                                                                                                           
    ERROR: nco__open() unable to open file "http://esgf.extra.cea.fr/thredds/dodsC/work_cmip5/output1/IPSL/IPSL-CM5A-LR/esmrcp85/6hr/atmos/6hrPlev/r1i1p1/v20120114
    /psl/psl_6hrPlev_IPSL-CM5A-LR_esmrcp85_r1i1p1_2056010103-2100123121.nc"                                                                                        
    ERROR NC_EIO Generic IO error                                                                                                                                  
    HINT: NC_EIO errors can occur when NCO tries to read a file through a non-existant DAP location. Then NCO automatically tries to retrieve the file through anot
    her method, e.g., searching for a file of the same name in the current directory. This can trigger a subsequent error. When debugging the problem, first addres
    s the originating error (from NC_EIO).                                                                                                                         
    nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco__open()                                                 
    nco_err_exit(): ERROR Error code is -68. Translation into English with nc_strerror(-68) is "NetCDF: I/O failure"                                               
    nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)  
    

    Antonio

     

    Last edit: Antonio S. Cofińo 2016-06-12
  • Antonio S. Cofińo

    BTW

    I have compiled in Linux the NCO 4.6.0 agains the Netcdf 4.4.0 with DAP support and SSL and they work against ESGF data using SSL certifiates. Also cookies and redirection capabilities are working.

    More details in
    http://www.unidata.ucar.edu/software/netcdf/docs/auth.html

    Regards

    Antonio

     

Log in to post a comment.