[MITgcm-support] rdmnc error?

Ed Hill ed at eh3.com
Mon Jun 12 09:15:15 EDT 2006


On Mon, 2006-06-12 at 11:15 +0800, Brainf wrote:
> Hi mitgcm,
>    I use rdmnc.m  to read internal_wave example result.
> The file grid.* can be read very well,
> But the file state.*  cann't be read..
> 
> The error say:
> 
> //////////////////////start//////////
> >> s=rdmnc('state.*')
> ??? Error using ==> eval
> Ambiguous or mismatched subscripted assignment.
> 
> Error in ==> rdmnc>rdmnc_local at 194
>         eval(['S.(cvar)(',Sstr(1:end-1),')=tmpdata;'])
> 
> Error in ==> rdmnc at 98
>     S=rdmnc_local(nc,varlist,iters,S);
> //////////////////////end/////////
> 
> 
> What can I do for this error?


I've written a more capable replacement for rdmnc and its in:

  MITgcm/utils/matlab/gmt.rdnctiles.m

so please give it a try.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464





More information about the MITgcm-support mailing list