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 10381 for utils/tools/NESTING/src/agrif_create_restart.f90 – NEMO

Ignore:
Timestamp:
2018-12-11T21:00:08+01:00 (5 years ago)
Author:
clem
Message:

attempt to correct several bugs in the NESTING tools. With this version, domcfg.nc file should be written correctly and the partial steps should be taken into account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools/NESTING/src/agrif_create_restart.f90

    r10093 r10381  
    9494  CALL read_namelist(namelistname) 
    9595  !       
    96   IF(TRIM(restart_file) == '/NULL') THEN 
     96  IF(TRIM(restart_file) == '') THEN 
    9797     WRITE(*,*) 'no restart file specified in ',TRIM(namelistname) 
    9898     STOP 
     
    113113  !        
    114114  CALL set_child_name(parent_coordinate_file,Childcoordinates)    
    115   CALL set_child_name(parent_bathy_file,Childbathy)  
     115  CALL set_child_name(parent_bathy_level,Childbathy)  
    116116  CALL set_child_name(parent_bathy_meter,Childbathymeter)    
    117117  ! 
     
    165165  ENDIF 
    166166  ! 
    167   CALL Init_mask(parent_bathy_file,G0,x,y) 
     167  CALL Init_mask(parent_bathy_level,G0,x,y) 
    168168  CALL Init_mask(childbathy,G1,1,1) 
    169169 
     
    875875  !       
    876876  IF(partial_steps) THEN 
    877      status = Read_Bathymeter(TRIM(Childbathymeter),G1) 
     877     status = Read_Bathy_Meter(TRIM(Childbathymeter),G1) 
    878878     CALL get_scale_factors( G1,fse3t,fse3u,fse3v ) 
    879879  ELSE        
Note: See TracChangeset for help on using the changeset viewer.