Go to the documentation of this file.
63 real(
rp),
parameter,
public ::
d0_crg = 100.e-6_rp
74 integer,
private,
parameter :: vmax = 1
75 integer,
private,
parameter :: i_epot = 1
77 character(len=H_SHORT),
private :: var_name(vmax)
78 character(len=H_MID),
private :: var_desc(vmax)
79 character(len=H_SHORT),
private :: var_unit(vmax)
80 integer,
private :: var_id(vmax)
81 integer,
private :: restart_fid = -1
83 data var_name /
'Epot' /
84 data var_desc /
'Electric potential' /
100 namelist / param_atmos_phy_lt_vars / &
116 log_info(
"ATMOS_PHY_LT_vars_setup",*)
'Setup'
124 read(
io_fid_conf,nml=param_atmos_phy_lt_vars,iostat=ierr)
126 log_info(
"ATMOS_PHY_LT_vars_setup",*)
'Not found namelist. Default used.'
127 elseif( ierr > 0 )
then
128 log_error(
"ATMOS_PHY_LT_vars_setup",*)
'Not appropriate names in namelist PARAM_ATMOS_PHY_LT_VARS. Check!'
131 log_nml(param_atmos_phy_lt_vars)
134 log_info(
"ATMOS_PHY_LT_vars_setup",*)
'[ATMOS_PHY_TL] prognostic/diagnostic variables'
135 log_info_cont(
'(1x,A,A24,A,A48,A,A12,A)') &
136 ' |',
'VARNAME ',
'|', &
137 'DESCRIPTION ',
'[',
'UNIT ',
']'
139 log_info_cont(
'(1x,A,I3,A,A24,A,A48,A,A12,A)') &
140 'NO.',iv,
'|',var_name(iv),
'|',var_desc(iv),
'[',var_unit(iv),
']'
148 log_info(
"ATMOS_PHY_LT_vars_setup",*)
'Restart input? : NO'
155 log_info(
"ATMOS_PHY_LT_vars_setup",*)
'Restart output? : NO'
178 log_info(
"ATMOS_PHY_LT_vars_finalize",*)
'Finalize'
230 character(len=19) :: timelabel
231 character(len=H_LONG) :: basename
235 log_info(
"ATMOS_PHY_LT_vars_restart_open",*)
'Open restart file (ATMOS_PHY_LT) '
246 log_info(
"ATMOS_PHY_LT_vars_restart_open",*)
'basename: ', trim(basename)
250 log_info(
"ATMOS_PHY_LT_vars_restart_open",*)
'restart file for ATMOS_PHY_LT is not specified.'
278 if ( restart_fid /= -1 )
then
280 log_info(
"ATMOS_PHY_LT_vars_restart_read",*)
'Read from restart file (ATMOS_PHY_LT) '
282 call file_cartesc_read( restart_fid, var_name(1),
'ZXY', &
310 log_info(
"ATMOS_PHY_LT_vars_restart_read",*)
'invalid restart file for ATMOS_PHY_LT.'
327 character(len=19) :: timelabel
328 character(len=H_LONG) :: basename
334 log_info(
"ATMOS_PHY_LT_vars_restart_create",*)
'Create restart file (ATMOS_PHY_L) '
343 log_info(
"ATMOS_PHY_LT_vars_restart_create",*)
'basename: ', trim(basename)
362 if ( restart_fid /= -1 )
then
377 if ( restart_fid /= -1 )
then
379 log_info(
"ATMOS_PHY_LT_vars_restart_close",*)
'Close restart file (ATMOS_PHY_LT) '
397 if ( restart_fid /= -1 )
then
412 file_cartesc_write_var
422 if ( restart_fid /= -1 )
then
433 call file_cartesc_write_var( restart_fid, var_id(1),
atmos_phy_lt_epot(:,:,:), var_name(1),
'ZXY' )
module Atmosphere / Physics Cloud Microphysics
integer, public ke
end point of inner domain: z, local
subroutine, public atmos_phy_lt_vars_restart_write
Write restart.
subroutine, public prc_abort
Abort Process.
subroutine, public atmos_phy_lt_vars_restart_enddef
Exit netCDF define mode.
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
subroutine, public file_cartesc_def_var(fid, varname, desc, unit, dim_type, datatype, vid, standard_name, timeintv, nsteps, cell_measures)
Define a variable to file.
module Atmosphere / Physics Chemistry
character(len=h_short), public atmos_phy_lt_restart_out_dtype
REAL4 or REAL8.
logical, public atmos_phy_lt_restart_in_aggregate
Switch to use aggregate file.
subroutine, public atmos_phy_lt_vars_setup
Setup.
subroutine, public atmos_phy_lt_vars_restart_create
Create restart file.
subroutine, public atmos_phy_lt_vars_fillhalo
HALO Communication.
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_lt_sarea
module Atmosphere GRID CartesC Real(real space)
integer, parameter, public rp
integer, public ie
end point of inner domain: x, local
module atmosphere / grid / cartesC index
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_vol
control volume (zxy) [m3]
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_mp_rhoc_t
subroutine, public atmos_phy_lt_vars_restart_read
Read restart.
real(rp), parameter, public v0_crg
logical, public atmos_phy_lt_restart_out_aggregate
Switch to use aggregate file.
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
subroutine, public atmos_phy_lt_vars_restart_def_var
Write restart.
character(len=h_mid), public atmos_phy_lt_restart_out_title
title of the output file
integer, public is
start point of inner domain: x, local
real(rp), parameter, public d0_crg
integer, public ks
start point of inner domain: z, local
subroutine, public file_cartesc_create(basename, title, datatype, fid, date, subsec, haszcoord, append, aggregate, single)
Create/open a netCDF file.
logical, public statistics_checktotal
calc&report variable totals to logfile?
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
subroutine, public time_gettimelabel(timelabel)
generate time label
logical, public atmos_phy_lt_restart_out_postfix_timelabel
Add timelabel to the basename of output file?
integer, public js
start point of inner domain: y, local
character(len=h_long), public atmos_phy_lt_restart_out_basename
Basename of the output file.
logical, public atmos_phy_lt_restart_in_postfix_timelabel
Add timelabel to the basename of input file?
logical function, public file_get_aggregate(fid)
subroutine, public file_cartesc_open(basename, fid, single, aggregate)
open a netCDF file for read
subroutine, public atmos_phy_lt_vars_finalize
Finalize.
logical, public atmos_phy_lt_restart_output
output restart file?
real(rp), public atmos_grid_cartesc_real_totvol
total volume (zxy, local) [m3]
subroutine, public atmos_phy_lt_vars_restart_open
Open restart file for read.
real(rp), public const_undef
subroutine, public atmos_phy_lt_vars_restart_close
Close restart file.
integer, public io_fid_conf
Config file ID.
integer, public je
end point of inner domain: y, local
real(rp), dimension(:,:,:), allocatable, public atmos_phy_lt_epot
character(len=h_long), public atmos_phy_lt_restart_in_basename
Basename of the input file.