Dear frds,
while running the d_climatology.m in matlab r2009b...it gives me following error
d_climatology
myException =
MException
Properties:
identifier: 'MATLAB:netcdf:endDef:formatSizeConstraintsViolated'
message: 'Enddef operation failed, library error message "NetCDF: One or more variable sizes violate format constraints"'
cause: {}
stack: [6x1 struct]
Methods
ans =
file: '/usr/local/matlab/R2009b/toolbox/matlab/imagesci/+netcdf/endDef.m'
name: 'endDef'
line: 37
ans =
file: '/home/mahesh/Desktop/ROMS_PKGS/clim/d_climatology.m'
name: 'd_climatology'
line: 141
??? Error using ==> mexnc_tmw>exception2status at 2042
Encountered an unhandled exception.
Error in ==> mexnc_tmw>handle_enddef at 391
status = exception2status(myException);
Error in ==> mexnc_tmw at 116
[varargout{:}] = handler ( varargin{:} );
Error in ==> mexnc at 560
[varargout{:}] = backend(varargin{:});
Error in ==> c_climatology at 845
[status]=mexnc('enddef',ncid);
Error in ==> d_climatology at 141
[status]=c_climatology(S);
****I update my mexnc and mexcdf for matlab r2009b
anybody has the idea why this error come and any possible solution....
thanks in advance
>>
making clim error
-
- Posts: 81
- Joined: Thu Dec 07, 2006 3:14 pm
- Location: USGS
- Contact:
Re: making clim error
It is probably a little too late to answer this question, but just not to leave this post unanswered. See:
viewtopic.php?f=23&t=1344
viewtopic.php?f=23&t=1344