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/TEST_CASES/WAD/MY_SRC/domain.F90 – 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.