Go to the documentation of this file.
43 private :: land_grid_cartesc_read
44 private :: land_grid_cartesc_generate
50 real(
rp),
private :: ldz(100)
52 character(len=H_LONG) :: land_grid_cartesc_in_basename =
''
53 logical :: land_grid_cartesc_in_aggregate
66 namelist / param_land_grid_cartesc / &
67 land_grid_cartesc_in_basename, &
68 land_grid_cartesc_in_aggregate, &
76 log_info(
"LAND_GRID_CARTESC_setup",*)
'Setup'
79 log_info(
"LAND_GRID_CARTESC_setup",*)
'Skip because LKMAX < 1'
89 read(
io_fid_conf,nml=param_land_grid_cartesc,iostat=ierr)
91 log_info(
"LAND_GRID_CARTESC_setup",*)
'Not found namelist. Default used.'
92 elseif( ierr > 0 )
then
93 log_error(
"LAND_GRID_CARTESC_setup",*)
'Not appropriate names in namelist PARAM_LAND_GRID_CARTESC. Check!'
96 log_nml(param_land_grid_cartesc)
104 log_info(
"LAND_GRID_CARTESC_setup",*)
'Land grid information '
106 if ( land_grid_cartesc_in_basename /=
'' )
then
107 call land_grid_cartesc_read
109 log_info(
"LAND_GRID_CARTESC_setup",*)
'Not found input grid file. Grid position is calculated.'
111 call land_grid_cartesc_generate
116 log_info(
"LAND_GRID_CARTESC_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_cartesc_fz(k),
' ',k,
' | Atmosphere interface'
125 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
land_grid_cartesc_cz(k),
' ',
land_grid_cartesc_cdz(k),
' | '
129 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
land_grid_cartesc_cz(k),
' ',
land_grid_cartesc_cdz(k),
' | '
131 log_info_cont(
'(1x,A)')
'|=================================|'
146 log_info(
"LAND_GRID_CARTESC_finalize",*)
'Finalize'
158 subroutine land_grid_cartesc_read
170 log_info(
"LAND_GRID_CARTESC_read",*)
'Input land grid file '
172 call file_open( land_grid_cartesc_in_basename, fid, rankid=
prc_myrank, aggregate=land_grid_cartesc_in_aggregate )
180 end subroutine land_grid_cartesc_read
184 subroutine land_grid_cartesc_generate
206 end subroutine land_grid_cartesc_generate
subroutine, public prc_abort
Abort Process.
subroutine, public file_open(basename, fid, mode, single, allnodes, aggregate, rankid, postfix)
real(rp), dimension(:), allocatable, public land_grid_cartesc_cdz
z-length of control volume [m]
subroutine, public land_grid_cartesc_finalize
Finalize.
integer, public prc_myrank
process num in local communicator
module land / grid / cartesianC / index
integer, parameter, public rp
module atmosphere / grid / cartesC index
subroutine, public land_grid_cartesc_setup
Setup.
real(rp), dimension(:), allocatable, public land_grid_cartesc_cz
center coordinate [m]: z, local=global
real(rp), dimension(:), allocatable, public land_grid_cartesc_fz
face coordinate [m]: z, local=global
logical, public file_aggregate
module land / grid / cartesianC
integer, public io_fid_conf
Config file ID.