New URL for NEMO forge!

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1144 (Format error in TOP_SRC/trcnam.f90) – NEMO

Opened 9 years ago

Closed 9 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: v3.6
Severity: Keywords:


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)


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

Change History (2)

comment:1 Changed 9 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 9 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.