dear all,
I already success read GRIB2 File using ncgeodataset, in this case I want read many file, for example i have 30 file grib2 with different name in year,like this
surf_Pss_mon.19811217.gbr2
surf_Pss_mon.19821217.grb2
:
:
surf_Pss_mon.20101217.grb
so I do this with looping using for..end in Matlab, but when it run , it is only success till read for 15 file when looping for file 16th I got error like this :
Dot name reference on non-scalar structure.
Error in ncdataset (line 72)
obj.variables = url.variables;
Error in ncgeodataset/geovariable (line 165)
ncd = ncdataset(obj);
Error in ncgeodataset/subsref (line 378)
B = builtin('subsref',obj,g);
Error in testGPVhindcastNew (line 32)
vargrib = nc.geovariable('Water_temperature_surface_Mixed_intervals_Average');
note :testGPVhindcastNew is my name m file
So, how to fix this problem, I already check the grib2 data, if I open it one by one each data its work, but it will hard to do with many data.
Maybe some one can give me solution, I will appreciate for it
Thanks ...
regards
Robi