error while reading global attribute

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
pavel_fayman
Posts: 7
Joined: Thu Feb 24, 2011 2:40 pm
Location: FERHRI

error while reading global attribute

#1 Unread post by pavel_fayman »

i used ROMS/TOMS Framework: September 23, 2011
when i submit the job i reseived following:

.................................................................
LBC_GETATT - error while reading global attribute: NLM_LBC
in input file: /home/jaguar/data1/pfayman/initial_2008_10_2.nc
call from: checkvars.F


..................................................................

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


ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: NetCDF: Attribute not found




What is the global attribute: NLM_LBC?
in previous version this kind error is absent

rduran
Posts: 152
Joined: Fri Jan 08, 2010 7:22 pm
Location: Theiss Research

Re: error while reading global attribute

#2 Unread post by rduran »

I believe the answer (at least partial) to your question is here:

viewtopic.php?f=17&t=2411

User avatar
arango
Site Admin
Posts: 1360
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: error while reading global attribute

#3 Unread post by arango »

ROMS is telling you exactly what is the problem with the NLM_LBC global attribute:
ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: NetCDF: Attribute not found
All the lateral boundary conditions C-preprocessing options were removed in ROMS 3.6. Check the following :arrow: post for more information about this new version of ROMS. Your restart file /home/jaguar/data1/pfayman/initial_2008_10_2.nc was created with an older version of the code and doesn't have the NLM_LBC global attribute. The new version of ROMS is checking the lateral boundary conditions specified in your standard input script(s) with the restart file for consistency.

I just updated the code and introduced a new C-preprocessing option NO_LBC_ATT which allows to restart ROMS with older NetCDF files. Please update. See the following :arrow: trac ticket for more information. If you activate NO_LBC_ATT, ROMS will not check the lateral boundary conditions during restart. Warning: it is your responsibility to make sure that you specified consistent lateral boundary condition when restarting.

Post Reply