Opened 10 years ago
Last modified 10 years ago
#664 closed bug
Bug in get_3dfldr.F — at Initial Version
Reported by: | austinctodd | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.7 |
Component: | Adjoint | Version: | 3.7 |
Keywords: | Cc: |
Description
There is a sign error in get_3dfldr.F where it checks if data that has a cycle_length needs to be read. Lines 149-154 say the following:
IF (Liocycle) THEN Trec=MOD(Trec,Nrec)-1 IF (Trec.le.0) Trec=Nrec-Trec ELSE Trec=Trec-1 END IF
The issue is with
Trec=Nrec-Trec
, which makes Trec greater than nrec instead of cycling the integer. It should actually be Trec=Nrec+Trec
to be consistent with get_2dfldr.F'
Note:
See TracTickets
for help on using tickets.