[MITgcm-support] repeated values in Namelist

Jean-Michel Campin jmc at ocean.mit.edu
Tue Jun 30 20:13:10 EDT 2009


Hi Ryan,

I think I found the problem:
When you spefify repeated (N) values in a Namelist, using "N * theValue",
you should not put any space (blank) between N, * and theValue:

In your "data" file:
> # Gridding parameters
>  &PARM04
>  usingCartesianGrid=.TRUE.,
>  delR= 50., 70., 100., 140., 190., 240., 290., 340., 390., 440., 490., 540.,
>  delX = 5  * 2.e5,
>  delY = 22 * 2.e5,
> &
If I replace delX & delY lines with:
> delX = 5*2.e5,
> delY = 22*2.e5,
It works better.

I was not aware of this, so I fwd to support list.

Thanks,
Jean-Michel

On Tue, Jun 30, 2009 at 07:17:47PM -0400, Ryan Abernathey wrote:
> Thanks for your help! Here is the setup.
>
> http://web.mit.edu/rpa/www/ryan_channel.tar.gz



More information about the MITgcm-support mailing list