[MITgcm-support] problem with mnc_assembly.m and matlab 2015a

Manfredi Manizza mmanizza at ucsd.edu
Fri Jul 31 14:51:52 EDT 2015


Sophie,

Have you tried rdmnc.m ?

It does the same thing.

Manfredi

On 7/31/15 9:39 AM, Sophie Clayton wrote:
> Hi Manfredi,
>
> That's definitely the problem. I know that others have modified the 
> code to use SNCTOOLS and the updated matlab netcdf library, e.g.
> http://mitgcm.org/pipermail/mitgcm-support/2012-March/007694.html
>
> Unfortunately the oldest version of matlab I have access to here 
> (2013b) also has the same issue.
>
> Sophie
>
>
>
> On Fri, Jul 31, 2015 at 11:01 AM, Manfredi Manizza <mmanizza at ucsd.edu 
> <mailto:mmanizza at ucsd.edu>> wrote:
>
>
>     Hi Sophie,
>
>     Is it related to the version of MATLAB you are using ? Not sure if
>     in the latest versions as 2015a (very recent) the command "netcdf "
>     exists anymore.
>
>     Manfredi
>
>
>     On 7/31/15 9:07 AM, Sophie Clayton wrote:
>>     hi everyone,
>>
>>     i've been having trouble combining .nc files into global fields
>>     using mnc_assembly.m
>>     here's the error message:
>>
>>     Undefined function or variable 'netcdf'.
>>     Error in mnc_assembly (line 91)
>>       fnc = netcdf(fnm, 'nowrite');
>>
>>     this seems like an issue that has come up in the past, and some
>>     of you have modified mnc_assembly.m to work with the newer matlab
>>     netcdf api. so, before i dive into the guts of the code myself, i
>>     was wondering if anyone may be willing to share their work-around
>>     for this.
>>
>>     thanks!
>>     sophie
>>
>>
>>     -- 
>>     Sophie Clayton, PhD
>>     School of Oceanography
>>     Box 357940
>>     University of Washington
>>     Seattle, WA 98195, USA
>>
>>     tel: +1 (206) 685-1047 <tel:%2B1%20%28206%29%20685-1047>
>>     http://sophieclayton.github.io <http://sophieclayton.github.io/>
>>     http://armbrustlab.ocean.washington.edu/people/clayton
>>
>>
>>
>>
>>
>>     _______________________________________________
>>     MITgcm-support mailing list
>>     MITgcm-support at mitgcm.org  <mailto:MITgcm-support at mitgcm.org>
>>     http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>     -- 
>     Manfredi Manizza, PhD
>     Geosciences Research Division
>     Scripps Institution of Oceanography
>     University of California San Diego
>     9500 Gilman Drive La Jolla, CA 92093-0244
>     email :mmanizza at ucsd.edu  <mailto:mmanizza at ucsd.edu>
>     tel   :+1-858-534-7094  <tel:%2B1-858-534-7094>
>     web   :http://bluemoon.ucsd.edu/mmanizza/  
>
>
>     _______________________________________________
>     MITgcm-support mailing list
>     MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
>     http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
>
>
> -- 
> Sophie Clayton, PhD
> School of Oceanography
> Box 357940
> University of Washington
> Seattle, WA 98195, USA
>
> tel: +1 (206) 685-1047
> http://sophieclayton.github.io <http://sophieclayton.github.io/>
> http://armbrustlab.ocean.washington.edu/people/clayton
>
>
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

-- 
Manfredi Manizza, PhD
Geosciences Research Division
Scripps Institution of Oceanography
University of California San Diego
9500 Gilman Drive La Jolla, CA 92093-0244
email : mmanizza at ucsd.edu
tel   : +1-858-534-7094
web   : http://bluemoon.ucsd.edu/mmanizza/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150731/27412a00/attachment-0001.htm>


More information about the MITgcm-support mailing list