[MITgcm-support] CS Grid Generator and Convertor Matlab Scripts
Yuan Lian
lian at ashimaresearch.com
Wed Feb 15 03:54:18 EST 2012
Hi Chris,
The permute sequence appears to be platform dependent. Try to use the
following permute sequence in convertMITgrid:
prm=[1 2 3]
Please let me know if this works.
Best,
Yuan
On 2/15/12 12:47 AM, Christopher Watkins wrote:
> Thanks Yuan,
>
> I'm afraid this does not solve the problem. The issue seems to be that gengrid_fn.m produces files with dimension [nx nx] but convertMITgrid.m expects files with dimension [nx 6 nx].
>
> For example line 5 of convertMITgrid is xc=permute( rdda('LONC.bin',sz,1,'real*8','b') ,prm); which expects a single LONC.bin file of sz = [nx 6 nx] whereas using gengrids.m (and therefore gengrid_fn.m) I have produced 6 files LONC.001.bin, LONC.002.bin, LONC.003.bin, LONC.004.bin, LONC.005.bin and LONC.006.bin each of dimension [nx nx].
>
> Have I downloaded the wrong version of one of these or missed out a step?
>
> Regards,
>
> Chris
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list