gcmfaces
gcmfaces copied to clipboard
can't use read_nctiles function in Matlab
I have learned that I must use read_nctiles function to read the ECCO nctiles data. Unfortunately, Matlab keeps reporting errors when running the basic function: " errors read_nctiles (line 172) fldTile=netcdf.getVar(nc,vv,start,count)", and reminds me that the "START" parameter must be 5 numbers but not 4 when call netcdflib function. For example, when I want to read THETA_199201.nc data, ncdisp('THETA_199201.nc') shows the THETA is a 5-D data, but the "start" parameter of read_nctiles seems to be 4 but not 5. I am a rookie to the gcmfaces function toolbox, and I really want to know why this happens.
@cyang2022 Thanks for reporting this. Can you please post an example command you used and also which data set you were trying to read?