current model time exceeds ending value for variable

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
duckweed

current model time exceeds ending value for variable

#1 Unread post by duckweed »

Hi,
In my case, i use the QUIKSCAT wind data to fore roms. However,it error:

Code: Select all

ERROR: Abnormal termination: NetCDF INPUT.
 REASON: No error                                                                        
      242.3180
              Data Tmin =        242.3182  Data Tmax =        275.6818
              Data Tstr =        275.6818  Data Tend =        242.3182
              TINTRP1   =        275.6818  TINTRP2   =        242.3182
              FAC1      =          0.0002  FAC2      =        -33.3638

 SET_2DFLD  - current model time exceeds ending value for variable: svstr
              TDAYS     =        242.3180
              Data Tmin =        242.3182  Data Tmax =        275.6818
              Data Tstr =        275.6818  Data Tend =        242.3182
              TINTRP1   =        275.6818  TINTRP2   =        242.3182
              FAC1      =          0.0002  FAC2      =        -33.3638

 ROMS/TOMS - Input error ............. exit_flag:   2
I think it's the 'Tstr'. But i have carefully examined the ocean_frc.nc, its' time from 242.318 to 275.682. I want to look the 'Tstr' ,Where is it? And how to resolve the error ?

Thank you!

Other input file code

Code: Select all

 ndtfast, nfast =   30  42   nfast/ndtfast = 1.40000

 Centers of gravity and integrals (values must be 1, 1, approx 1/2, 1, 1):

    1.000000000000 1.047601458608 0.523800729304 1.000000000000 1.000000000000

 Power filter parameters, Fgamma, gamma =  0.28400   0.18933

 Minimum X-grid spacing, DXmin =  3.00007950E+00 km
 Maximum X-grid spacing, DXmax =  3.00009878E+00 km
 Minimum Y-grid spacing, DYmin =  2.97288700E+00 km
 Maximum Y-grid spacing, DYmax =  2.99985632E+00 km
 Minimum Z-grid spacing, DZmin =  2.50000000E-01 m
 Maximum Z-grid spacing, DZmax =  5.32957328E+01 m

 Minimum barotropic Courant Number =  2.96585185E-02
 Maximum barotropic Courant Number =  2.62072930E-01
 Maximum Coriolis   Courant Number =  1.69204408E-02


 NLM: GET_STATE - Read state initial conditions,               t =     242.3180
                   (File: pearl_ini.nc, Rec=0001, Index=1)
                - free-surface
                   (Min =  9.96920997E+36 Max =  9.96920997E+36)
                - vertically integrated u-momentum component
                   (Min =  9.96920997E+36 Max =  9.96920997E+36)
                - vertically integrated v-momentum component
                   (Min =  9.96920997E+36 Max =  9.96920997E+36)
                - u-momentum component
                   (Min =  1.00000000E+35 Max =  9.96920997E+36)
                - v-momentum component
                   (Min =  1.00000000E+35 Max =  9.96920997E+36)
                - potential temperature
                   (Min =  1.10000000E+01 Max =  2.60000000E+01)
                - salinity
                   (Min =  1.90000000E+01 Max =  3.40000000E+01)
    GET_2DFLD   - surface u-momentum stress,                   t =     275.6818
                   (File: pearl_wind.nc, Rec=0024, Index=1)
                   (Tmin=        242.3182 Tmax=        275.6818)
                   (Min = -1.54025410E-04 Max = -2.93977201E-05)
    GET_2DFLD   - surface v-momentum stress,                   t =     275.6818
                   (File: pearl_wind.nc, Rec=0024, Index=1)
                   (Tmin=        242.3182 Tmax=        275.6818)
                   (Min = -5.96063565E-05 Max = -4.04749284E-06)
    GET_NGFLD   - 2D u-momentum southern boundary condition,   t =     242.3180
                   (File: pearl_bry.nc, Rec=0001, Index=2)
                   (Tmin=        242.3180 Tmax=        242.3180)
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
    GET_NGFLD   - 2D v-momentum southern boundary condition,   t =     242.3180
                   (File: pearl_bry.nc, Rec=0001, Index=2)
                   (Tmin=        242.3180 Tmax=        242.3180)
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
    GET_NGFLD   - 3D u-momentum southern boundary condition,   t =     242.3180
                   (File: pearl_bry.nc, Rec=0001, Index=2)
                   (Tmin=        242.3180 Tmax=        242.3180)
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
    GET_NGFLD   - 3D v-momentum southern boundary condition,   t =     242.3180
                   (File: pearl_bry.nc, Rec=0001, Index=2)
                   (Tmin=        242.3180 Tmax=        242.3180)
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
    GET_NGFLD   - temperature southern boundary condition,     t = Node   #  2 CPU:       0.587
 Total:                 2.348


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

Re: current model time exceeds ending value for variable

#2 Unread post by kate »

Code: Select all

SET_2DFLD  - current model time exceeds ending value for variable: svstr
              TDAYS     =        242.3180
              Data Tmin =        242.3182  Data Tmax =        275.6818
It is comparing 242.3180 and 242.3182. Is it reading a 242.318 time as float and converting to double, getting a different (larger) value? I would probably cheat and just tell it that either the initial model time is later or the initial forcing time is earlier. You can write a little script to change the time in the netcdf file using your favorite scripting language.

Post Reply