In a similar manner to my other question regarding NETCDF this problem has been solved by using SNCTOOLS rather than the CSIRO tools. It seems to provide a slightly more polished solution when using R2010b.
reading NETCDF parameter information using getnc
1 次查看(过去 30 天)
显示 更早的评论
I'm trying to read in a large dataset that has been converted into NETCDF format from a proprietary binary format, a cut down version of the code is below.
yearstr = sprintf('%04d%02d', iyear, imonth);
cmet = 'pptn';
filenames = strcat(pathin , cmet , '-', yearstr, '01-30.nc')
file = filenames;
TIME = getnc(file, 't');
However, I keep coming up against a problem when it comes to ingesting the data, I get an error that states that;
Output argument "varargout" (and maybe others) not assigned during call to
"C:\My_Documents\2-routines\CSIRO NetCDF
routines\mexnc.m>mexnc".
I've tried reading through a lot of the information that I have, but I have been presented this routine by my supervisor and it appears to be a bit above my understanding. Any advice would be greatly appreciated because I'm temporarily stumped. I'm using R2010b on a windows 64 machine.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NetCDF 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!