Problems reading the grid netCDF file

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
birgitrr
Posts: 4
Joined: Mon Jun 21, 2021 12:40 pm
Location: Ranold AS

Problems reading the grid netCDF file

#1 Unread post by birgitrr »

Hello everyone!

I'm (still) trying to run the model on my specific case (a freshwater lake). I made a grid using pygridgen, and I have set the path to the grid in the .in-file. yet, it seems like ROMS can't find my grid, by this error message:

INITIAL: Configuring and initializing forward nonlinear model ...
*******
GET_GRID - Illegal output type, io_type = 0
Found Error: 03 Line: 90 Source: ROMS/Utility/get_grid.F
Found Error: 03 Line: 82 Source: ROMS/Utility/set_grid.F
GET_STATE - Illegal output type, io_type = 0
Found Error: 03 Line: 151 Source: ROMS/Utility/get_state.F
Found Error: 03 Line: 417 Source: ROMS/Nonlinear/initial.F
Found Error: 03 Line: 200 Source: ROMS/Drivers/nl_roms.h, ROMS_initialize

Elapsed wall CPU time for each process (seconds):

Thread # 0 CPU: 3.013
Total: 3.013

Nonlinear model elapsed CPU time profile, Grid: 01

Allocation and array initialization .............. 3.013 (99.9895 %)
Total: 3.013 99.9895 %

Unique kernel(s) regions profiled ................ 3.013 99.9895 %
Residual, non-profiled code ...................... 0.000 0.0105 %


All percentages are with respect to total time = 3.013


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Dynamic and Automatic memory (MB) usage for Grid 01: 150x150x30 tiling: 1x1

tile Dynamic Automatic USAGE

0 270.10 42.40 312.50

TOTAL 270.10 42.40 312.50

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Found Error: 03 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 03 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 03 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 03 Line: 85 Source: ROMS/Utility/close_io.F, close_file_nf90

ROMS/TOMS - Output NetCDF summary for Grid 01:
Found Error: 03 Line: 381 Source: ROMS/Utility/close_io.F, close_out

ROMS/TOMS - Output error ............ exit_flag: 3


ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: No error
ERROR STOP

Error termination. Backtrace:
#0 0x7f94f7906d21 in ???
#1 0x7f94f7907869 in ???
#2 0x7f94f7908f97 in ???
#3 0x55a406ea29bf in myroms
at /home/birgit/my_roms_projects/norsjo/Build_romsG/master.f90:101
#4 0x55a406ea2a18 in main
at /home/birgit/my_roms_projects/norsjo/Build_romsG/master.f90:50

Any ideas on how to fix that?

Sincerely,
Birgit

User avatar
wilkin
Posts: 875
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Problems reading the grid netCDF file

#2 Unread post by wilkin »

Are you sure your roms.in is up to date with your code?

When updates are made to the code sometimes they require new entries in roms.in (and varinfo.dat), and if you don't also update those input files it can trigger errors (because ROMS is expecting to read some settings from roms.in).

Recent changes to parallel I/O may be your problem.

diff your roms.in against one of the example case versions.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply