New URL for NEMO forge!   http://forge.nemo-ocean.eu

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.
Changeset 1581 for trunk/NEMO/OPA_SRC/trc_oce.F90 – NEMO

Ignore:
Timestamp:
2009-08-05T16:53:12+02:00 (15 years ago)
Author:
smasson
Message:

ctlopn cleanup, see ticket:515 and ticket:237

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/trc_oce.F90

    r1445 r1581  
    167167      INTEGER  ::   numlight 
    168168      REAL(wp) ::   zchl 
    169       CHARACTER(LEN=20) :: clname 
    170       !!---------------------------------------------------------------------- 
    171       ! 
    172       clname = 'kRGB61.txt'  
    173       CALL ctlopn( numlight, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', 1, numout, .TRUE., 1 ) 
     169      !!---------------------------------------------------------------------- 
     170      ! 
     171      CALL ctl_opn( numlight, 'kRGB61.txt', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 
    174172      DO jchl = 1, 61 
    175173         READ(numlight,*) zchl, ( prgb(jband,jchl), jband=1,3 ) 
Note: See TracChangeset for help on using the changeset viewer.