diagnostics in roms

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
xqzhang
Posts: 11
Joined: Tue Jan 30, 2007 10:51 pm
Location: Texas A&M University

diagnostics in roms

#1 Unread post by xqzhang »

Hi,

I am doing a realistic run in the Gulf of Mexico from 2003 to 2011.
The model has run through 2003 and 2010. For the last year, I want to turn on the diagnostics for momentum.
So I added the flag #define DIAGNOSTICS_UV in the header file.

When I tried to submit my job, I got the error message asking for previous diagnostic output.
And I have LDEFOUT == T in the input file.

Pls see the following error message:

******* 14975 00:00:00 1.487406E-02 7.814395E+03 7.814410E+03 1.209005E+14
DEF_HIS - inquiring history file: ocean_his_0174.nc
DEF_DIAGS - inquiring diagnostics file: ocean_dia_0029.nc

NETCDF_OPEN - unable to open existing NetCDF file:
ocean_dia_0029.nc
call from: def_diags.F

Since the diagnostics are quite huge, I only want the diagnostic output for one year.
How could I solve this problem? Any suggestions? Thanks a lot!

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: diagnostics in roms

#2 Unread post by kate »

You can trick ROMS into thinking this is the start of a new run instead of a continuation of an old one by changing NRREC to 0. You might have to provide it with a file containing only one time record as the initial condition.

xqzhang
Posts: 11
Joined: Tue Jan 30, 2007 10:51 pm
Location: Texas A&M University

Re: diagnostics in roms

#3 Unread post by xqzhang »

Kate,

Thanks for the reply. I will give it a try.

Post Reply