Opened 15 years ago

Closed 15 years ago

#347 closed bug (Fixed)

Correct small bug in step_floats.F for isobaric/geopotential floats — at Version 1

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

Description (last modified by arango)

The is a bug in step_floats.F when computing the vertical position for isobaric (flt_Isobar) or geopotential floats (flt_Geopot). The k-loop in lines 265 and 441 should be:

            DO k=N(ng)-1,0,-1

instead of:

            DO k=N(ng)-1,1,-1

Notice that the interpolated value (cff6) for k=N(ng) needs to be computed first outside this loop.

Change History (1)

comment:1 by arango, 15 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.