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 1229 – NEMO

Changeset 1229


Ignore:
Timestamp:
2008-12-01T08:04:11+01:00 (15 years ago)
Author:
smasson
Message:

define restart names in the namelist, see ticket:258

Location:
trunk
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/CONFIG/GYRE/EXP00/namelist

    r1168 r1229  
    2525   no          =       0   !  job number 
    2626   cexper      =  "GYRE"   !  experience name  
     27   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     28   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    2729   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    2830   nrstdt      =       0   !  restart control = 0 nit000 is not compared to the restart file value 
     
    626628   nctls      =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk) 
    627629   ucf        =   1.       !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
     630   cn_trdrst_in  = "restart_mld"   ! suffix of ocean restart name (input) 
     631   cn_trdrst_out = "restart_mld"   ! suffix of ocean restart name (output) 
    628632   ln_trdmld_restart = .false.  !  restart for ML diagnostics 
    629633   ln_trdmld_instant = .false.  !  flag to diagnose trends of instantantaneous or mean ML T/S 
  • trunk/CONFIG/GYRE_LOBSTER/EXP00/namelist

    r1168 r1229  
    2525   no          =       0   !  job number 
    2626   cexper      =  "GYRE"   !  experience name  
     27   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     28   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    2729   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    2830   nrstdt      =       0   !  restart control = 0 nit000 is not compared to the restart file value 
     
    626628   nctls      =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk) 
    627629   ucf        =   1.       !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
     630   cn_trdrst_in  = "restart_mld"   ! suffix of ocean restart name (input) 
     631   cn_trdrst_out = "restart_mld"   ! suffix of ocean restart name (output) 
    628632   ln_trdmld_restart = .false.  !  restart for ML diagnostics 
    629633   ln_trdmld_instant = .false.  !  flag to diagnose trends of instantantaneous or mean ML T/S 
  • trunk/CONFIG/ORCA2_LIM/EXP00/1_namelist

    r1168 r1229  
    2525   no          =       0   !  job number 
    2626   cexper      = "Agulhas" !  experience name  
     27   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     28   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    2729   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    2830   nrstdt      =       0   !  restart control = 0 nit000 is not compared to the restart file value 
     
    624626   nctls      =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk) 
    625627   ucf        =   1.       !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
     628   cn_trdrst_in  = "restart_mld"   ! suffix of ocean restart name (input) 
     629   cn_trdrst_out = "restart_mld"   ! suffix of ocean restart name (output) 
    626630   ln_trdmld_restart = .false.  !  restart for ML diagnostics 
    627631   ln_trdmld_instant = .false.  !  flag to diagnose trends of instantantaneous or mean ML T/S 
  • trunk/CONFIG/ORCA2_LIM/EXP00/1_namelist_ice_lim2

    r1113 r1229  
    1414&namicerun     !   Share parameters for dynamics/advection/thermo 
    1515!----------------------------------------------------------------------- 
     16   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     17   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
    1618   ln_limdyn   = .true.    !  ice dynamics (T) or thermodynamics only (F) 
    1719   ln_limdmp   = .false.   !  restoring ice thickness and fraction leads (T) or not (F) 
  • trunk/CONFIG/ORCA2_LIM/EXP00/namelist

    r1218 r1229  
    2525   no          =       0   !  job number 
    2626   cexper      =  "ORCA2"  !  experience name  
     27   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     28   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    2729   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    2830   nrstdt      =       0   !  restart control = 0 nit000 is not compared to the restart file value 
     
    646648   nctls      =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk) 
    647649   ucf        =   1.       !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
    648    ln_trdmld_restart = .false.  !  restart for ML diagnostics 
    649    ln_trdmld_instant = .false.  !  flag to diagnose trends of instantantaneous or mean ML T/S 
     650   cn_trdrst_in  = "restart_mld"   ! suffix of ocean restart name (input) 
     651   cn_trdrst_out = "restart_mld"   ! suffix of ocean restart name (output) 
     652   ln_trdmld_restart = .false.     !  restart for ML diagnostics 
     653   ln_trdmld_instant = .false.     !  flag to diagnose trends of instantantaneous or mean ML T/S 
    650654/ 
    651655!----------------------------------------------------------------------- 
  • trunk/CONFIG/ORCA2_LIM/EXP00/namelist_ice_lim2

    r1113 r1229  
    1414&namicerun     !   Share parameters for dynamics/advection/thermo 
    1515!----------------------------------------------------------------------- 
     16   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     17   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
    1618   ln_limdyn   = .true.    !  ice dynamics (T) or thermodynamics only (F) 
    1719   ln_limdmp   = .false.   !  restoring ice thickness and fraction leads (T) or not (F) 
  • trunk/CONFIG/ORCA2_LIM/EXP00/namelist_ice_lim3

    r1113 r1229  
    1414&namicerun     !   Share parameters for dynamics/advection/thermo 
    1515!----------------------------------------------------------------------- 
     16   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     17   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
    1618   ln_limdyn   = .true.    !  ice dynamics (T) or thermodynamics only (F) 
    1719   acrit       =  1.0e-02 , 1.0e-02  !  minimum fraction for leads in the Northern (Southern) Hemisphere 
  • trunk/CONFIG/ORCA2_LIM_PISCES/EXP00/namelist

    r1168 r1229  
    2525   no          =       0   !  job number 
    2626   cexper      =  "ORCA2"  !  experience name  
     27   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     28   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    2729   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    2830   nrstdt      =       0   !  restart control = 0 nit000 is not compared to the restart file value 
     
    177179&namsbc_cpl    !   coupled ocean/atmosphere model                        ("key_coupled") 
    178180!----------------------------------------------------------------------- 
     181! SEND 
     182cn_snd_temperature= 'weighted oce and ice'  ! 'oce only' 'weighted oce and ice' 'mixed oce-ice' 
     183cn_snd_albedo     = 'weighted ice'          ! 'none' 'weighted ice' 'mixed oce-ice' 
     184cn_snd_thickness  = 'none'                  ! 'none' 'weighted ice and snow' 
     185cn_snd_crt_nature = 'none'                  ! 'none' 'oce only' 'weighted oce and ice' 'mixed oce-ice' 
     186cn_snd_crt_refere = 'spherical'             ! 'spherical' 'cartesian' 
     187cn_snd_crt_orient = 'eastward-northward'    ! 'eastward-northward' or 'local grid' 
     188cn_snd_crt_grid   = 'T'                     ! 'T' 
     189! RECEIVE 
     190cn_rcv_w10m       = 'coupled'               ! 'none' 'coupled' 
     191cn_rcv_tau_nature = 'oce only'              ! 'oce only' 'oce and ice' 'mixed oce-ice' 
     192cn_rcv_tau_refere = 'cartesian'             ! 'spherical' 'cartesian' 
     193cn_rcv_tau_orient = 'eastward-northward'    ! 'eastward-northward' or 'local grid' 
     194cn_rcv_tau_grid   = 'U,V'                   ! 'T' 'U,V' 'U,V,F' 'U,V,I' 'T,F' 'T,I' 'T,U,V' 
     195cn_rcv_dqnsdt     = 'coupled'               ! 'none' 'coupled' 
     196cn_rcv_qsr        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice' 
     197cn_rcv_qns        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice' 
     198cn_rcv_emp        = 'conservative'          ! 'conservative' 'oce and ice' 'mixed oce-ice' 
     199cn_rcv_rnf        = 'coupled'               ! 'coupled' 'climato' 'mixed' 
     200cn_rcv_cal        = 'coupled'               ! 'none' 'coupled' 
    179201/ 
    180202!----------------------------------------------------------------------- 
     
    626648   nctls      =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk) 
    627649   ucf        =   1.       !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
    628    ln_trdmld_restart = .false.  !  restart for ML diagnostics 
    629    ln_trdmld_instant = .false.  !  flag to diagnose trends of instantantaneous or mean ML T/S 
     650   cn_trdrst_in  = "restart_mld"   ! suffix of ocean restart name (input) 
     651   cn_trdrst_out = "restart_mld"   ! suffix of ocean restart name (output) 
     652   ln_trdmld_restart = .false.     !  restart for ML diagnostics 
     653   ln_trdmld_instant = .false.     !  flag to diagnose trends of instantantaneous or mean ML T/S 
    630654/ 
    631655!----------------------------------------------------------------------- 
  • trunk/CONFIG/ORCA2_LIM_PISCES/EXP00/namelist_ice_lim2

    r1113 r1229  
    1414&namicerun     !   Share parameters for dynamics/advection/thermo 
    1515!----------------------------------------------------------------------- 
     16   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     17   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
    1618   ln_limdyn   = .true.    !  ice dynamics (T) or thermodynamics only (F) 
    1719   ln_limdmp   = .false.   !  restoring ice thickness and fraction leads (T) or not (F) 
  • trunk/CONFIG/ORCA2_LIM_PISCES/EXP00/namelist_ice_lim3

    r1113 r1229  
    1414&namicerun     !   Share parameters for dynamics/advection/thermo 
    1515!----------------------------------------------------------------------- 
     16   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     17   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
    1618   ln_limdyn   = .true.    !  ice dynamics (T) or thermodynamics only (F) 
    1719   acrit       =  1.0e-02 , 1.0e-02  !  minimum fraction for leads in the Northern (Southern) Hemisphere 
  • trunk/CONFIG/ORCA2_OFF_PISCES/EXP00/namelist

    r1121 r1229  
    1919   no          =       0   !  job number 
    2020   cexper      =  "PISCES"  !  experience name  
     21   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     22   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    2123   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    2224   nrstdt      =       0   !  restart control = 0 nit000 is not compared to the restart file value 
  • trunk/NEMO/LIM_SRC_2/ice_2.F90

    r1228 r1229  
    2121 
    2222   !!* Share parameters namelist (namicerun read in iceini) * 
     23   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_in  = "restart_ice_in"   !: suffix of ice restart name (input) 
     24   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_out = "restart_ice"      !: suffix of ice restart name (output) 
    2325   LOGICAL               , PUBLIC ::   ln_limdyn     = .TRUE.             !: flag for ice dynamics (T) or not (F) 
    2426   LOGICAL               , PUBLIC ::   ln_limdmp     = .FALSE.            !: Ice damping 
  • trunk/NEMO/LIM_SRC_2/iceini_2.F90

    r1228 r1229  
    8888      !! ** input   :   Namelist namicerun 
    8989      !!------------------------------------------------------------------- 
    90       NAMELIST/namicerun/ ln_limdyn, ln_limdmp, acrit, hsndif, hicdif 
     90      NAMELIST/namicerun/ cn_icerst_in, cn_icerst_out, ln_limdyn, ln_limdmp, acrit, hsndif, hicdif 
    9191      !!------------------------------------------------------------------- 
    9292      !                     
  • trunk/NEMO/LIM_SRC_2/limrst_2.F90

    r1156 r1229  
    6565         ENDIF 
    6666         ! create the file 
    67          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_restart_ice" 
     67         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_icerst_out) 
    6868         IF(lwp) THEN 
    6969            WRITE(numout,*) 
     
    181181      ENDIF 
    182182 
    183       CALL iom_open ( 'restart_ice_in', numrir, kiolib = jprstlib ) 
     183      CALL iom_open ( cn_icerst_in, numrir, kiolib = jprstlib ) 
    184184 
    185185      CALL iom_get( numrir, 'kt_ice' , ziter ) 
  • trunk/NEMO/LIM_SRC_3/ice.F90

    r1156 r1229  
    480480   !!-------------------------------------------------------------------------- 
    481481   !! Namelist namicerun read in iceini 
    482    LOGICAL , PUBLIC  ::     & !!! ** init namelist (namicerun) ** 
    483       ln_limdyn   = .TRUE., & !: flag for ice dynamics (T) or not (F) 
    484       ln_nicep    = .TRUE.    !: flag for sea-ice points output (T) or not (F) 
    485    REAL(wp), PUBLIC  ::   &  !: 
    486       hsndif = 0.e0    ,  &  !: computation of temp. in snow (0) or not (9999) 
    487       hicdif = 0.e0    ,  &  !: computation of temp. in ice (0) or not (9999) 
    488       cai    = 1.40e-3 ,  &  !: atmospheric drag over sea ice 
    489       cao    = 1.00e-3       !: atmospheric drag over ocean 
    490    REAL(wp), PUBLIC, DIMENSION(2)  ::  &  !: 
    491       acrit  = (/ 1.e-06 , 1.e-06 /)    !: minimum fraction for leads in 
    492    !                                   !  north and south hemisphere 
    493  
     482   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_in  = "restart_ice_in"   !: suffix of ice restart name (input) 
     483   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_out = "restart_ice"      !: suffix of ice restart name (output) 
     484   LOGICAL               , PUBLIC ::   ln_limdyn     = .TRUE.             !: flag for ice dynamics (T) or not (F) 
     485   LOGICAL               , PUBLIC ::   ln_nicep      = .TRUE.             !: flag for sea-ice points output (T) or not (F) 
     486   REAL(wp)              , PUBLIC ::   hsndif        = 0.e0               !: computation of temp. in snow (0) or not (9999) 
     487   REAL(wp)              , PUBLIC ::   hicdif        = 0.e0               !: computation of temp. in ice (0) or not (9999) 
     488   REAL(wp)              , PUBLIC ::   cai           = 1.40e-3            !: atmospheric drag over sea ice 
     489   REAL(wp)              , PUBLIC ::   cao           = 1.00e-3            !: atmospheric drag over ocean 
     490   REAL(wp), DIMENSION(2), PUBLIC ::   acrit  = (/ 1.e-06 , 1.e-06 /)     !: minimum fraction for leads in 
     491   !                                                                      !: north and south hemisphere 
    494492   !!-------------------------------------------------------------------------- 
    495493   !! * Ice diagnostics 
  • trunk/NEMO/LIM_SRC_3/iceini.F90

    r1156 r1229  
    122122      !!   3.0  !  08-03 (M. Vancop) LIM3 
    123123      !!------------------------------------------------------------------- 
    124       NAMELIST/namicerun/ ln_limdyn, acrit, hsndif, hicdif, cai, cao, ln_nicep 
     124      NAMELIST/namicerun/ cn_icerst_in, cn_icerst_out, ln_limdyn, acrit, hsndif, hicdif, cai, cao, ln_nicep 
    125125      !!------------------------------------------------------------------- 
    126126 
  • trunk/NEMO/LIM_SRC_3/limrst.F90

    r1156 r1229  
    6565         ENDIF 
    6666         ! create the file 
    67          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_restart_ice" 
     67         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_icerst_out) 
    6868         IF(lwp) THEN 
    6969            WRITE(numout,*) 
     
    405405      ENDIF 
    406406 
    407       CALL iom_open ( 'restart_ice_in', numrir, kiolib = jprstlib ) 
     407      CALL iom_open ( cn_icerst_in, numrir, kiolib = jprstlib ) 
    408408 
    409409      CALL iom_get( numrir, 'nn_fsbc', zfice ) 
  • trunk/NEMO/OPA_SRC/DOM/domain.F90

    r1146 r1229  
    140140      !! * Modules used 
    141141      USE ioipsl 
    142       NAMELIST/namrun/ no    , cexper   , ln_rstart , nrstdt , nit000,         & 
    143          &             nitend, ndate0   , nleapy   , ninist , nstock,          & 
     142      NAMELIST/namrun/ no    , cexper, cn_ocerst_in, cn_ocerst_out, ln_rstart, nrstdt,   & 
     143         &             nit000, nitend, ndate0      , nleapy       , ninist   , nstock,   & 
    144144         &             nwrite, ln_dimgnnn 
    145145 
  • trunk/NEMO/OPA_SRC/IOM/in_out_manager.F90

    r1146 r1229  
    2525   !!                   namrun namelist parameters 
    2626   !!---------------------------------------------------------------------- 
    27    CHARACTER (len=16) ::   cexper     = "exp0"    !: experiment name used for output filename 
    28    LOGICAL            ::   ln_rstart  = .FALSE.   !: start from (F) rest or (T) a restart file 
    29    INTEGER            ::   no         = 0         !: job number 
    30    INTEGER            ::   nrstdt     = 0         !: control of the time step (0, 1 or 2) 
    31    INTEGER            ::   nn_rstssh  = 0         !: hand made initilization of ssh or not (1/0) 
    32    INTEGER            ::   nit000     = 1         !: index of the first time step 
    33    INTEGER            ::   nitend     = 10        !: index of the last time step 
    34    INTEGER            ::   ndate0     = 961115    !: initial calendar date aammjj 
    35    INTEGER            ::   nleapy     = 0         !: Leap year calendar flag (0/1 or 30) 
    36    INTEGER            ::   ninist     = 0         !: initial state output flag (0/1) 
    37    LOGICAL            ::   ln_dimgnnn = .FALSE.   !: type of dimgout. (F): 1 file for all proc 
    38                                                   !:                  (T): 1 file per proc 
     27   CHARACTER(len=16)  ::   cexper        = "exp0"      !: experiment name used for output filename 
     28   CHARACTER(len=32)  ::   cn_ocerst_in  = "restart"   !: suffix of ocean restart name (input) 
     29   CHARACTER(len=32)  ::   cn_ocerst_out = "restart"   !: suffix of ocean restart name (output) 
     30   LOGICAL            ::   ln_rstart     = .FALSE.     !: start from (F) rest or (T) a restart file 
     31   INTEGER            ::   no            = 0           !: job number 
     32   INTEGER            ::   nrstdt        = 0           !: control of the time step (0, 1 or 2) 
     33   INTEGER            ::   nn_rstssh     = 0           !: hand made initilization of ssh or not (1/0) 
     34   INTEGER            ::   nit000        = 1           !: index of the first time step 
     35   INTEGER            ::   nitend        = 10          !: index of the last time step 
     36   INTEGER            ::   ndate0        = 961115      !: initial calendar date aammjj 
     37   INTEGER            ::   nleapy        = 0           !: Leap year calendar flag (0/1 or 30) 
     38   INTEGER            ::   ninist        = 0           !: initial state output flag (0/1) 
     39   LOGICAL            ::   ln_dimgnnn    = .FALSE.     !: type of dimgout. (F): 1 file for all proc 
     40                                                       !:                  (T): 1 file per proc 
    3941   !!---------------------------------------------------------------------- 
    4042   !! was in restart but moved here because of the OFF line... better solution should be found... 
  • trunk/NEMO/OPA_SRC/TRD/trdmld_rst.F90

    r1152 r1229  
    2121   PUBLIC   trd_mld_rst_write   ! routine called by step.F90 
    2222   
    23    CHARACTER (len=48) ::   crestart = 'initial.nc'   ! restart file name 
    24    INTEGER ::   nummldw                              ! logical unit for mld restart 
     23   INTEGER ::   nummldw         ! logical unit for mld restart 
    2524 
    2625   !!--------------------------------------------------------------------------------- 
     
    5554         ENDIF 
    5655         ! create the file 
    57          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_restart_mld" 
     56         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_trdrst_out) 
    5857         IF(lwp) THEN 
    5958            WRITE(numout,*) 
     
    140139    ENDIF 
    141140 
    142     CALL iom_open( 'restart_mld', inum, kiolib = jprstlib )  
     141    CALL iom_open( cn_trdrst_in, inum, kiolib = jprstlib )  
    143142 
    144143    IF( ln_trdmld_instant ) THEN  
  • trunk/NEMO/OPA_SRC/TRD/trdmod.F90

    r1146 r1229  
    281281      USE in_out_manager          ! I/O manager 
    282282 
    283       NAMELIST/namtrd/ ntrd, nctls, ln_trdmld_restart, ucf, ln_trdmld_instant 
     283      NAMELIST/namtrd/ ntrd, nctls, cn_trdrst_in, cn_trdrst_out, ln_trdmld_restart, ucf, ln_trdmld_instant 
    284284      !!---------------------------------------------------------------------- 
    285285 
  • trunk/NEMO/OPA_SRC/TRD/trdmod_oce.F90

    r1152 r1229  
    1414 
    1515   !!* Namelist namtrd:  diagnostics on dynamics/tracer trends 
    16    INTEGER , PUBLIC ::    ntrd  = 10                    !: time step frequency dynamics and tracers trends 
    17    INTEGER , PUBLIC ::    nctls =  0                    !: control surface type for trends vertical integration 
    18    REAL(wp), PUBLIC ::    ucf   = 1.                    !: unit conversion factor (for netCDF trends outputs) 
    19                                                         !: =1. (=86400.) for degC/s (degC/day) and psu/s (psu/day) 
    20    LOGICAL , PUBLIC ::    ln_trdmld_instant = .FALSE.   !: flag to diagnose inst./mean ML T/S trends 
    21    LOGICAL , PUBLIC ::    ln_trdmld_restart = .FALSE.   !: flag to restart mixed-layer diagnostics 
     16   INTEGER , PUBLIC  ::   ntrd  = 10                      !: time step frequency dynamics and tracers trends 
     17   INTEGER , PUBLIC  ::   nctls =  0                      !: control surface type for trends vertical integration 
     18   REAL(wp), PUBLIC  ::   ucf   = 1.                      !: unit conversion factor (for netCDF trends outputs) 
     19                                                          !: =1. (=86400.) for degC/s (degC/day) and psu/s (psu/day) 
     20   CHARACTER(len=32) ::   cn_trdrst_in  = "restart_mld"   !: suffix of ocean restart name (input) 
     21   CHARACTER(len=32) ::   cn_trdrst_out = "restart_mld"   !: suffix of ocean restart name (output) 
     22   LOGICAL , PUBLIC  ::   ln_trdmld_instant = .FALSE.     !: flag to diagnose inst./mean ML T/S trends 
     23   LOGICAL , PUBLIC  ::   ln_trdmld_restart = .FALSE.     !: flag to restart mixed-layer diagnostics 
    2224 
    2325   !!* Control parameters 
  • trunk/NEMO/OPA_SRC/restart.F90

    r1218 r1229  
    8080         ENDIF 
    8181         ! create the file 
    82          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_restart" 
     82         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_ocerst_out) 
    8383         IF(lwp) THEN 
    8484            WRITE(numout,*) 
     
    179179      ENDIF 
    180180 
    181       CALL iom_open( 'restart', numror, kiolib = jprstlib ) 
     181      CALL iom_open( cn_ocerst_in, numror, kiolib = jprstlib ) 
    182182 
    183183      ! Check dynamics and tracer time-step consistency and force Euler restart if changed 
Note: See TracChangeset for help on using the changeset viewer.