[MITgcm-support] missing close statement in rdmnc.m ?

Matthew Mazloff mmazloff at MIT.EDU
Mon Jan 17 02:13:40 EST 2005


Hello everyone,

After calling rdmnc.m a certain (predictable) number of times Matlab 
stops working properly.  It stops recognizing files and if I try to save 
anything I get the error
"Too many open files"
I noticed there was no close statement in rdmnc so I tried adding
close(nc)
at the end of the rdmnc.m script but this did not help.

Could rdmnc.m not be properly closing the netcdf files?
Any ideas what might be wrong?

Thanks,
Matt




More information about the MITgcm-support mailing list