Where is the 'ncinfo' file?

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
jerry19890126
Posts: 13
Joined: Wed Jul 27, 2011 3:35 am
Location: IOCAS

Where is the 'ncinfo' file?

#1 Unread post by jerry19890126 »

Hi,I'm using MATLAB tools provided by www.myroms.org/svn/src/matlab.With seagrid,I had got seagrid.mat file.However, when I tryed to convert it to netcdf fortmat file ,an error occured:

seagrid2roms('seagrid.mat')

theRomsFile =

E:\seagrid_mat\dd.nc


## SeaGrid Source File : seagrid.mat
## ROMS Destination File: E:\seagrid_mat\dd.nc

??? Undefined function or method 'ncinfo' for input arguments of type
'char'.

Error in ==> nc_getatt>nc_getatt_matlab at 116
Info = ncinfo(ncfile);

Error in ==> nc_getatt at 65
A = nc_getatt_matlab(ncfile, Aname, Vname); % Matlab native
interface

Error in ==> nc_inq at 69
A = nc_getatt(ncfile); % NetCDF file global attributes

Error in ==> nc_write at 54
Info = nc_inq(ncfile);

Error in ==> seagrid2roms at 322
status = nc_write (theRomsFile, 'spherical', 1);


Obviously, there is no file like ncinfo.m in my matlab path.Where is it?It is not in the netcdf directory provided.

Post Reply