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

quentin jamet quentinjamett at gmail.com
Sat Aug 1 04:10:54 EDT 2015


Hi Sophie,

I remember to have this issue using .nc files.
As far as I remember, I have modified so part of the mnc_assembly.m. But I
can not tell you which modifications I have done.
In case, I join to this mail both rdmnc.m and mnc_assemble.m routines I was
using (I turn now to .meta and .data outputs files. It is a bit less
convenient to look at results, but improves numerical performances).
I tried these routines with MatlLab 2014a version, it run fine for me.
Which version of these routines are you using? Most recent ones (here
<http://mitgcm.org/viewvc/MITgcm/MITgcm/utils/matlab/?pathrev=checkpoint65n>)
may fix this problem.
Hope this will help.

Cheers,

Quentin



---------------------
Quentin Jamet
'*Le vent nous pousse toujours, il s'agit de savoir dans quel sens!*'

2015-08-01 0:05 GMT+02:00 Sophie Clayton <sclayton at uw.edu>:

> Manfredi,
>
> I still had issues with rdmnc.m, so i gave up on matlab entirely and
> switched to using python and gluemncbig to produce global files.
>
> Sophie
>
> On Fri, Jul 31, 2015 at 11:51 AM, Manfredi Manizza <mmanizza at ucsd.edu>
> wrote:
>
>> 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>
>> 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 <%2B1%20%28206%29%20685-1047>
>>> http://sophieclayton.github.io
>>> http://armbrustlab.ocean.washington.edu/people/clayton
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> MITgcm-support mailing listMITgcm-support at mitgcm.orghttp://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/
>>>
>>>
>>> _______________________________________________
>>> MITgcm-support mailing list
>>> 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://armbrustlab.ocean.washington.edu/people/clayton
>>
>>
>>
>>
>>
>> _______________________________________________
>> MITgcm-support mailing listMITgcm-support at mitgcm.orghttp://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/
>>
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> 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://armbrustlab.ocean.washington.edu/people/clayton
>
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150801/5c274a13/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdmnc.m
Type: application/vnd.wolfram.mathematica.package
Size: 18401 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150801/5c274a13/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnc_assembly.m
Type: application/vnd.wolfram.mathematica.package
Size: 16000 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150801/5c274a13/attachment-0003.bin>


More information about the MITgcm-support mailing list