[MITgcm-support] rdmeta.m

Byungho Lim blim at coas.oregonstate.edu
Sun Mar 12 23:10:19 EDT 2017


Hi Martin,

Thank you for answering. I am using rdmds.m to read the model output files in line with your kind suggestion.

I was just curious about what rdmeta.m is for, and it seemed that rdmeta.m is independent with rdmds.m.

Thanks,
Byungho

On 03/09/2017 12:16 AM, Martin Losch wrote:
> Hi Byungho,
>
> as far as I know, you are not supposed to use rdmeta.m, instead you use rdmds.m to read the *.data files, and rdmds uses rdmeta to get the number of grid points, etc, from the correpsonding *.meta files. I never encountered any problems with this.
>
> Martin
>
>> On 8 Mar 2017, at 23:50, Byungho Lim <blim at coas.oregonstate.edu> wrote:
>>
>> Dear all,
>>
>> I recently started learning MITgcm myself and, I think, there is a minor bug in rdmeta.m. I tried to read some meta files with the function and got an error message as follows:
>>
>> Undefined function or variable 'ans'.
>>
>> Error in rdmeta (line 62)
>> allfiles=ans;
>>
>> I guess this line could fix the issue with line 62.
>> eval(['allfiles=ls(' char(39) fname '*.meta' char(39) ');']);
>>
>> Regards,
>> Byungho
>>
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list