Opened 12 years ago

Closed 12 years ago

#546 closed bug (Done)

Corrected bug in inp_par.F

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

Description

Corrected a bug in routine load_s2d of inp_par.F when advancing the counter in the multiple file, split record option when processing the standard input ocean.in.

Around line 1779 of inp_par.F we need to have instead:

      IF (.not.load) THEN
        IF (ifile.lt.nFfiles(igrid)) THEN
          ifile=ifile+MIN(1,Icont)
        ELSE
          ifile=1
          igrid=igrid+MIN(1,Icont)
        END IF
      END IF
      ...

We need to have the .lt. operator in the conditional IF-statement instead of .le., many thanks to Kate Hedstrom for bringing this to my attention.

I also corrected a typo in Data/ROMS/CDL/grd_spherical.cdl, the double quotes were missing in the units attributes for the bottom drag variables.

Change History (1)

comment:1 by arango, 12 years ago

Resolution: Done
Status: newclosed
Note: See TracTickets for help on using tickets.