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

Re: Matlab --> NetCDF

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: Matlab --> NetCDF
  • Date: Thu, 21 Aug 2008 14:50:03 -0600

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