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 521 for trunk/NEMO/OPA_SRC/restart.F90 – NEMO

Ignore:
Timestamp:
2006-10-11T16:45:09+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_73 : CT : build Mixed Layer restart files using iom

File:
1 edited

Legend:

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

    r508 r521  
    2424   USE in_out_manager  ! I/O manager 
    2525   USE iom             ! I/O module 
     26   USE trdmld_oce      ! ! ocean active mixed layer tracers trends variables 
    2627 
    2728   IMPLICIT NONE 
     
    3233   PUBLIC   rst_read   ! routine called by opa  module 
    3334 
    34    LOGICAL, PUBLIC ::   lrst_oce         !: logical to control the oce restart write  
    35    INTEGER, PUBLIC ::   nitrst           !: time step at which restart file should be written 
    36    INTEGER, PUBLIC ::   numror, numrow   !: logical unit for cean restart (read and write) 
     35   LOGICAL, PUBLIC ::   lrst_oce                  !: logical to control the oce restart write  
     36   INTEGER, PUBLIC ::   nitrst                    !: time step at which restart file should be written 
     37   INTEGER, PUBLIC ::   numror, numrow, nummldw   !: logical unit for cean restart (read and write) 
    3738 
    3839   !! * Substitutions 
     
    8283         IF(lwp) WRITE(numout,*) '             open ocean restart.output NetCDF file: '//clname 
    8384         CALL iom_open( clname, numrow, ldwrt = .TRUE. ) 
     85         IF( lk_trdmld )   THEN 
     86            clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_restart_mld" 
     87            IF(lwp) WRITE(numout,*) '             open ocean restart_mld NetCDF file: '//clname 
     88            CALL iom_open( clname, nummldw, ldwrt = .TRUE. ) 
     89         ENDIF 
    8490         lrst_oce = .TRUE. 
    8591      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.