NetcdftoMatlab
by
Alexandre Ganachaud
—
last modified
Feb 05, 2013 11:27 AM
Installing NETCDF for matlab
- First try:
- Instructions: http://mexcdf.sourceforge.net/downloads/windows_setup.html
- extracted mexnc-w32-r14-2.0.19.zip to c:/MATLAB7/toolbox/local/Netcdf and set matlab path to there
- copied netcdf.dll to both
C:\path\to\matlab\bin and its subdirectory win32
- copied mexnc.dll to same dirs and suppressed original
- extracted snctools-2.3.4.zip in c:/MATLAB7/toolbox/local/Netcdf and set matlab path to there
- extracted netcdf-3.6.1-win32 to c:/Program Files/Netcdf
- extracted netcdf_toolbox-1.0.11.zip
- Installed ncBrowse (Don Dembo)
- Test: ctd1=netcdf('e:/WOCEData/P21/p21e_00004_00001.nc')
- Plantage: had to change the path order to get mexnc executed appropriately
- WOCE files:
- See files in e:/WOCEData/: and script e:/Ml/Routines/Netcdfperso/woce_read_test.m
- http://www.coaps.fsu.edu/WOCE/html/wcdtools.htm
- apparently inqnc and getnc are both in the CSIRO netcdf toolbox
- Installation CSIRO netcdf/opendap:
- http://www.marine.csiro.au/sw/matlab-netcdf.html; follow instruction (set matlab path to the installation folders and run test.m in the subdirectory test.)
- Tests: file:///e:/Ml/Netcdfperso/woce_read_test.m
- Installation of old Netcdf toolbox for CSIRO routines
- from http://sourceforge.net/project/showfiles.php?group_id=119464&package_id=130912&release_id=425915
- download, expand, add to the matlab path
- CARS and routines
- had to modify getchunk.m for dims function
- had to modify get_clim_cast.m to set the path to files
Appropriate doc:
- http://whpo.ucsd.edu/netcdf/
- http://www.marine.csiro.au/sw/matlab-netcdf.html
- netcdf standardization, Cooperative Ocean/Atmosphere Research Data Service
Hydrographic Data
- Routines interface to WOCE: : Ml/ROUTINES/WOCE/
- Conversion section files to netcdf readeable by ferret: mat2cdf_sec.m