Opened 11 years ago

Closed 11 years ago

#588 closed bug (Fixed)

bug in load_s2d

Reported by: kate Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.7
Component: Nonlinear Version: 3.7
Keywords: Cc:

Description (last modified by arango)

When faced with

    NFFILES == 2                          ! number of forcing files

    FRCNAME == /center/w/kate/MERRA/MERRA_Uwind_3hours_2007.nc |
               /center/w/kate/MERRA/MERRA_Uwind_3hours_2008.nc \
               /center/w/kate/MERRA/MERRA_Vwind_3hours_2007.nc |
               /center/w/kate/MERRA/MERRA_Vwind_3hours_2008.nc

ROMS assigns the first three input files to the first file and the last to the second file. It then fails:

 GET_2DFLD   - surface u-wind component,                  t = 39433 22:30:00
                   (Rec=0002824, Index=1, File: MERRA_Uwind_3hours_2007.nc)
                   (Tmin=      39081.0625 Tmax=      39445.9375)
                   (Min = -1.55921714E+01 Max =  1.67592775E+01)

 GET_CYCLE - starting time for variable: wind_time
             is greater than current model time. 
             TMIN =      39446.0625  TDAYS =      39434.0000

I have attached a patch to fix this.

Attachments (1)

inp_par.diff (438 bytes ) - added by kate 11 years ago.
Patch for load_s2d.

Download all attachments as: .zip

Change History (3)

by kate, 11 years ago

Attachment: inp_par.diff added

Patch for load_s2d.

comment:1 by arango, 11 years ago

Description: modified (diff)

comment:2 by arango, 11 years ago

Resolution: Fixed
Status: newclosed

Yes, good catch. Thank you.

Note: See TracTickets for help on using tickets.