I followed the instructions for restarting as in viewtopic.php?f=14&t=599, in different ways:
1.a) Using a history file with NNREC = -1
1.b) Using the fields of a history file to write a netcdf file using the same script I used for my original initial file (NRREC=-1 and also NRREC=165 since that is the day I was restarting from).
2) Using a restart file with NRREC=-1
I always get an error and I don't know what to do (I didnt save the error for 1.a, but it gave error), the other two errors are:
1.b)
Code: Select all
LBC_GETATT - error while reading global attribute:  NLM_LBC
in input file:  /home/server/student/homes/rduran/MODEL/INITIAL/ore2005_ini_rst165.nc
call from:  checkvars.F
             
             
             
             
Node   ROR: Abnormal termination: NetCDF OUTPUT.
REASON: Attribute not found          
             
             
ROMS/TOMS - Output error ............ exit_flag:   3
ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: Attribute not foundCode: Select all
LBC_GETATT - inconsistent northern boundary for variable: tke  Keyword = Radp<91>v
             in input file:  /home/server/student/homes/rduran/MODEL/INITIAL/RST00.nc
...
 ROMS/TOMS - Configuration error ..... exit_flag:   5
 ERROR: Illegal model configuration.
I made sure that nothing other than NRREC and the name of the initial file changed in my .in file.
These are my boundary options:
Code: Select all
 Lateral Boundary Conditions: NLM
 ============================
 Variable               Grid    West Edge   South Edge  East Edge   North Edge
 ---------              ----    ----------  ----------  ----------  ----------
 zeta                     1     Chapman     Chapman     Closed      Chapman
 ubar                     1     Flather     Flather     Closed      Flather
 vbar                     1     Flather     Flather     Closed      Flather
 u                        1     Rad + Nud   Rad + Nud   Closed      Rad + Nud
 v                        1     Rad + Nud   Rad + Nud   Closed      Rad + Nud
 temp                     1     Rad + Nud   Rad + Nud   Closed      Rad + Nud
 salt                     1     Rad + Nud   Rad + Nud   Closed      Rad + Nud
 tke                      1     Radiation   Radiation   Closed      RadiationCode: Select all
ORE2005             Ore2005 52 vertical coord. daily BC shortened domain
ANA_BSFLUX          Analytical kinematic bottom salinity flux.
ANA_BTFLUX          Analytical kinematic bottom temperature flux.
ASSUMED_SHAPE       Using assumed-shape arrays.
AVERAGES            Writing out time-averaged nonlinear model fields.
DIAGNOSTICS_UV      Computing and writing momentum diagnostic terms.
DJ_GRADPS           Parabolic Splines density Jacobian (Shchepetkin, 2002)
DOUBLE_PRECISION    Double precision arithmetic.
MASKING             Land/Sea masking.
MIX_ISO_TS          Mixing of tracers along isopycnal surfaces.
MIX_GEO_UV          Mixing of momentum along geopotential surfaces.
MPI                 MPI distributed-memory configuration.
MY25_MIXING         Mellor/Yamada Level-2.5 mixing closure.
NONLINEAR           Nonlinear Model.
NONLIN_EOS          Nonlinear Equation of State for seawater.
POWER_LAW           Power-law shape time-averaging barotropic filter.
PROFILE             Time profiling activated .
K_GSCHEME           Third-order upstream advection of TKE fields.
RADIATION_2D        Use tangential phase speed in radiation conditions.
!RST_SINGLE         Double precision fields in restart NetCDF file.
SALINITY            Using salinity.
SOLVE3D             Solving 3D Primitive Equations.
SPLINES             Conservative parabolic spline reconstruction.
TS_U3HADVECTION     Third-order upstream horizontal advection of tracers.
TS_C4VADVECTION     Fourth-order centered vertical advection of tracers.
TS_DIF2             Harmonic mixing of tracers.
TS_PSOURCE          Tracers point sources and sinks.
UV_PSOURCE          Mass point sources and sinks.
UV_VIS2             Harmonic mixing of momentum.
VAR_RHO_2DCTION     Variable density barotropic mode.dvection of 3D momentum.
UV_C4VADVECTION     Fourth-order centered vertical advection of momentum.
Process Information:Quadratic bottom stress.
Rodrigo.