Opened 7 years ago

Closed 7 years ago

#1144 closed Defect (fixed)

Format error in TOP_SRC/trcnam.f90

Reported by: marti Owned by: nemo
Priority: low Milestone:
Component: TOP Version: release-3.5
Severity: Keywords:
Cc:

Description

When usign PISCES, we have more than 9 tracers, so I1 format is wrong.

From line 87 in rev 3882:

     DO jn = 1, jptra
         WRITE( sn_tracer(jn)%clsname,'("TR_",I1)'           ) jn
         WRITE( sn_tracer(jn)%cllname,'("TRACER NUMBER ",I1)') jn
         sn_tracer(jn)%clunit  = 'mmole/m3'
         sn_tracer(jn)%llinit  = .FALSE.
         sn_tracer(jn)%llsave  = .TRUE.
      END DO

I1 format specifier could be replaced by I2.2

Commit History (1)

ChangesetAuthorTimeChangeLog
4362cetlod2014-01-22T10:32:46+01:00

v3.4beta:bugfix to correct I/O format of passive tracer name, see ticket #1144

Change History (2)

comment:1 Changed 7 years ago by marti

Same problem in at least trcdta.F90 and PISCES/trcnam_pisces.F90. The same syntax is used in CFC and C14 routines. This should be OK as in theses cases the number of tracer is less than 9.

comment:2 Changed 7 years ago by cetlod

  • Resolution set to fixed
  • Status changed from new to closed

Only done in v3.4 beta ; useless in v3.6 alpha

Note: See TracTickets for help on using tickets.