Effacer les filtres
Effacer les filtres

reading NETCDF parameter information using getnc

1 vue (au cours des 30 derniers jours)
Gordon Jones
Gordon Jones le 3 Avr 2011
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.

Réponse acceptée

Gordon Jones
Gordon Jones le 14 Avr 2011
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.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by