ocean_time, DSTART, TIDE_START, TIME_REF

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
wzhu
Posts: 39
Joined: Sun Oct 28, 2012 6:56 pm
Location: Horn Point Laboratory UMCES

ocean_time, DSTART, TIDE_START, TIME_REF

#1 Unread post by wzhu »

Dear all,

I am a little confused with the ocean_time, DSTART, TIDE_START and TIME_REF.
I prepared all my input files with the time period from 00:00 01/01/2006 to 00:00 10/31/2008, if I want to start the simulating time from 00:00 09/01/2006, so I have to set the ocean_time in the initial condition file to 20995200 seconds (243 days*24*3600), right? when I did that, the model only works with NDEFHIS set to 0, or I will get the error

Code: Select all

NETCDF_PUT_FVAR_1D - error while writing variable: ocean_time
in input file: ./ETM_his.nc
call from: wrt_his.F
But if there is only one single history output file, it will be 200 G in size!!!
I noticed that the DSTART, TIDE_START and TIME_REF in my ocean.in file are all 0.0d0, dose it matter? how should I set each of them?
I tried the following,

DSTART = 243.0d0 ! days after TIME_REF, i.e. 2006 09 01 00 00
TIDE_START = 0.0d0 ! days after tide forcing time axis origin
TIME_REF = 20060101.0d0 ! yyyymmdd.dd

Is this right?

I appreciate any replies.

Happy thanksgiving!

Wenwu

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

Re: ocean_time, DSTART, TIDE_START, TIME_REF

#2 Unread post by kate »

You should be able to set NDEFHIS to NHIS, no problem. If you have a problem, something is wrong.

You should be able to set the time origin and DSTART as you have below. The tides will depend on how you create your tides file.

wzhu
Posts: 39
Joined: Sun Oct 28, 2012 6:56 pm
Location: Horn Point Laboratory UMCES

Re: ocean_time, DSTART, TIDE_START, TIME_REF

#3 Unread post by wzhu »

kate wrote:You should be able to set NDEFHIS to NHIS, no problem. If you have a problem, something is wrong.

You should be able to set the time origin and DSTART as you have below. The tides will depend on how you create your tides file.
Thank you very much, kate.
I tried I listed above, it works, :) not only one single history file. It seems that if the ocean_time is changed, the DSTART should be changed accordingly.
I created the tides file from 00:00 01/01/2006, the interval is 1 hour.

Post Reply