48 character(len=H_LONG),
private :: topo_in_basename =
'' 49 logical,
private :: topo_in_check_coordinates = .false.
50 character(len=H_LONG),
private :: topo_out_basename =
'' 51 character(len=H_MID),
private :: topo_out_title =
'SCALE-RM TOPOGRAPHY' 52 character(len=H_SHORT),
private :: topo_out_dtype =
'DEFAULT' 63 namelist / param_topo / &
65 topo_in_check_coordinates, &
73 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[TOPOGRAPHY] / Categ[ATMOS-RM GRID] / Origin[SCALElib]' 79 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 80 elseif( ierr > 0 )
then 81 write(*,*)
'xxx Not appropriate names in namelist PARAM_TOPO. Check!' 102 real(RP),
intent(inout),
optional :: zsfc(
ia,
ja)
105 if (
present(zsfc) )
then 106 call comm_vars8( zsfc(:,:), 1 )
107 call comm_wait ( zsfc(:,:), 1 )
123 fileio_check_coordinates, &
135 if ( topo_in_basename /=
'' )
then 139 fid,
'TOPO',
'XY', step=1 )
142 if ( topo_in_check_coordinates )
then 143 call fileio_check_coordinates( fid )
153 if(
io_l )
write(
io_fid_log,*)
'*** topography file is not specified.' 159 end subroutine topo_read
169 if ( topo_out_basename /=
'' )
then 174 call fileio_write(
topo_zsfc(:,:), topo_out_basename, topo_out_title, &
175 'TOPO',
'Topography',
'm',
'XY', topo_out_dtype, &
subroutine, public topo_write
Write topography.
subroutine, public topo_fillhalo(Zsfc)
HALO Communication.
subroutine, public prc_mpistop
Abort MPI.
logical, public io_l
output log or not? (this process)
subroutine, public fileio_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
logical, public io_nml
output log or not? (for namelist, this process)
integer, public ia
of whole cells: x, local, with HALO
subroutine, public topo_setup
Setup.
logical, public topo_exist
topography exists?
subroutine, public fileio_open(fid, basename)
open a netCDF file for read
real(rp), dimension(:,:), allocatable, public topo_zsfc
absolute ground height [m]
subroutine, public fileio_close(fid)
Close a netCDF file.
integer, public io_fid_conf
Config file ID.
integer, public io_fid_log
Log file ID.
integer, public io_fid_nml
Log file ID (only for output namelist)
integer, public ja
of whole cells: y, local, with HALO