SourceForge has been redesigned. Learn more.

Why is ncks breaking with this OPeNDAP URL?

  • Richard P Signell

    Latest and Greatest:  Netcdf / NCO 4.2.2
    $ /usr/local/nco-4.2.2/bin/ncks -O -d time,0 -v nv,zeta
    syntax error, unexpected WORD_STRING, expecting WORD_WORD
    context: Error { code = 500; message = "Variable name (h) must be unique within Group "^;};
    nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_get_vara()
    nco_err_exit(): ERROR Error code is -73. Translation into English with nc_strerror(-73) is "NetCDF: Malformed or inaccessible DAP DATADDS"
    nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)
  • Charlie Zender

    Charlie Zender - 2012-11-20

    Latest NCO is 4.2.3 but it doesn't make a difference. I get the same error as you. The DAP error message seems to be saying that DAP finds two objects both named "h" in the same group in the input file. Never seen that one before. Head scratcher. Suggest you obtain the file by other means and do forensics.

  • Richard P Signell

    DOH!   I never thought to check NCDUMP.   Sorry for barking up the wrong tree.   I'll bark up Unidata's tree now.    There are several other dogs barking also, but I'll give it 110%.  ;-)



Log in to post a comment.