[MITgcm-support] cubeZ2latlon.m broken

Yuan Lian lian at U.Arizona.EDU
Fri Aug 5 16:13:25 EDT 2005


Hi, Jean-Michel,

I found the matlab code under cubeZ2latlon.m MITgcm/utils/cs_grid is
broken, the problem is that the variable "nc" is odd (C32 grid) , when
calculate the index "i" for X(i,j) on line 42, i is not integer thus
Matlab can't deal with it. I think you might miss some operator to round
the number to an integer. Could you please check it? Thanks a lot!

Best regards,
Yuan



More information about the MITgcm-support mailing list