Alan,
Thanks first for your reply.
And other issues for this problem. These variables such as 'psikk' only exit in restart file, so I make a short model run in climatology to get a restart file and use it as a template. Maybe it is too casual. According to your reply, I think, I need to run the model for a long time in climatology (spin up) to get the restart files of each month. And then use these restart files as template of new restart file in realtime for different month. Is this?
And I will check the SSH gradients of the results according to your suggestion later.
However, I have an idea to solve it, I do not know whether it is correct. The variables of 'psikk' 'thkk' and 'pbot' can caculate from other variables in archive file, e.g. 'psikk' is the function of the gravity acceleration, density and deep. So, can I caculate these variables by myself and write these to restart file instead of template(other restart file). I think it is good "day zero" state for each realtime run. Is it possible to do so?
Carl.