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 9168 for branches/2017/dev_merge_2017/NEMOGCM/CONFIG – NEMO

Ignore:
Timestamp:
2017-12-23T13:27:17+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: OPA_SRC & CONFIG: remove useless warning when reading namelist_cfg

Location:
branches/2017/dev_merge_2017/NEMOGCM/CONFIG
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/SHARED/namelist_ref

    r9161 r9168  
    66!!              3 - Surface boundary (namsbc, namsbc_flx, namsbc_blk, namsbc_cpl, 
    77!!                                    namsbc_sas, namtra_qsr, namsbc_rnf, 
    8 !!                                    namberg, namsbc_isf, namsbc_iscpl,  
    9 !!                                    namsbc_apr, namsbc_ssr, namsbc_wave) 
     8!!                                    namsbc_isf, namsbc_iscpl, namsbc_apr,  
     9!!                                    namsbc_ssr, namsbc_wave, namberg) 
    1010!!              4 - lateral boundary (namlbc, namagrif, nambdy, nambdy_tide) 
    1111!!              5 - bottom  boundary (namdrg, namdrg_top, namdrg_bot, nambbc, nambbl) 
     
    191191   ln_usr      = .false.   !  user defined formulation                  (T => check usrdef_sbc) 
    192192   ln_flx      = .false.   !  flux formulation                          (T => fill namsbc_flx ) 
    193    ln_blk      = .false.    !  Bulk formulation                          (T => fill namsbc_blk ) 
     193   ln_blk      = .false.    !  Bulk formulation                         (T => fill namsbc_blk ) 
    194194                     ! Type of coupling (Ocean/Ice/Atmosphere) : 
    195195   ln_cpl      = .false.   !  atmosphere coupled   formulation          ( requires key_oasis3 ) 
     
    200200                           !  =2 opa-sas OASIS coupling: multi executable config., SAS component  
    201201                     ! Sea-ice : 
    202    nn_ice      = 2         !  =0 no ice boundary condition   , 
    203                            !  =1 use observed ice-cover      , 
     202   nn_ice      = 2         !  =0 no ice boundary condition     
     203                           !  =1 use observed ice-cover                 (  => fill namsbc_iif ) 
    204204                           !  =2 or 3 automatically for LIM3 or CICE    ("key_lim3" or "key_cice") 
    205205                           !          except in AGRIF zoom where it has to be specified 
     
    345345/ 
    346346!----------------------------------------------------------------------- 
     347&namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
     348!----------------------------------------------------------------------- 
     349!              !  file name      ! frequency (hours) ! variable  ! time interp.!  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     350!              !                 !  (if <0  months)  !   name    !  (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
     351   sn_ice      ='ice_cover_clim.nc',     -12.        ,'ice_cover',  .true.     , .true.  , 'yearly'  ,   ''     ,   ''     ,   '' 
     352   ! 
     353   cn_dir      = './'      !  root directory for the location of the runoff files  
     354/ 
     355!----------------------------------------------------------------------- 
    347356&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    348357!----------------------------------------------------------------------- 
     
    443452   sn_sst      = 'sst_data',        24         ,  'sst'   ,    .false.  , .false., 'yearly'  ,    ''    ,    ''    ,     '' 
    444453   sn_sss      = 'sss_data',        -1         ,  'sss'   ,    .true.   , .true. , 'yearly'  ,    ''    ,    ''    ,     '' 
    445  
    446454   cn_dir      = './'      !  root directory for the location of the runoff files 
    447    nn_sstr     =     0     !  add a retroaction term in the surface heat       flux (=1) or not (=0) 
     455   ! 
     456   nn_sstr     =     0     !  add a retroaction term in the surface heat flux (=1) or not (=0) 
     457      rn_dqdt     = -40.      !  magnitude of the retroaction on temperature   [W/m2/K] 
    448458   nn_sssr     =     2     !  add a damping     term in the surface freshwater flux (=2) 
    449    !                       !  or to SSS only (=1) or no damping term (=0) 
    450    rn_dqdt     =   -40.    !  magnitude of the retroaction on temperature   [W/m2/K] 
    451    rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day] 
    452    ln_sssr_bnd =  .true.   !  flag to bound erp term (associated with nn_sssr=2) 
    453    rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day] 
     459      !                    !  or to SSS only (=1) or no damping term (=0) 
     460      rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day] 
     461      ln_sssr_bnd =  .true.   !  flag to bound erp term (associated with nn_sssr=2) 
     462      rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day] 
    454463/ 
    455464!----------------------------------------------------------------------- 
     
    660669   ! 
    661670   ln_trabbc   = .false.   !  Apply a geothermal heating at the ocean bottom 
    662    nn_geoflx   =    2      !  geothermal heat flux: = 0 no flux 
    663                            !     = 1 constant flux 
    664                            !     = 2 variable flux (read in geothermal_heating.nc in mW/m2) 
    665    rn_geoflx_cst = 86.4e-3 !  Constant value of geothermal heat flux [W/m2] 
    666    cn_dir      = './'      !  root directory for the location of the runoff files  
     671      nn_geoflx   =    2      !  geothermal heat flux: = 0 no flux 
     672                           !     = 1 constant flux 
     673                           !     = 2 variable flux (read in geothermal_heating.nc in mW/m2) 
     674      rn_geoflx_cst = 86.4e-3 !  Constant value of geothermal heat flux [W/m2] 
     675      cn_dir      = './'      !  root directory for the location of the runoff files  
    667676/ 
    668677!----------------------------------------------------------------------- 
     
    670679!----------------------------------------------------------------------- 
    671680   ln_trabbl   = .false.   !  Bottom Boundary Layer parameterisation flag 
    672    nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
    673    nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
    674    rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
    675    rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
     681      nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
     682      nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
     683      rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
     684      rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
    676685/ 
    677686 
     
    784793!----------------------------------------------------------------------- 
    785794   ln_tradmp   =  .true.   !  add a damping term 
    786       nn_zdmp     =    0      !  vertical shape =0    damping throughout the water column 
     795      nn_zdmp  =    0         !  vertical shape =0    damping throughout the water column 
    787796      !                       !                 =1 no damping in the mixing layer (kz  criteria) 
    788797      !                       !                 =2 no damping in the mixed  layer (rho crieria) 
    789       cn_resto    ='resto.nc' !  Name of file containing restoration coeff. field (use dmp_tools to create this) 
     798      cn_resto = 'resto.nc'  !  Name of file containing restoration coeff. field (use dmp_tools to create this) 
    790799/ 
    791800 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/VORTEX/MY_SRC/domvvl.F90

    r9067 r9168  
    983983      REWIND( numnam_cfg )              ! Namelist nam_vvl in configuration namelist : Parameters of the run 
    984984      READ  ( numnam_cfg, nam_vvl, IOSTAT = ios, ERR = 902 ) 
    985 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_vvl in configuration namelist', lwp ) 
     985902   IF( ios > 0 ) CALL ctl_nam ( ios , 'nam_vvl in configuration namelist', lwp ) 
    986986      IF(lwm) WRITE ( numond, nam_vvl ) 
    987987      ! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC/bdyini.F90

    r9125 r9168  
    8181      READ  ( numnam_ref, nambdy, IOSTAT = ios, ERR = 901) 
    8282901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy in reference namelist', lwp ) 
    83       ! 
    8483      REWIND( numnam_cfg )              ! Namelist nambdy in configuration namelist :Unstructured open boundaries 
    8584      READ  ( numnam_cfg, nambdy, IOSTAT = ios, ERR = 902 ) 
    86 902   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp ) 
     85902   IF( ios > 0 )   CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp ) 
    8786      IF(lwm) WRITE ( numond, nambdy ) 
    8887 
     
    418417 
    419418      DO ib_bdy = 1, nb_bdy 
    420  
     419         ! 
    421420         IF( .NOT. ln_coords_file(ib_bdy) ) THEN ! Work out size of global arrays from namelist parameters 
    422   
     421            ! 
    423422            icount = icount + 1 
    424423            ! No REWIND here because may need to read more than one nambdy_index namelist. 
    425             ! Read only namelist_cfg to avoid unseccessfull overwrite 
    426 !!          REWIND( numnam_ref )              ! Namelist nambdy_index in reference namelist : Open boundaries indexes 
    427 !!          READ  ( numnam_ref, namrun, IOSTAT = ios, ERR = 903) 
    428 !!903       IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_index in reference namelist', lwp ) 
    429  
    430 !!          REWIND( numnam_cfg )              ! Namelist nambdy_index in configuration namelist : Open boundaries indexes 
     424            ! Read only namelist_cfg to avoid unseccessfull overwrite  
     425            ! keep full control of the configuration namelist 
    431426            READ  ( numnam_cfg, nambdy_index, IOSTAT = ios, ERR = 904 ) 
    432 904         IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_index in configuration namelist', lwp ) 
     427904         IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy_index in configuration namelist', lwp ) 
    433428            IF(lwm) WRITE ( numond, nambdy_index ) 
    434429 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC/domain.F90

    r9125 r9168  
    293293      REWIND( numnam_cfg )              ! Namelist namrun in configuration namelist : Parameters of the run 
    294294      READ  ( numnam_cfg, namrun, IOSTAT = ios, ERR = 902 ) 
    295 902   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namrun in configuration namelist', lwp ) 
     295902   IF( ios > 0 )   CALL ctl_nam ( ios , 'namrun in configuration namelist', lwp ) 
    296296      IF(lwm) WRITE ( numond, namrun ) 
    297297      ! 
     
    378378      REWIND( numnam_ref )              ! Namelist namdom in reference namelist : space & time domain (bathymetry, mesh, timestep) 
    379379      READ  ( numnam_ref, namdom, IOSTAT = ios, ERR = 903) 
    380 903   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdom in reference namelist', lwp ) 
     380903   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namdom in reference namelist', lwp ) 
    381381      ! 
    382382      REWIND( numnam_cfg )              ! Namelist namdom in configuration namelist : space & time domain (bathymetry, mesh, timestep) 
    383383      READ  ( numnam_cfg, namdom, IOSTAT = ios, ERR = 904 ) 
    384 904   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdom in configuration namelist', lwp ) 
     384904   IF( ios >  0 )  CALL ctl_nam ( ios , 'namdom in configuration namelist', lwp ) 
    385385      IF(lwm) WRITE ( numond, namdom ) 
    386386      ! 
     
    411411      REWIND( numnam_ref )              ! Namelist namnc4 in reference namelist : NETCDF 
    412412      READ  ( numnam_ref, namnc4, IOSTAT = ios, ERR = 907) 
    413 907   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namnc4 in reference namelist', lwp ) 
     413907   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namnc4 in reference namelist', lwp ) 
    414414      ! 
    415415      REWIND( numnam_cfg )              ! Namelist namnc4 in configuration namelist : NETCDF 
    416416      READ  ( numnam_cfg, namnc4, IOSTAT = ios, ERR = 908 ) 
    417 908   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namnc4 in configuration namelist', lwp ) 
     417908   IF( ios >  0 )  CALL ctl_nam ( ios , 'namnc4 in configuration namelist', lwp ) 
    418418      IF(lwm) WRITE( numond, namnc4 ) 
    419419 
     
    496496      !! ** Purpose :   read the domain size in domain configuration file 
    497497      !! 
    498       !! ** Method  :    
    499       !! 
     498      !! ** Method  :   read the cn_domcfg NetCDF file 
    500499      !!---------------------------------------------------------------------- 
    501500      CHARACTER(len=*), DIMENSION(:), INTENT(out) ::   ldtxt           ! stored print information 
     
    512511      ii = 1 
    513512      WRITE(ldtxt(ii),*) '           '                                                    ;   ii = ii+1 
    514       WRITE(ldtxt(ii),*) 'domain_cfg : domain size read in ', TRIM( cn_domcfg ), ' file'   ;   ii = ii+1 
     513      WRITE(ldtxt(ii),*) 'domain_cfg : domain size read in ', TRIM( cn_domcfg ), ' file'  ;   ii = ii+1 
    515514      WRITE(ldtxt(ii),*) '~~~~~~~~~~ '                                                    ;   ii = ii+1 
    516515      ! 
     
    524523         CALL iom_get( inum, 'ORCA_index', zorca_res )   ;   kk_cfg = INT( zorca_res ) 
    525524         ! 
    526          WRITE(ldtxt(ii),*) '       '                                                    ;   ii = ii+1 
    527          WRITE(ldtxt(ii),*) '       ==>>>   ORCA configuration '                         ;   ii = ii+1 
    528          WRITE(ldtxt(ii),*) '       '                                                    ;   ii = ii+1 
     525         WRITE(ldtxt(ii),*) '       '                                                     ;   ii = ii+1 
     526         WRITE(ldtxt(ii),*) '       ==>>>   ORCA configuration '                          ;   ii = ii+1 
     527         WRITE(ldtxt(ii),*) '       '                                                     ;   ii = ii+1 
    529528         ! 
    530529      ELSE                                !- cd_cfg & k_cfg are not used 
Note: See TracChangeset for help on using the changeset viewer.