i want to know netcdf error

1 view (last 30 days)
kim
kim on 15 Oct 2014
Commented: Geoff Hayes on 15 Oct 2014
attach a files are two nc files and coding hwp file
1)sea surface height anom sep_2009_nov.nc 2)sea surface hght anom 2012-oct.nc
when i coding first files it' ok
But when i coding second files, it happens error,,
------------------------------------------------------------------------------------------------------------- Error using netcdflib The NetCDF library encountered an error during execution of 'inqVar' function - 'Variable not found (NC_ENOTVAR)'.
Error in netcdf.inqVar (line 26) [varname,xtype,dimids,natts] = netcdflib('inqVar', ncid, varid); -----------------------------------------------------------------------------------------------------------------
i don't know why this errors happen
help me please
  1 Comment
Geoff Hayes
Geoff Hayes on 15 Oct 2014
Kim - What are the lines of code that you are using to read these files?

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!