13 #include "inc_openmp.h" 68 integer,
private,
parameter :: vmax = 1
69 integer,
private,
parameter :: i_ccn = 1
71 character(len=H_SHORT),
private :: var_name(vmax)
72 character(len=H_MID),
private :: var_desc(vmax)
73 character(len=H_SHORT),
private :: var_unit(vmax)
74 integer,
private :: var_id(vmax)
75 integer,
private :: restart_fid = -1
77 data var_name /
'CCN' /
78 data var_desc /
'cloud condensation nuclei' /
79 data var_unit /
'num/m3' /
96 namelist / param_atmos_phy_ae_vars / &
110 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[VARS] / Categ[ATMOS PHY_AE] / Origin[SCALE-RM]' 126 read(
io_fid_conf,nml=param_atmos_phy_ae_vars,iostat=ierr)
128 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 129 elseif( ierr > 0 )
then 130 write(*,*)
'xxx Not appropriate names in namelist PARAM_ATMOS_PHY_AE_VARS. Check!' 136 if(
io_l )
write(
io_fid_log,*)
'*** [ATMOS_PHY_AE] prognostic/diagnostic variables' 138 '*** |',
'VARNAME ',
'|', &
139 'DESCRIPTION ',
'[',
'UNIT ',
']' 141 if(
io_l )
write(
io_fid_log,
'(1x,A,I3,A,A24,A,A48,A,A12,A)') &
142 '*** NO.',iv,
'|',var_name(iv),
'|',var_desc(iv),
'[',var_unit(iv),
']' 197 character(len=19) :: timelabel
198 character(len=H_LONG) :: basename
202 if(
io_l )
write(
io_fid_log,*)
'*** Open restart file (ATMOS_PHY_AE) ***' 217 if(
io_l )
write(
io_fid_log,*)
'*** restart file for ATMOS_PHY_AE is not specified.' 238 if ( restart_fid /= -1 )
then 240 if(
io_l )
write(
io_fid_log,*)
'*** Read from restart file (ATMOS_PHY_AE) ***' 243 restart_fid, var_name(1),
'ZXY', step=1 )
263 if(
io_l )
write(
io_fid_log,*)
'*** invlaid restart file ID for ATMOS_PHY_AE.' 278 character(len=19) :: timelabel
279 character(len=H_LONG) :: basename
285 if(
io_l )
write(
io_fid_log,*)
'*** Create restart file (ATMOS_PHY_AE) ***' 311 if ( restart_fid /= -1 )
then 326 if ( restart_fid /= -1 )
then 328 if(
io_l )
write(
io_fid_log,*)
'*** Close restart file (ATMOS_PHY_AE) ***' 346 if ( restart_fid /= -1 )
then 347 call fileio_def_var( restart_fid, var_id(1), var_name(1), var_desc(1), var_unit(1), &
367 if ( restart_fid /= -1 )
then logical, public atmos_phy_ae_restart_in_postfix_timelabel
Add timelabel to the basename of input file?
character(len=h_long), public atmos_phy_ae_restart_in_basename
Basename of the input file.
integer, public is
start point of inner domain: x, local
subroutine, public atmos_phy_ae_vars_restart_create
Create restart file.
logical, public statistics_checktotal
calc&report variable totals to logfile?
subroutine, public atmos_phy_ae_vars_fillhalo
HALO Communication.
integer, public je
end point of inner domain: y, local
subroutine, public prc_mpistop
Abort MPI.
module ATMOSPHERE / Physics Aerosol Microphysics
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 atmos_phy_ae_restart_output
output restart file?
integer, public ke
end point of inner domain: z, local
logical, public atmos_phy_ae_restart_out_postfix_timelabel
Add timelabel to the basename of output file?
real(rp), public const_undef
logical, public io_nml
output log or not? (for namelist, this process)
integer, public ia
of whole cells: x, local, with HALO
subroutine, public time_gettimelabel(timelabel)
generate time label
integer, public ka
of whole cells: z, local, with HALO
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_ae_emit
subroutine, public fileio_create(fid, basename, title, datatype, date, subsec, append, nozcoord)
Create/open a netCDF file.
integer, public js
start point of inner domain: y, local
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_ae_rhoq_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_ae_ccn
character(len=h_mid), public atmos_phy_ae_restart_out_title
title of the output file
subroutine, public atmos_phy_ae_vars_restart_enddef
Exit netCDF define mode.
character(len=h_short), public atmos_phy_ae_restart_out_dtype
REAL4 or REAL8.
integer, public ks
start point of inner domain: z, local
subroutine, public atmos_phy_ae_vars_setup
Setup.
subroutine, public atmos_phy_ae_vars_restart_read
Read restart.
subroutine, public fileio_enddef(fid)
Exit netCDF file define mode.
integer, public ie
end point of inner domain: x, local
logical, public io_aggregate
do parallel I/O through PnetCDF
subroutine, public fileio_open(fid, basename)
open a netCDF file for read
subroutine, public fileio_def_var(fid, vid, varname, desc, unit, axistype, datatype, timeintv, nsteps)
Define a variable to file.
subroutine, public atmos_phy_ae_vars_restart_def_var
Write restart.
subroutine, public atmos_phy_ae_vars_restart_write
Write restart.
subroutine, public fileio_close(fid)
Close a netCDF file.
integer, public io_fid_conf
Config file ID.
subroutine, public atmos_phy_ae_vars_restart_close
Close restart file.
integer, public io_fid_log
Log file ID.
character(len=h_long), public atmos_phy_ae_restart_out_basename
Basename of the output file.
module ATMOSPHERE / Physics Aerosol Microphysics
integer, public io_fid_nml
Log file ID (only for output namelist)
subroutine, public atmos_phy_ae_vars_restart_open
Open restart file for read.
real(rp), dimension(:,:,:), allocatable, public atmos_phy_ae_ccn_t
integer, public ja
of whole cells: y, local, with HALO