NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab --> NetCDF



Hi James,

> We have another project here where data are being read into Matlab
> and organized in a special way. What's the best tool (programming
> language, et c.) to so this?

I'm no MATLAB expert, but there are various tools for accessing netCDF
data in MATLAB:

  http://www.unidata.ucar.edu/software/netcdf/software.html#MEXNC
  http://www.unidata.ucar.edu/software/netcdf/software.html#CSIRO-MATLAB
  http://www.unidata.ucar.edu/software/netcdf/software.html#MexEPS
  http://www.unidata.ucar.edu/software/netcdf/software.html#Mirone
  
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15177&objectType=file

The first of these describes software maintained by John Evans at
Rutgers, including a nice tutorial.  The last is a highly rated netCDF
reader package for use in MATLAB.  The others I don't know much about.

Unidata's netCDF-Java package is also useful for accessing netCDF data
(and other kinds of data handled by the Common Data Model), even through
OPeNDAP:

  http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg03303.html
  http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg03304.html

Sorry I can't tell you what the "best" of these is, it probably depends
on the applications, whether you only want to read the data, etc.

--Russ