about time stepping

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

about time stepping

#1 Unread post by mashinde »

Dear frds,


I have following doubts....

(1)How to store hourly data ?

(2)I want to run ROMS for 10 years to spin up..how to do that..where i set the time parameters in ocean.in file..any example ?

(3)How can I store monthly data for 10 years of spin up ...daily avgs for each month for 10 years ?

(4)for ocean forecast: How can I set starting date to ending date?for example I want to forecast oceanic fields from
01-01-2010(starting date) to 31-12-2014(ending date)...How can I set these time in ocean.in file?

please give some idea/suggestion with examples ?


Thanking you

Mahesh

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

Re: about time stepping

#2 Unread post by kate »

All these things are controlled in the ocean.in file, described here. I suggest you start small (say the upwelling problem) and explore how the various time output parameters work.

For monthly means, I store dailies and average them with ncra (from NCO).

For the last question, set TIME_REF to 20100101, DSTART to 0.0 and figure out how many timesteps there are in five years.

mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

Re: about time stepping

#3 Unread post by mashinde »

Hello Kate,

I really do not understand.....how can i set this time parameters in ocean.in file. It will be better if you extrapolate with examples.

Thanks

Mahesh

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

Re: about time stepping

#4 Unread post by kate »

I don't know how to make it more clear than here. NSTA is the number of timesteps between writing station records. Say you want hourly records. How many timesteps is that?

Maybe the averages are confusing, but I always start my time averaging on timestep 1. I now create a new file for each record, once a day, so how many timesteps to a day? Set both NAVG and NDEFAVG to that value.

Sometimes in this business you just have to try things and see what happens.

mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

Re: about time stepping

#5 Unread post by mashinde »

Dear kate,

here I am sending a log file. It blows up when i keep time step(dt) greater than 10s. If this is the case then it will take very long time to complete the spin up of say 20 years.

You also find the time stepping and time stamps in this file. I want to store daily avgs for the months.
(here, i store daily avg according to time step, i.e., dt=60s)

Also suggest/comments on time step and time stamping,if any.

Thanking you


regards
MAHESH
Attachments
rmed16_tt.log
(50.5 KiB) Downloaded 222 times

mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

Re: about time stepping

#6 Unread post by mashinde »

Dear kate,

I am also running the model with dt=10s...it runs without blowing...but when i check the avg.nc file in matlab. then it can't store the fields.
so i am confused why it is not storing any field. Here i am attaching input file.

thanks a lot !


regards
mahesh
Attachments
rmed16.in
(58.32 KiB) Downloaded 213 times

Post Reply