Changeset 10093 for utils/tools/NESTING/src/agrif_create_bathy.f90
- Timestamp:
- 2018-09-06T12:35:27+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools/NESTING/src/agrif_create_bathy.f90
r10027 r10093 72 72 ! define names of child grid files 73 73 CALL set_child_name(parent_coordinate_file,Child_coordinates) 74 IF( TRIM(parent_ meshmask_file) .NE. '/NULL' ) CALL set_child_name(parent_meshmask_file,Childlevel_file)75 IF( TRIM(parent_ meshmask_file) .NE. '/NULL' ) CALL set_child_name(parent_domcfg_output,Child_domcfg)74 IF( TRIM(parent_bathy_file) .NE. '/NULL' ) CALL set_child_name(parent_bathy_file,Childlevel_file) 75 IF( TRIM(parent_bathy_file) .NE. '/NULL' ) CALL set_child_name(parent_domcfg_output,Child_domcfg) 76 76 ! 77 77 ! ! ------------------------------------------------------------------ … … 83 83 ! read coarse grid bathymetry and coordinates 84 84 status = Read_Coordinates(TRIM(parent_coordinate_file),G0) 85 status = Read_bathy_level(TRIM(parent_ meshmask_file),G0)85 status = Read_bathy_level(TRIM(parent_bathy_file),G0) 86 86 ! 87 87 ! read fine grid coordinates … … 411 411 status = Read_Bathymeter(TRIM(parent_bathy_meter),G0) 412 412 ELSE 413 status = Read_Bathymeter(TRIM(parent_ meshmask_file),G0)413 status = Read_Bathymeter(TRIM(parent_bathy_file),G0) 414 414 ENDIF 415 415 … … 605 605 ! store interpolation result in output file 606 606 CALL levels_to_meter(G1) ! From levels to meters 607 IF( TRIM(parent_ meshmask_file) .NE. '/NULL' ) status = Write_Bathy_level(TRIM(Childlevel_file),G1)608 IF( TRIM(parent_ meshmask_file) .NE. '/NULL' ) status = write_domcfg(TRIM(Child_domcfg),G1)607 IF( TRIM(parent_bathy_file) .NE. '/NULL' ) status = Write_Bathy_level(TRIM(Childlevel_file),G1) 608 IF( TRIM(parent_bathy_file) .NE. '/NULL' ) status = write_domcfg(TRIM(Child_domcfg),G1) 609 609 ! 610 610 WRITE(*,*) '****** Bathymetry successfully created for partial cells ******'
Note: See TracChangeset
for help on using the changeset viewer.