While running my simulation, two days into my run I receive the following error message. I have it set to run 183 days.
SET_2DFLD - current model time exceeds ending value for variable: Pair
TDAYS = 2.0023
Data Tmin = 0.0000 Data Tmax = 183.7500
Data Tstr = 0.0000 Data Tend = 0.2500
TINTRP1 = 2.0000 TINTRP2 = 1.2500
FAC1 = -0.7523 FAC2 = 0.0023
I checked my forcing file pair_time and sms_time are the same length along with the variables Pair and my sustr and svstr. When I undefined ATM_PRESS, the model ran ~160 days and then blew up for another reason.
Any ideas as to why this is happening?
My second question, the ~160 day run I did with ATM_PRESS off had the results for my temp and salt as NaNs after the first time step, through all the layers.
I don't know where to start with this as an error. I've added my CPP options below.
Thank you,
/* Model Physics */
#define UV_ADV
#define UV_COR
#define SOLVE3D
#define NONLIN_EOS
#define WET_DRY
#define UV_C4VADVECTION
#define UV_VIS2
#define MIX_S_UV
#define TS_U3HADVECTION
#define TS_SVADVECTION
#define TS_DIF2
#define MIX_S_TS
#define MY25_MIXING
#define KANTHA_CLAYSON
#define N2S2_HORAVG
/* Pressure Gradient Algorithm */
#define DJ_GRADPS
#define ATM_PRESS
/* Grid and Initial Conditions */
#define MASKING
#define CURVGRID
#define PROFILING
/* Bottom Boundary Conditions */
#define SPHERICAL
#define UV_LDRAG
#define ANA_BTFLUX
/* Forcing Conditions */
#define ANA_STFLUX
/* Climatology Options */
/* Options */
#define STATIONS
#define AVERAGES
#define DIAGNOSTICS_TS
#define DIAGNOSTICS_UV
#ifdef PERFECT_RESTART
#undef AVERAGES
#undef DIAGNOSTICS_TS
#undef DIAGNOSTICS_UV
#define OUT_DOUBLE
#endif
Current model time exceeds ending value for variable: Pair
Re: Current model time exceeds ending value for variable: Pair
Good evening my friends, I know: the post is old, but I want to reply here so, that future users with this problem know the solution.
This error occurs because your time reference for the initial data and the boundary, or forces, files are incompatible. When you generated the files, they were with different time references. Ex: 1900-01-01 / 1970-01-01
Do the following: ncdump -v time_variable_name ini_file_name.nc and then do the same with ncdump -v time_variable_name frc_file.nc.
You'll see that the times don't match, and it's probably because you created them with different reference times.
Correct this and it will work.
Best regards.
This error occurs because your time reference for the initial data and the boundary, or forces, files are incompatible. When you generated the files, they were with different time references. Ex: 1900-01-01 / 1970-01-01
Do the following: ncdump -v time_variable_name ini_file_name.nc and then do the same with ncdump -v time_variable_name frc_file.nc.
You'll see that the times don't match, and it's probably because you created them with different reference times.
Correct this and it will work.
Best regards.