strange bugs when reading time in the force file

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
User avatar
LiangPeng
Posts: 11
Joined: Wed Aug 21, 2013 2:38 pm
Location: Guangdong Ocean University

strange bugs when reading time in the force file

#1 Unread post by LiangPeng »

Hi everyone:
When I testing the ROMS adjoint model,I met a strange problem when reading time in the force file.When I run the adjoint model, I met an error when reading solar shortwave radiation:
SET_2DFLD - current model time exceeds ending value for variable: swrad
TDAYS = 15.0000
Data Tmin = 0.0000 Data Tmax = 0.0000
Data Tstr = 0.0000 Data Tend = 0.0000
TINTRP1 = 0.0000 TINTRP2 = 0.0000
FAC1 = -15.0000 FAC2 = 15.0000
However,I checked the srf_time in the force file and found that the minimum time is 15 and maximum time is 714.
To check the forcfile, I run the forward-integrating model with the same force file,but there is no error when reading time:
GET_2DFLD - surface u-momentum stress, t = 15 00:00:00
(Rec=0000001, Index=1, File: surface_1990_1991.nc)
(Tmin= 15.0000 Tmax= 714.0000)
(Min = -1.72425823E-04 Max = 1.76797648E-04)
GET_2DFLD - surface v-momentum stress, t = 15 00:00:00
(Rec=0000001, Index=1, File: surface_1990_1991.nc)
(Tmin= 15.0000 Tmax= 714.0000)
(Min = -1.79503138E-04 Max = 2.63649588E-05)
GET_2DFLD - solar shortwave radiation flux, t = 15 00:00:00
(Rec=0000001, Index=1, File: surface_1990_1991.nc)
(Tmin= 15.0000 Tmax= 714.0000)
I'm very confused now and can't find where the error is.
Any suggestion will be appreciated, thank you!

Post Reply