[MITgcm-support] new matlab (R2010a) and rdmnc

Martin Losch Martin.Losch at awi.de
Fri May 14 07:33:35 EDT 2010


Hi there,

I rewrote rdmnc.m to use the "new" matlab netcdf API, please try it out (cvs update utils/matlab/rdmnc.m), and let me know if it works (or rather does not work) for you. If you do not have matlab R2008a or later (I think that's the earliest distribution that has this interface), then the function just defaults to the mexcdf-toolbox.

I am also attaching a version of ncload.m that uses the new API.

Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncload.m
Type: application/octet-stream
Size: 3211 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20100514/c6f3478d/attachment.obj>
-------------- next part --------------


On May 14, 2010, at 9:26 AM, Martin Losch wrote:

> Hi all,
> 
> for some time now, matlab has its own netcdf API. Because of this our system admins do not want to maintain the "mexcdf-matlab" toolbox (originally by Chuck Denham) any longer, that is required for useful function such as "ncload" (actually part of this toolbox), and more important for the MITgcm-user group, rdmnc.m
> 
> Has anyone attempted to modify rdmnc.m to use the generic matlab netcdf API and is willing to share the results? I am refering to this:
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/netcdf.html
> 
> Martin
> 
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list