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.
This is a HDF4 file, so you need to have a ncks version built with HDF4.
What ncks version are you using?
please post the contents of
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
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
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?
I made a mistake in my script
ncks -O -d lon,10.,20. -d -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
I does not still work.
but if I put the -d lon,10,20 -d lat 10,20 instead of 10.0,20.0, it work.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.