Dr. Samuel, this is simply a wonderful routine. I am also astonished by your immediate responses to help users who may have issues while using it.
Best wishes!!
5
30 Aug 2010
read_netcdf
Reads a netCDF file and returns the contents as elements of a structure.
Users should check the format of arrays read by this routine. It appears that the resulting MATLAB arrays may be stored in reverse order from which they were stored. This is most likely due to the use of the copyToNDJavaArray call.
Comment only
30 Aug 2010
read_netcdf
Reads a netCDF file and returns the contents as elements of a structure.
A new version has been uploaded (v0.95) which uses Java to process the netCDF file. This seems to resolve any data inconsistency. If you experience any issues reading a netCDF file using this routine I encourage you to contact me and provide an example netCDF file so I can address whatever issue exists.
Comment only
30 Aug 2010
read_netcdf
Reads a netCDF file and returns the contents as elements of a structure.
I just noticed issues regarding some netCDF files. I believe the issue is the MATLAB routines which I use to actually read the netCDF file. More specifically trying to read large arrays of type double. I've had better luck just using the Java calls so next week I'll post up a v1.5 of this function which uses the Java calls rather than the MATLAB (C routines). Please post up any issues you run into.
Comment only