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 ;
			
			
									
									
						Help: Inconsistent dimensions in input files
Re: Help: Inconsistent dimensions in input files
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?
			
			
									
									
						Re: Help: Inconsistent dimensions in input files
Kate, thanks very much for your reply.
Actually, the problem is in the cppdefs.h file; it is reading another application.
			
			
									
									
						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?