Help: Inconsistent dimensions in input files

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
papaya
Posts: 19
Joined: Mon Apr 02, 2012 4:58 pm
Location: Georgia Tech

Help: Inconsistent dimensions in input files

#1 Unread post by papaya »

I am configuring a model. It seems that the dimensions of my input files are not consistent.

After an examination of all 6 input files, I could not figure it out which file has the wrong dimension.

I am posting the error and information about six input files. Hope someone could help me out!

Thanks in advance!

Fan

My Lm = 304, Mm = 240
Lp = 306, Mp = 242

Error
INITIAL: Configurating and initializing forward nonlinear model ...


OPENCDF - inconsistent size of dimension: xi_psi 305 141

ROMS/TOMS - IO error ................ exit_flag: 4


Elapsed CPU time (seconds):


OPENCDF - inconsistent size of dimension: xi_psi 305 141

OPENCDF - inconsistent size of dimension: xi_psi 305 141

OPENCDF - inconsistent size of dimension: xi_psi 305 141
Node # 1 CPU: 0.165
Node # 2 CPU: 0.167 Node # 0 CPU: 0.164

Node # 3 CPU: 0.170
Total: 0.667

Nonlinear model elapsed time profile:

Total: 0.000 0.0000

Nonlinear model message Passage profile:

Message Passage: data broadcast .................. 0.001 ( 0.1477 %)
Total: 0.001 0.1477

All pecentages are with respect to total time = 0.667

ROMS/TOMS - Output NetCDF summary for Grid 01:

ERROR: OPENCDF - Can not open NetCDF file.
REASON: No error

Grid file
dimensions:
xi_psi = 305 ;
xi_rho = 306 ;
xi_u = 305 ;
xi_v = 306 ;
eta_psi = 241 ;
eta_rho = 242 ;
eta_u = 242 ;
eta_v = 241 ;
two = 2 ;
bath = UNLIMITED ; // (0 currently)

initial file

-init {
dimensions:
xi_rho = 306 ;
xi_u = 305 ;
xi_v = 306 ;
eta_rho = 242 ;
eta_u = 242 ;
eta_v = 241 ;
s_rho = 24 ;
s_w = 25 ;
tracer = 2 ;
time = UNLIMITED ; // (1 currently)

boundary file

bry {
dimensions:
xi_rho = 306 ;
xi_u = 305 ;
xi_v = 306 ;
eta_rho = 242 ;
eta_u = 242 ;
eta_v = 241 ;
s_rho = 24 ;
s_w = 25 ;
bry_time = 12 ;

climatology file
clim {
dimensions:
xi_rho = 306 ;
xi_u = 305 ;
xi_v = 306 ;
eta_rho = 242 ;
eta_u = 242 ;
eta_v = 241 ;
s_rho = 24 ;
s_w = 25 ;
tracer = 2 ;
tclm_time = 12 ;
sclm_time = 12 ;
ssh_time = 12 ;
uclm_time = 12 ;
vclm_time = 12 ;
ocean_time = 12 ;

wind forcing
forc-winds {
dimensions:
xi_rho = 306 ;
xi_u = 305 ;
xi_v = 306 ;
eta_rho = 242 ;
eta_u = 242 ;
eta_v = 241 ;
sms_time = 2925 ;

heat fluxes

forc-others {
dimensions:
xi_rho = 306 ;
xi_u = 305 ;
xi_v = 306 ;
eta_rho = 242 ;
eta_u = 242 ;
eta_v = 241 ;
shf_time = 24 ;
swf_time = 24 ;
sst_time = 24 ;
sss_time = 24 ;
srf_time = 24 ;

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

Re: Help: Inconsistent dimensions in input files

#2 Unread post by kate »

None of the files you show have a dimension of xi_psi=141. Are you sure that's not coming from the ocean.in file or some other file?

papaya
Posts: 19
Joined: Mon Apr 02, 2012 4:58 pm
Location: Georgia Tech

Re: Help: Inconsistent dimensions in input files

#3 Unread post by papaya »

Kate, thanks very much for your reply.
Actually, the problem is in the cppdefs.h file; it is reading another application.
kate wrote:None of the files you show have a dimension of xi_psi=141. Are you sure that's not coming from the ocean.in file or some other file?

Post Reply