Opened 15 years ago

Last modified 15 years ago

#339 closed bug

Incorrect logic in get_ngfld — at Initial Version

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

Description

Corrected a bug in file get_ngfld.F around line 193. We need to use n_vdim instead of n_dim in the DO loop:

!
!  If Nrec=0, input file is not CF compliant, check variable dimension
!  to see if the dimension contains the "time" string.
!
            IF (got_time.and.(Nrec.eq.0)) THEN
              DO i=1,n_vdim
                IF (INDEX(TRIM(var_Dname(i)),'time').ne.0) THEN
                  Nrec=var_Dsize(i)
                END IF
              END DO
            END IF

This only occurs when input file is not CF compliant with the time dimension.

I also updated several of the CDL files to be CF compliant.

Change History (0)

Note: See TracTickets for help on using tickets.