NetCDF: Start+count exceeds dimension bound

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
abhay

NetCDF: Start+count exceeds dimension bound

#1 Unread post by abhay »

Hi

I have configured my first ROMS application and have the executable in my work directory. When I try to run it, I get the following error:

##########################################################################################################################################

.......

NLM: GET_STATE - Reading state initial conditions, 2011-01-15 00:00:00.00
(Grid 01, t = 723615.0000, File: Kongs_Init.nc, Rec=0001, Index=1)
- free-surface
(Min = -8.28427366E-01 Max = NaN)
- vertically integrated u-momentum component
(Min = -2.02749472E-02 Max = NaN)
- vertically integrated v-momentum component
(Min = 1.70838046E-02 Max = NaN)
Found Error: ** Line: 754 Source: ROMS/Utility/nf_fread3d.F
Found Error: ** Line: 843 Source: ROMS/Utility/get_state.F

NLM: GET_STATE - error while reading variable: u at time record = 1
in input NetCDF file: /cfs/klemming/nobackup/g/gongjing/tegner/myroms/trunk/Model_In/Initial/Kongs_Init.nc
Found Error: 02 Line: 517 Source: ROMS/Nonlinear/initial.F
Found Error: 02 Line: 188 Source: ROMS/Drivers/nl_ocean.h

Elapsed CPU time (seconds):

Node # 10 CPU: 0.217
Node # 5 CPU: 0.217
Node # 15 CPU: 0.217
Node # 1 CPU: 0.217
Node # 2 CPU: 0.217
Node # 3 CPU: 0.217
Node # 9 CPU: 0.217
Node # 12 CPU: 0.217
Node # 4 CPU: 0.217
Node # 11 CPU: 0.217
Node # 8 CPU: 0.217
Node # 13 CPU: 0.217
Node # 14 CPU: 0.217
Node # 7 CPU: 0.217
Node # 6 CPU: 0.217
Node # 0 CPU: 0.215
Total: 3.471

Nonlinear model elapsed CPU time profile, Grid: 01

Allocation and array initialization .............. 2.833 (81.6058 %)
Total: 2.833 81.6058

Nonlinear model message Passage profile, Grid: 01

Message Passage: 2D halo exchanges ............... 0.030 ( 0.8543 %)
Message Passage: 3D halo exchanges ............... 0.021 ( 0.6176 %)
Message Passage: data broadcast .................. 0.256 ( 7.3688 %)
Message Passage: data reduction .................. 0.004 ( 0.1031 %)
Message Passage: data scattering.................. 0.148 ( 4.2508 %)
Message Passage: synchronization barrier ......... 0.002 ( 0.0458 %)
Total: 0.460 13.2404

Unique code regions profiled ..................... 2.833 81.6058 %
Residual, non-profiled code ...................... 0.638 18.3942 %


All percentages are with respect to total time = 3.471


ROMS/TOMS - Output NetCDF summary for Grid 01:
Found Error: 02 Line: 350 Source: ROMS/Utility/close_io.F

ROMS/TOMS - Input error ............. exit_flag: 2


ERROR: Abnormal termination: NetCDF INPUT.
REASON: NetCDF: Start+count exceeds dimension bound

###################################################################################################################################################

I did not use the scripts available on the website to generate my grid, populate the initial conditions, forcing fields etc. , however, I referred to the guidelines and instructions provided on ROMS Wiki. The initial conditions are generated using Matlab. Is the order of the dimensions in the initial condition file (xi, eta, s) enforced strictly? I wouldn't think so, but then I am not able to understand why it would fail to read the file.

If a similar issue has been addressed then I'm sorry for re-posting.

Thanks in advance.

Abhay

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: NetCDF: Start+count exceeds dimension bound

#2 Unread post by jcwarner »

yes the dimensions are strictly enforced.
If you are new, i would recommend to use m files from someone/somewhere that already work. It will save you a lot of time.
-john

abhay

Re: NetCDF: Start+count exceeds dimension bound

#3 Unread post by abhay »

Hi John

Many thanks for helping me out. I made the changes and it works now :)

Abhay

felipe.jbarragan7
Posts: 23
Joined: Tue Jul 04, 2023 3:22 pm
Location: Universidad de Antioquia

Re: NetCDF: Start+count exceeds dimension bound

#4 Unread post by felipe.jbarragan7 »

Hi abhay

I've this same problem just now.
How did you finally?

Post Reply