problem in ncks

Help
2013-09-25
2013-10-17
  • takayanamba

    takayanamba - 2013-09-25

    Dear Sir

    When I tried the ncks as
    ncks -O -d lon,10.,20. -lat,0.0,10.0 -v bsst http://data.nodc.noaa.gov/cgi-bin/nph-dods/pathfinder/Version5.0/Monthly/1985/198506.s04m1pfv50-bsst-16b.hdf test.nc

    nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_inq_vartype()
    nco_err_exit(): ERROR Error code is -49. Translation into English with nc_strerror(-49) is "NetCDF: Variable not found"
    nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)

    ===========
    I found the same question dated 2012-11-04 with a answer in help but it does not work for me.
    I am very pleased, if anyone help me.

    regards,

    takaya

     
  • Pedro Vicente

    Pedro Vicente - 2013-09-25

    This is a HDF4 file, so you need to have a ncks version built with HDF4.

    What ncks version are you using?

    Pedro

     
  • Pedro Vicente

    Pedro Vicente - 2013-09-25

    please post the contents of

    ncks -r

     
  • takayanamba

    takayanamba - 2013-09-25

    Dear Pedro

    Thank you for your reply. I attached the result of \"ncks -r \"as

    NCO netCDF Operators version \"4.1.0\" last modified 2012/03/22 built Jun 26 2012 on takayas-MacBook-Pro.local by nobody
    ncks version 4.1.0
    Linked to netCDF library version 4.2, compiled May 17 2012 17:13:03
    Copyright (C) 1995-2012 Charlie Zender
    NCO is free software and comes with a BIG FAT KISS and ABOLUTELY NO WARRANTY
    License: GNU General Public License (GPL) Version 3
    Homepage: http://nco.sf.net
    User\'s Guide: http://nco.sf.net/nco.html
    Configuration Option: Active? Meaning or Reference:
    Check _FillValue Yes http://nco.sf.net/nco.html#mss_val

    takaya

     
  • takayanamba

    takayanamba - 2013-09-25

    Dear Sir

    Additional information on the problem of ncks.

    Without the part of "-d lon,10.,20. -lat,0.0,10.0", ncks can work.
    It seems that the ncks can read HDF file?

    regards,

    takaya

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks