Go to the documentation of this file.
43 private :: land_grid_icoa_read
44 private :: land_grid_icoa_generate
50 real(
rp),
private :: ldz(100)
52 character(len=H_LONG) :: land_grid_icoa_in_basename =
''
53 logical :: land_grid_icoa_in_aggregate
66 namelist / param_land_grid_icoa / &
67 land_grid_icoa_in_basename, &
68 land_grid_icoa_in_aggregate, &
76 log_info(
"LAND_GRID_ICOA_setup",*)
'Setup'
79 log_info(
"LAND_GRID_ICOA_setup",*)
'Skip because LKMAX < 1'
89 read(
io_fid_conf,nml=param_land_grid_icoa,iostat=ierr)
91 log_info(
"LAND_GRID_ICOA_setup",*)
'Not found namelist. Default used.'
92 elseif( ierr > 0 )
then
93 log_error(
"LAND_GRID_ICOA_setup",*)
'Not appropriate names in namelist PARAM_LAND_GRID_ICOA. Check!'
96 log_nml(param_land_grid_icoa)
104 log_info(
"LAND_GRID_ICOA_setup",*)
'Land grid information '
106 if ( land_grid_icoa_in_basename /=
'' )
then
107 call land_grid_icoa_read
109 log_info(
"LAND_GRID_ICOA_setup",*)
'Not found input grid file. Grid position is calculated.'
111 call land_grid_icoa_generate
116 log_info(
"LAND_GRID_ICOA_setup",*)
'Single layer. LDZ = ', ldz(1)
119 log_info_cont(
'(1x,A)')
'Vertical Coordinate'
120 log_info_cont(
'(1x,A)')
'| k z zh dz k |'
121 log_info_cont(
'(1x,A)')
'| [m] [m] [m] |'
123 log_info_cont(
'(1x,A,F8.3,A,I4,A)')
'| ',
land_grid_icoa_fz(k),
' ',k,
' | Atmosphere interface'
125 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
land_grid_icoa_cz(k),
' ',
land_grid_icoa_cdz(k),
' | '
129 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
land_grid_icoa_cz(k),
' ',
land_grid_icoa_cdz(k),
' | '
131 log_info_cont(
'(1x,A)')
'|=================================|'
144 log_info(
"LAND_GRID_ICOA_finalize",*)
'Finalize'
156 subroutine land_grid_icoa_read
168 log_info(
"LAND_GRID_ICOA_read",*)
'Input land grid file '
170 call file_open( land_grid_icoa_in_basename, fid, rankid=
prc_myrank, aggregate=land_grid_icoa_in_aggregate )
178 end subroutine land_grid_icoa_read
182 subroutine land_grid_icoa_generate
204 end subroutine land_grid_icoa_generate
subroutine, public prc_abort
Abort Process.
subroutine, public file_open(basename, fid, mode, single, allnodes, aggregate, rankid, postfix)
subroutine, public land_grid_icoa_setup
Setup.
integer, public prc_myrank
process num in local communicator
real(rp), dimension(:), allocatable, public land_grid_icoa_cdz
z-length of control volume [m]
module land / grid / icosahedralA
subroutine, public land_grid_icoa_finalize
Finalize.
integer, parameter, public rp
real(rp), dimension(:), allocatable, public land_grid_icoa_cz
center coordinate [m]: z, local=global
logical, public file_aggregate
module atmosphere / grid / icosahedralA / index
real(rp), dimension(:), allocatable, public land_grid_icoa_fz
face coordinate [m]: z, local=global
module land / grid / icosahedralA / index
integer, public io_fid_conf
Config file ID.