GET_CYCLE - starting time for variable: sms_time

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
PhilipT
Posts: 11
Joined: Thu Apr 03, 2014 6:23 pm
Location: GATECH

GET_CYCLE - starting time for variable: sms_time

#1 Unread post by PhilipT »

I tried to send the job to the cluster and i got this message:
.....
GET_CYCLE - starting time for variable: sms_time
is greater than current model time.
TMIN = 712238.0000 TDAYS = 15.0000
....
ROMS/TOMS - Input error ............. exit_flag: 2


ERROR: Abnormal termination: NetCDF INPUT.
REASON: No error :shock: :shock: :shock:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The problem is with the variable sms_time in my forcing.nc input file?
What is the relationship between the 'sms_time' and 'current model time'?

Thank you in advance!

Philip

User avatar
kate
Posts: 4089
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: GET_CYCLE - starting time for variable: sms_time

#2 Unread post by kate »

You want to pick a time origin and use it consistently. The model is looking for forcing time records before and after the current model time for doing an interpolation to the model time. For example:

Code: Select all

NLM: GET_STATE - Read state initial conditions,             t = 38177 12:00:00

Code: Select all

    GET_2DFLD   - surface u-wind component,                  t = 38177 10:30:00
                   (Rec=0001540, Index=1, File: drowned_MERRA_Uwind_3hours_2004.nc)
                   (Tmin=      37985.0625 Tmax=      38350.9375)
                   (Min = -8.70149508E+00 Max =  1.01007203E+01)

Code: Select all

    GET_2DFLD   - surface u-wind component,                  t = 38177 13:30:00
                   (Rec=0001541, Index=2, File: drowned_MERRA_Uwind_3hours_2004.nc)
                   (Tmin=      37985.0625 Tmax=      38350.9375)
                   (Min = -8.60693211E+00 Max =  9.86152744E+00)
It is finding records before and after the model time, time here in days since 1 Jan 1900.

PhilipT
Posts: 11
Joined: Thu Apr 03, 2014 6:23 pm
Location: GATECH

Re: GET_CYCLE - starting time for variable: sms_time

#3 Unread post by PhilipT »

So what is that i am doing wrong?

The mistake is in the forcing files? or in the .in file?

Thank you
P.

User avatar
kate
Posts: 4089
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: GET_CYCLE - starting time for variable: sms_time

#4 Unread post by kate »

The mistake is that they are inconsistent. When do you want your time origin to be? It might be easier to change your ini file. Or are you using ANA_INITIAL? If so, the time is coming from DSTART in the ocean.in. The TIME_REF can also play a part. Here is time in my restart file:

Code: Select all

	double ocean_time(ocean_time) ;
		ocean_time:long_name = "time since initialization" ;
		ocean_time:units = "seconds since 1900-01-01 00:00:00" ;
		ocean_time:calendar = "gregorian" ;
		ocean_time:field = "time, scalar, series" ;
Time in a winds file:

Code: Select all

	double wind_time(wind_time) ;
		wind_time:units = "days since 1900-01-01 00:00:00" ;
		wind_time:valid_min = 37985.0625 ;
		wind_time:valid_max = 38350.9375 ;
		wind_time:calendar = "LEAP" ;

PhilipT
Posts: 11
Joined: Thu Apr 03, 2014 6:23 pm
Location: GATECH

Re: GET_CYCLE - starting time for variable: sms_time

#5 Unread post by PhilipT »

I want to run the simulation from 1950-01-15.

In the init file ocean_time =1296000 (15 days in units of 'seconds')
In the forcing file sms_time and the rest are in units of days and start from 712238
In the .in file the time_ref has to be seted to -1?

P

User avatar
kate
Posts: 4089
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: GET_CYCLE - starting time for variable: sms_time

#6 Unread post by kate »

My TIME_REF is:

Code: Select all

TIME_REF =  19000101.0d0               ! yyyymmdd.dd
The key:

Code: Select all

!                If TIME_REF = -1, model time and DSTART are in a calendar
!                with 360 days in every year (30 days each month).  The "units"
!                attribute is:
!
!                      'time-units since 0001-01-01 00:00:00'
!
!                If TIME_REF = 0, model time and DSTART are in a common year
!                calendar with 365.25 days.  The "units" attribute is:
!
!                      'time-units since 0001-01-01 00:00:00' 
!
!                If TIME_REF > 0, model time and DSTART are the elapsed time
!                units since specified reference time.  For example,
!                TIME_REF=20020115.5 will yield the following attribute:
!
!                      'time-units since 2002-01-15 12:00:00'
Do you want TIME_REF=-1 or TIME_REF=0? Either way, it is based on the year 1, so your initial time has to be time since year 1.

PhilipT
Posts: 11
Joined: Thu Apr 03, 2014 6:23 pm
Location: GATECH

Re: GET_CYCLE - starting time for variable: sms_time

#7 Unread post by PhilipT »

I see.
My time_ref=-1;

I think i got what you mean.

The forcing times start from 712238 with is the Jan-15-1950

So i set DSTART=712238

and ocean_time in the init.nc 712238*86400

It works! :D

Thank you kate

Post Reply