Opened 16 years ago

Closed 16 years ago

#192 closed bug (Fixed)

Incorrect error explanations when reading NetCDF — at Version 1

Reported by: ianthomas Owned by: arango
Priority: trivial Milestone: Release ROMS/TOMS 3.2
Component: Nonlinear Version: 3.2
Keywords: Cc:

Description (last modified by arango)

Firstly, in ROMS/Utility/get_grid.F, lines 171-175 are

      IF (.not.find_string(var_name,n_var,'mask_psi',vindex)) THEN
        IF (Master) WRITE (stdout,10) 'mask_rho', TRIM(ncname)
        exit_flag=2
        RETURN
      END IF

The second line should be

       IF (Master) WRITE (stdout,10) 'mask_psi', TRIM(ncname)

Secondly, in ROMS/Utility/checkvars.F, lines 343-348 are

      IF (.not.have_var(idtime)) THEN
        IF (Master) WRITE (stdout,10) string, TRIM(tvarnam),            &
     &                                TRIM(ncname)
        exit_flag=2
        RETURN
      END IF

I think the second line should instead be

        IF (Master) WRITE (stdout,10) string, TRIM(Vname(1,idtime)),     &

Change History (1)

comment:1 by arango, 16 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed

Yes. The second fix done but it was still correct. The variable tvarnam and Vname(1,idtime) have the same value. I guess that the change is done for consistency.

Note: See TracTickets for help on using tickets.