- Timestamp:
- 2017-12-23T13:27:17+01:00 (7 years ago)
- Location:
- branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC/bdyini.F90
r9125 r9168 81 81 READ ( numnam_ref, nambdy, IOSTAT = ios, ERR = 901) 82 82 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy in reference namelist', lwp ) 83 !84 83 REWIND( numnam_cfg ) ! Namelist nambdy in configuration namelist :Unstructured open boundaries 85 84 READ ( numnam_cfg, nambdy, IOSTAT = ios, ERR = 902 ) 86 902 IF( ios /=0 ) CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp )85 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp ) 87 86 IF(lwm) WRITE ( numond, nambdy ) 88 87 … … 418 417 419 418 DO ib_bdy = 1, nb_bdy 420 419 ! 421 420 IF( .NOT. ln_coords_file(ib_bdy) ) THEN ! Work out size of global arrays from namelist parameters 422 421 ! 423 422 icount = icount + 1 424 423 ! 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 431 426 READ ( numnam_cfg, nambdy_index, IOSTAT = ios, ERR = 904 ) 432 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_index in configuration namelist', lwp )427 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_index in configuration namelist', lwp ) 433 428 IF(lwm) WRITE ( numond, nambdy_index ) 434 429 -
branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC/domain.F90
r9125 r9168 293 293 REWIND( numnam_cfg ) ! Namelist namrun in configuration namelist : Parameters of the run 294 294 READ ( numnam_cfg, namrun, IOSTAT = ios, ERR = 902 ) 295 902 IF( ios /=0 ) CALL ctl_nam ( ios , 'namrun in configuration namelist', lwp )295 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namrun in configuration namelist', lwp ) 296 296 IF(lwm) WRITE ( numond, namrun ) 297 297 ! … … 378 378 REWIND( numnam_ref ) ! Namelist namdom in reference namelist : space & time domain (bathymetry, mesh, timestep) 379 379 READ ( numnam_ref, namdom, IOSTAT = ios, ERR = 903) 380 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdom in reference namelist', lwp )380 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdom in reference namelist', lwp ) 381 381 ! 382 382 REWIND( numnam_cfg ) ! Namelist namdom in configuration namelist : space & time domain (bathymetry, mesh, timestep) 383 383 READ ( numnam_cfg, namdom, IOSTAT = ios, ERR = 904 ) 384 904 IF( ios /= 0 )CALL ctl_nam ( ios , 'namdom in configuration namelist', lwp )384 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'namdom in configuration namelist', lwp ) 385 385 IF(lwm) WRITE ( numond, namdom ) 386 386 ! … … 411 411 REWIND( numnam_ref ) ! Namelist namnc4 in reference namelist : NETCDF 412 412 READ ( numnam_ref, namnc4, IOSTAT = ios, ERR = 907) 413 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namnc4 in reference namelist', lwp )413 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namnc4 in reference namelist', lwp ) 414 414 ! 415 415 REWIND( numnam_cfg ) ! Namelist namnc4 in configuration namelist : NETCDF 416 416 READ ( numnam_cfg, namnc4, IOSTAT = ios, ERR = 908 ) 417 908 IF( ios /= 0 )CALL ctl_nam ( ios , 'namnc4 in configuration namelist', lwp )417 908 IF( ios > 0 ) CALL ctl_nam ( ios , 'namnc4 in configuration namelist', lwp ) 418 418 IF(lwm) WRITE( numond, namnc4 ) 419 419 … … 496 496 !! ** Purpose : read the domain size in domain configuration file 497 497 !! 498 !! ** Method : 499 !! 498 !! ** Method : read the cn_domcfg NetCDF file 500 499 !!---------------------------------------------------------------------- 501 500 CHARACTER(len=*), DIMENSION(:), INTENT(out) :: ldtxt ! stored print information … … 512 511 ii = 1 513 512 WRITE(ldtxt(ii),*) ' ' ; ii = ii+1 514 WRITE(ldtxt(ii),*) 'domain_cfg : domain size read in ', TRIM( cn_domcfg ), ' file' 513 WRITE(ldtxt(ii),*) 'domain_cfg : domain size read in ', TRIM( cn_domcfg ), ' file' ; ii = ii+1 515 514 WRITE(ldtxt(ii),*) '~~~~~~~~~~ ' ; ii = ii+1 516 515 ! … … 524 523 CALL iom_get( inum, 'ORCA_index', zorca_res ) ; kk_cfg = INT( zorca_res ) 525 524 ! 526 WRITE(ldtxt(ii),*) ' ' ; ii = ii+1527 WRITE(ldtxt(ii),*) ' ==>>> ORCA configuration ' ; ii = ii+1528 WRITE(ldtxt(ii),*) ' ' ; ii = ii+1525 WRITE(ldtxt(ii),*) ' ' ; ii = ii+1 526 WRITE(ldtxt(ii),*) ' ==>>> ORCA configuration ' ; ii = ii+1 527 WRITE(ldtxt(ii),*) ' ' ; ii = ii+1 529 528 ! 530 529 ELSE !- cd_cfg & k_cfg are not used
Note: See TracChangeset
for help on using the changeset viewer.