First, I wonder how to define an appropriate N (number of vertical laylers) in the roms input file.How large/small can it be?
Second, In a roms grid netcdf file, does it contain N ? If so, what's it name in it (since I don't see such a variable in it seemingly). If not, why it doesn't contain?
I apologize if I ask some siily questions and thank you for anyone who offers answers in advance.
2 grid questions
Re: 2 grid questions
Information about the vertical discretization is to be provided in the text file roms_*.in.
I think the idea is that if one uses an analytical initial condition, then they would be able to change `N' (number of vertical levels) or the stretching parameters inside roms_*.in, without having to modify the NetCDF grid file and without having to recompile the executable.
I think the grid input file only carries 2-D (horizontal) information that would be relevant regardless of whether ROMS is used in a barotropic case (#undef SOLVE3D) or baroclinic case (#define SOLVE3D).
I think the idea is that if one uses an analytical initial condition, then they would be able to change `N' (number of vertical levels) or the stretching parameters inside roms_*.in, without having to modify the NetCDF grid file and without having to recompile the executable.
I think the grid input file only carries 2-D (horizontal) information that would be relevant regardless of whether ROMS is used in a barotropic case (#undef SOLVE3D) or baroclinic case (#define SOLVE3D).
Re: 2 grid questions
Thanks for your reply which inpsires me.