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.
> To: address@hidden > From: address@hidden (Chuck Denham) > Organization: U.S. Geological Survey, Woods Hole > Subject: NetCDF for MATLAB Hi Chuck, > We have been busy developing and using a new NetCDF-3 MEXCDF > interface for MATLAB-5 (now multi-dimensional!) on PowerMacintosh and Unix; > a Win95 version is in the works. All the arithmetic, logical, and > subscripting operators in MATLAB can now be overridden, so I have also > written a complete implementation of them for NetCDF objects, including > dimensions, variables, attributes, and orthogonal slices. We will be > putting this stuff on our crusty.er.usgs.gov ftp site in the near future. > I will let you know when it happens. > Are you still treating the Macintosh as an orphan, or would you > like to include at least the NetCDF C-Language library at the Unidata WWW > site? The source-code changes for NetCDF-3 on the Macintosh were minor > once I understood the problem. We have no <sys/...> header files, and I > uncovered a bug in the MPW distribution of the "file.h" header file. I > would be happy to supply Unidata with the sources, plus a compiled version > if you like. I also have a MATLAB function for udunits. Let me know. Please send them! We only treat the Macintosh as an orphan because none of us had any Mac development experience or a development environment. Just FYI, last week I succeeded in running an equivalent to "ncdump" on my home Power Macintosh to read and dump a netCDF file, and it worked fine, in 100% Java. I now have my first Mac development environment: Visual Symantec Cafe. > Meanwhile, we continue to be fervent users of NetCDF. Your efforts > are much appreciated. Thanks, your feedback is really appreciated here. --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu