## How the roms interpolate the forcing/boundary time?

Report or discuss software problems and other woes

Moderators: arango, robertson

Message
Author
rcxy
Posts: 31
Joined: Fri Jul 02, 2010 1:28 pm
Location: Guangdong Ocean University

### How the roms interpolate the forcing/boundary time?

I konw the every focing/boundary file have a time, such as days and hours.And ROMS will lineally interpolate to the model time. The get_cycle will convert the time into day units.I want to konw how the roms to do?
For example:(DT=30,NDTFAST=60)
In the river discharge, if the river_time is days, the transport is 2000 meter3 second-1, how much is the transport of every step in the roms?
In the wind focing, if the sms_time is days, the sustr is 0.01 Newton meter-2, how much is the sustr of every step in the roms?
In the boundary, if the bry_time is hours, the zeta is 0.01 m, how much is the zeta of every step in the roms?

Thanks a lot!

kate
Posts: 3770
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

### Re: How the roms interpolate the forcing/boundary time?

ROMS will do a linear interpolation in time between the record before and the record after the current time. If you have just the one record, it should use that without interpolation.

tony1230
Posts: 87
Joined: Wed Mar 31, 2010 3:29 pm
Location: SKLEC,ECNU,Shanghai,China

### Re: How the roms interpolate the forcing/boundary time?

If i have only the monthly discharge in hand, can the river_time unit in month?

- steve

kate
Posts: 3770
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

### Re: How the roms interpolate the forcing/boundary time?

The routine that reads in the times is get_cycle. It checks the "units" attribute, but assumes "day" unless it finds "second". You could hack it to check for "month", but it currently doesn't do so.