i guess that time unit of force file which created by d_ecmwf2roms.m should be hours not days

Code: Select all
S.Variables(4).Attributes(iatt).Value = ['days since ' datestr(mybasedate,31)];
Happy New Year

jafar
Code: Select all
S.Variables(4).Attributes(iatt).Value = ['days since ' datestr(mybasedate,31)];
Code: Select all
dimensions:
time = 2920 ;
variables:
int time(time) ;
time:units = "hours since 1900-01-01 00:00:0.0" ;
time:long_name = "time" ;
Code: Select all
double sms_time(sms_time) ;
sms_time:long_name = "surface momentum stress time" ;
sms_time:units = "days since 2000-01-01 00:00:00" ;
sms_time:calendar = "gregorian" ;
...
data:
sms_time = 0.0625, 0.1875, 0.3125, 0.4375, 0.5625, 0.6875, 0.8125, 0.9375,
1.0625, 1.1875, 1.3125, 1.4375, 1.5625, 1.6875, 1.8125, 1.9375, 2.0625,
2.1875, 2.3125, 2.4375, 2.5625, 2.6875, 2.8125, 2.9375, 3.0625, 3.1875,
3.3125, 3.4375, 3.5625, 3.6875, 3.8125, 3.9375, 4.0625, 4.1875, 4.3125,
4.4375, 4.5625, 4.6875, 4.8125, 4.9375, 5.0625, 5.1875, 5.3125, 5.4375,
...