Opened 6 years ago

Closed 6 years ago

#775 closed bug (Fixed)

small bug in new version

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

Description (last modified by arango)

Need to use my_ncid instead of ncid in routine netcdf_inq_var:

          DO i=1,MIN(Matts,n_gatt)
            att_id=i
            status=nf90_inq_attname(my_ncid, nf90_global, att_id,       &
      &                             att_name(i))
            IF (status.eq.nf90_noerr) THEN
              status=nf90_inquire_attribute(my_ncid, nf90_global,       &
      &                                     TRIM(att_name(i)),          &
      &                                     xtype = att_kind(i),        &
      &                                     attnum = att_id)
            ...
            END IF
          END DO

Attachments (1)

ncid.patch (852 bytes ) - added by kate 6 years ago.

Download all attachments as: .zip

Change History (2)

by kate, 6 years ago

Attachment: ncid.patch added

comment:1 by arango, 6 years ago

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

Yes, thank you!

Note: See TracTickets for help on using tickets.