SCALE-RM
Functions/Subroutines | Variables
mod_atmos_phy_sf_vars Module Reference

module ATMOSPHERIC Surface Variables More...

Functions/Subroutines

subroutine, public atmos_phy_sf_vars_setup
 Setup. More...
 
subroutine, public atmos_phy_sf_vars_fillhalo
 HALO Communication. More...
 
subroutine, public atmos_phy_sf_vars_restart_read
 Read restart. More...
 
subroutine, public atmos_phy_sf_vars_restart_write
 Write restart. More...
 
subroutine, public atmos_phy_sf_vars_external_in (sfc_temp_in, albedo_lw_in, albedo_sw_in, sfc_z0m_in, sfc_z0h_in, sfc_z0e_in)
 Input from External I/O. More...
 
subroutine, public atmos_phy_sf_vars_restart_create
 Create restart file. More...
 
subroutine, public atmos_phy_sf_vars_restart_enddef
 Exit netCDF define mode. More...
 
subroutine, public atmos_phy_sf_vars_restart_close
 Close restart file. More...
 
subroutine, public atmos_phy_sf_vars_restart_def_var
 Write restart. More...
 
subroutine, public atmos_phy_sf_vars_restart_write_var
 Write variables to restart file. More...
 

Variables

logical, public atmos_phy_sf_restart_output = .false.
 output restart file? More...
 
character(len=h_long), public atmos_phy_sf_restart_in_basename = ''
 basename of the restart file More...
 
character(len=h_long), public atmos_phy_sf_restart_out_basename = ''
 basename of the output file More...
 
character(len=h_mid), public atmos_phy_sf_restart_out_title = 'ATMOS_PHY_SF restart'
 title of the output file More...
 
character(len=h_mid), public atmos_phy_sf_restart_out_dtype = 'DEFAULT'
 REAL4 or REAL8. More...
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_dens_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momz_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momx_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momy_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rhot_t
 
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_rhoq_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
 
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_dens
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_pres
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mw
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_sh
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_lh
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh
 
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sflx_qtrc
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2
 

Detailed Description

module ATMOSPHERIC Surface Variables

Description
Container for mod_atmos_phy_sf
Author
Team SCALE
History
  • 2012-03-27 (H.Yashiro) [new]
  • 2013-08-31 (T.Yamaura) [mod]
  • 2014-08-28 (A.Noda) [mod] input of ATMOS_PHY_SF_SFC_{TEMP,albedo}
NAMELIST
  • PARAM_ATMOS_PHY_SF_VARS
    nametypedefault valuecomment
    ATMOS_PHY_SF_RESTART_IN_BASENAME character(len=H_LONG) '' basename of the restart file
    ATMOS_PHY_SF_RESTART_OUTPUT logical .false. output restart file?
    ATMOS_PHY_SF_RESTART_OUT_BASENAME character(len=H_LONG) '' basename of the output file
    ATMOS_PHY_SF_RESTART_OUT_TITLE character(len=H_MID) 'ATMOS_PHY_SF restart' title of the output file
    ATMOS_PHY_SF_RESTART_OUT_DTYPE character(len=H_MID) 'DEFAULT' REAL4 or REAL8
    ATMOS_PHY_SF_DEFAULT_SFC_TEMP real(RP) 300.0_RP
    ATMOS_PHY_SF_DEFAULT_SFC_ALBEDO real(RP) 0.4_RP
    ATMOS_PHY_SF_DEFAULT_SFC_Z0 real(RP) 1E-4_RP

History Output
No history output

Function/Subroutine Documentation

◆ atmos_phy_sf_vars_setup()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_setup ( )

Setup.

Definition at line 141 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_dens_t, atmos_phy_sf_momx_t, atmos_phy_sf_momy_t, atmos_phy_sf_momz_t, atmos_phy_sf_q2, atmos_phy_sf_restart_in_basename, atmos_phy_sf_restart_out_basename, atmos_phy_sf_restart_out_dtype, atmos_phy_sf_restart_out_title, atmos_phy_sf_restart_output, atmos_phy_sf_rhoq_t, atmos_phy_sf_rhot_t, atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_dens, atmos_phy_sf_sfc_pres, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_sflx_gh, atmos_phy_sf_sflx_lh, atmos_phy_sf_sflx_mu, atmos_phy_sf_sflx_mv, atmos_phy_sf_sflx_mw, atmos_phy_sf_sflx_qtrc, atmos_phy_sf_sflx_sh, atmos_phy_sf_t2, atmos_phy_sf_u10, atmos_phy_sf_v10, scale_const::const_undef, scale_grid_index::ia, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, scale_grid_index::ja, scale_process::prc_mpistop(), and scale_tracer::qa.

Referenced by mod_atmos_vars::atmos_vars_setup().

141  use scale_process, only: &
143  use scale_const, only: &
144  undef => const_undef
145  implicit none
146 
147  namelist / param_atmos_phy_sf_vars / &
148  atmos_phy_sf_restart_in_basename, &
149  atmos_phy_sf_restart_output, &
150  atmos_phy_sf_restart_out_basename, &
151  atmos_phy_sf_restart_out_title, &
152  atmos_phy_sf_restart_out_dtype, &
153  atmos_phy_sf_default_sfc_temp, &
154  atmos_phy_sf_default_sfc_albedo, &
155  atmos_phy_sf_default_sfc_z0
156 
157  integer :: ierr
158  integer :: iv
159  !---------------------------------------------------------------------------
160 
161  if( io_l ) write(io_fid_log,*)
162  if( io_l ) write(io_fid_log,*) '++++++ Module[VARS] / Categ[ATMOS PHY_SF] / Origin[SCALE-RM]'
163 
164  allocate( atmos_phy_sf_dens_t(ia,ja) )
165  allocate( atmos_phy_sf_momz_t(ia,ja) )
166  allocate( atmos_phy_sf_momx_t(ia,ja) )
167  allocate( atmos_phy_sf_momy_t(ia,ja) )
168  allocate( atmos_phy_sf_rhot_t(ia,ja) )
169  allocate( atmos_phy_sf_rhoq_t(ia,ja,qa) )
170  atmos_phy_sf_dens_t(:,:) = undef
171  atmos_phy_sf_momz_t(:,:) = undef
172  atmos_phy_sf_momx_t(:,:) = undef
173  atmos_phy_sf_momy_t(:,:) = undef
174  atmos_phy_sf_rhot_t(:,:) = undef
175  atmos_phy_sf_rhoq_t(:,:,:) = undef
176 
177  allocate( atmos_phy_sf_sfc_temp(ia,ja) )
178  allocate( atmos_phy_sf_sfc_albedo(ia,ja,2) )
179  allocate( atmos_phy_sf_sfc_z0m(ia,ja) )
180  allocate( atmos_phy_sf_sfc_z0h(ia,ja) )
181  allocate( atmos_phy_sf_sfc_z0e(ia,ja) )
182 ! ATMOS_PHY_SF_SFC_TEMP (:,:) = UNDEF ! [del] 2014/8/28 A.Noda
183 ! ATMOS_PHY_SF_SFC_albedo(:,:,:) = UNDEF ! [del] 2014/8/28 A.Noda
184  atmos_phy_sf_sfc_z0m(:,:) = undef
185  atmos_phy_sf_sfc_z0h(:,:) = undef
186  atmos_phy_sf_sfc_z0e(:,:) = undef
187 
188  allocate( atmos_phy_sf_sfc_dens(ia,ja) )
189  allocate( atmos_phy_sf_sfc_pres(ia,ja) )
190  atmos_phy_sf_sfc_dens(:,:) = undef
191  atmos_phy_sf_sfc_pres(:,:) = undef
192 
193  allocate( atmos_phy_sf_sflx_mw(ia,ja) )
194  allocate( atmos_phy_sf_sflx_mu(ia,ja) )
195  allocate( atmos_phy_sf_sflx_mv(ia,ja) )
196  allocate( atmos_phy_sf_sflx_sh(ia,ja) )
197  allocate( atmos_phy_sf_sflx_lh(ia,ja) )
198  allocate( atmos_phy_sf_sflx_gh(ia,ja) )
199  allocate( atmos_phy_sf_sflx_qtrc(ia,ja,qa) )
200  atmos_phy_sf_sflx_mw(:,:) = undef
201  atmos_phy_sf_sflx_mu(:,:) = undef
202  atmos_phy_sf_sflx_mv(:,:) = undef
203  atmos_phy_sf_sflx_sh(:,:) = undef
204  atmos_phy_sf_sflx_lh(:,:) = undef
205  atmos_phy_sf_sflx_gh(:,:) = undef
206  atmos_phy_sf_sflx_qtrc(:,:,:) = undef
207 
208  allocate( atmos_phy_sf_u10(ia,ja) )
209  allocate( atmos_phy_sf_v10(ia,ja) )
210  allocate( atmos_phy_sf_t2(ia,ja) )
211  allocate( atmos_phy_sf_q2(ia,ja) )
212  atmos_phy_sf_u10(:,:) = undef
213  atmos_phy_sf_v10(:,:) = undef
214  atmos_phy_sf_t2(:,:) = undef
215  atmos_phy_sf_q2(:,:) = undef
216 
217  !--- read namelist
218  rewind(io_fid_conf)
219  read(io_fid_conf,nml=param_atmos_phy_sf_vars,iostat=ierr)
220  if( ierr < 0 ) then !--- missing
221  if( io_l ) write(io_fid_log,*) '*** Not found namelist. Default used.'
222  elseif( ierr > 0 ) then !--- fatal error
223  write(*,*) 'xxx Not appropriate names in namelist PARAM_ATMOS_PHY_SF_VARS. Check!'
224  call prc_mpistop
225  endif
226  if( io_lnml ) write(io_fid_log,nml=param_atmos_phy_sf_vars)
227 
228  ! [add] 2014/08/28 A.Noda
229  atmos_phy_sf_sfc_temp(:,:) = atmos_phy_sf_default_sfc_temp
230  atmos_phy_sf_sfc_albedo(:,:,:) = atmos_phy_sf_default_sfc_albedo
231  atmos_phy_sf_sfc_z0m(:,:) = atmos_phy_sf_default_sfc_z0
232  atmos_phy_sf_sfc_z0h(:,:) = atmos_phy_sf_default_sfc_z0
233  atmos_phy_sf_sfc_z0e(:,:) = atmos_phy_sf_default_sfc_z0
234 
235  if( io_l ) write(io_fid_log,*)
236  if( io_l ) write(io_fid_log,*) '*** [ATMOS_PHY_SF] prognostic/diagnostic variables'
237  if( io_l ) write(io_fid_log,'(1x,A,A15,A,A32,3(A))') &
238  '*** |','VARNAME ','|', 'DESCRIPTION ','[', 'UNIT ',']'
239  do iv = 1, vmax
240  if( io_l ) write(io_fid_log,'(1x,A,i3,A,A15,A,A32,3(A))') &
241  '*** NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
242  enddo
243 
244  if( io_l ) write(io_fid_log,*)
245  if ( atmos_phy_sf_restart_in_basename /= '' ) then
246  if( io_l ) write(io_fid_log,*) '*** Restart input? : ', trim(atmos_phy_sf_restart_in_basename)
247  else
248  if( io_l ) write(io_fid_log,*) '*** Restart input? : NO'
249  endif
250  if ( atmos_phy_sf_restart_output &
251  .AND. atmos_phy_sf_restart_out_basename /= '' ) then
252  if( io_l ) write(io_fid_log,*) '*** Restart output? : ', trim(atmos_phy_sf_restart_out_basename)
253  else
254  if( io_l ) write(io_fid_log,*) '*** Restart output? : NO'
255  atmos_phy_sf_restart_output = .false.
256  endif
257 
258  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momz_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sflx_qtrc
subroutine, public prc_mpistop
Abort MPI.
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mw
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_rhoq_t
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rhot_t
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv
real(rp), public const_undef
Definition: scale_const.F90:43
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momx_t
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_dens_t
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_lh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_pres
module PROCESS
module CONSTANT
Definition: scale_const.F90:14
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_sh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momy_t
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_dens
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_fillhalo()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_fillhalo ( )

HALO Communication.

Definition at line 264 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, scale_const::const_i_lw, and scale_const::const_i_sw.

Referenced by atmos_phy_sf_vars_external_in(), atmos_phy_sf_vars_restart_read(), atmos_phy_sf_vars_restart_write(), and atmos_phy_sf_vars_restart_write_var().

264  use scale_const, only: &
265  i_sw => const_i_sw, &
266  i_lw => const_i_lw
267  use scale_comm, only: &
268  comm_vars8, &
269  comm_wait
270  implicit none
271  !---------------------------------------------------------------------------
272 
273  call comm_vars8( atmos_phy_sf_sfc_temp(:,:), 1 )
274  call comm_vars8( atmos_phy_sf_sfc_albedo(:,:,i_lw), 2 )
275  call comm_vars8( atmos_phy_sf_sfc_albedo(:,:,i_sw), 3 )
276  call comm_vars8( atmos_phy_sf_sfc_z0m(:,:), 4 )
277  call comm_vars8( atmos_phy_sf_sfc_z0h(:,:), 5 )
278  call comm_vars8( atmos_phy_sf_sfc_z0e(:,:), 6 )
279 
280  call comm_wait ( atmos_phy_sf_sfc_temp(:,:), 1 )
281  call comm_wait ( atmos_phy_sf_sfc_albedo(:,:,i_lw), 2 )
282  call comm_wait ( atmos_phy_sf_sfc_albedo(:,:,i_sw), 3 )
283  call comm_wait ( atmos_phy_sf_sfc_z0m(:,:), 4 )
284  call comm_wait ( atmos_phy_sf_sfc_z0h(:,:), 5 )
285  call comm_wait ( atmos_phy_sf_sfc_z0e(:,:), 6 )
286 
287  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
integer, public const_i_lw
long-wave radiation index
Definition: scale_const.F90:98
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
integer, parameter, public i_lw
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
module COMMUNICATION
Definition: scale_comm.F90:23
module CONSTANT
Definition: scale_const.F90:14
integer, public const_i_sw
short-wave radiation index
Definition: scale_const.F90:99
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_read()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_read ( )

Read restart.

Definition at line 293 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_restart_in_basename, atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_vars_fillhalo(), scale_const::const_i_lw, scale_const::const_i_sw, scale_stdio::io_fid_log, and scale_stdio::io_l.

Referenced by mod_atmos_vars::atmos_vars_restart_read().

293  use scale_const, only: &
294  i_sw => const_i_sw, &
295  i_lw => const_i_lw
296  use scale_fileio, only: &
297  fileio_read
298  use scale_rm_statistics, only: &
299  stat_total
300  implicit none
301 
302  real(RP) :: total
303  !---------------------------------------------------------------------------
304 
305  if( io_l ) write(io_fid_log,*)
306  if( io_l ) write(io_fid_log,*) '*** Input restart file (ATMOS_PHY_SF) ***'
307 
308  if ( atmos_phy_sf_restart_in_basename /= '' ) then
309  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(atmos_phy_sf_restart_in_basename)
310 
311  call fileio_read( atmos_phy_sf_sfc_temp(:,:), & ! [OUT]
312  atmos_phy_sf_restart_in_basename, var_name(1), 'XY', step=1 ) ! [IN]
313  call fileio_read( atmos_phy_sf_sfc_albedo(:,:,i_lw), & ! [OUT]
314  atmos_phy_sf_restart_in_basename, var_name(2), 'XY', step=1 ) ! [IN]
315  call fileio_read( atmos_phy_sf_sfc_albedo(:,:,i_sw), & ! [OUT]
316  atmos_phy_sf_restart_in_basename, var_name(3), 'XY', step=1 ) ! [IN]
317  call fileio_read( atmos_phy_sf_sfc_z0m(:,:), & ! [OUT]
318  atmos_phy_sf_restart_in_basename, var_name(4), 'XY', step=1 ) ! [IN]
319  call fileio_read( atmos_phy_sf_sfc_z0h(:,:), & ! [OUT]
320  atmos_phy_sf_restart_in_basename, var_name(5), 'XY', step=1 ) ! [IN]
321  call fileio_read( atmos_phy_sf_sfc_z0e(:,:), & ! [OUT]
322  atmos_phy_sf_restart_in_basename, var_name(6), 'XY', step=1 ) ! [IN]
323 
324  call atmos_phy_sf_vars_fillhalo
325 
326  call stat_total( total, atmos_phy_sf_sfc_temp(:,:), var_name(1) )
327  call stat_total( total, atmos_phy_sf_sfc_albedo(:,:,i_lw), var_name(2) )
328  call stat_total( total, atmos_phy_sf_sfc_albedo(:,:,i_sw), var_name(3) )
329  call stat_total( total, atmos_phy_sf_sfc_z0m(:,:), var_name(4) )
330  call stat_total( total, atmos_phy_sf_sfc_z0h(:,:), var_name(5) )
331  call stat_total( total, atmos_phy_sf_sfc_z0e(:,:), var_name(6) )
332  else
333  if( io_l ) write(io_fid_log,*) '*** restart file for ATMOS_PHY_SF is not specified.'
334  atmos_phy_sf_sfc_temp(:,:) = atmos_phy_sf_default_sfc_temp
335  atmos_phy_sf_sfc_albedo(:,:,:) = atmos_phy_sf_default_sfc_albedo
336  atmos_phy_sf_sfc_z0m(:,:) = atmos_phy_sf_default_sfc_z0
337  atmos_phy_sf_sfc_z0h(:,:) = atmos_phy_sf_default_sfc_z0
338  atmos_phy_sf_sfc_z0e(:,:) = atmos_phy_sf_default_sfc_z0
339  endif
340 
341  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
integer, public const_i_lw
long-wave radiation index
Definition: scale_const.F90:98
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
module FILE I/O (netcdf)
integer, parameter, public i_lw
module Statistics
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
module CONSTANT
Definition: scale_const.F90:14
integer, public const_i_sw
short-wave radiation index
Definition: scale_const.F90:99
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_write()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_write ( )

Write restart.

Definition at line 347 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_restart_out_basename, atmos_phy_sf_restart_out_dtype, atmos_phy_sf_restart_out_title, atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_vars_fillhalo(), scale_const::const_i_lw, scale_const::const_i_sw, scale_stdio::io_fid_log, scale_stdio::io_l, and scale_time::time_gettimelabel().

Referenced by mod_atmos_vars::atmos_vars_restart_write().

347  use scale_const, only: &
348  i_sw => const_i_sw, &
349  i_lw => const_i_lw
350  use scale_time, only: &
352  use scale_fileio, only: &
353  fileio_write
354  use scale_rm_statistics, only: &
355  stat_total
356  implicit none
357 
358  character(len=20) :: timelabel
359  character(len=H_LONG) :: basename
360 
361  real(RP) :: total
362  !---------------------------------------------------------------------------
363 
364  if ( atmos_phy_sf_restart_out_basename /= '' ) then
365 
366  call time_gettimelabel( timelabel )
367  write(basename,'(A,A,A)') trim(atmos_phy_sf_restart_out_basename), '_', trim(timelabel)
368 
369  if( io_l ) write(io_fid_log,*)
370  if( io_l ) write(io_fid_log,*) '*** Output restart file (ATMOS_PHY_SF) ***'
371  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(basename)
372 
373  call atmos_phy_sf_vars_fillhalo
374 
375  call stat_total( total, atmos_phy_sf_sfc_temp(:,:), var_name(1) )
376  call stat_total( total, atmos_phy_sf_sfc_albedo(:,:,i_lw), var_name(2) )
377  call stat_total( total, atmos_phy_sf_sfc_albedo(:,:,i_sw), var_name(3) )
378  call stat_total( total, atmos_phy_sf_sfc_z0m(:,:), var_name(4) )
379  call stat_total( total, atmos_phy_sf_sfc_z0h(:,:), var_name(5) )
380  call stat_total( total, atmos_phy_sf_sfc_z0e(:,:), var_name(6) )
381 
382  call fileio_write( atmos_phy_sf_sfc_temp(:,:), basename, atmos_phy_sf_restart_out_title, & ! [IN]
383  var_name(1), var_desc(1), var_unit(1), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
384  call fileio_write( atmos_phy_sf_sfc_albedo(:,:,i_lw), basename, atmos_phy_sf_restart_out_title, & ! [IN]
385  var_name(2), var_desc(2), var_unit(2), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
386  call fileio_write( atmos_phy_sf_sfc_albedo(:,:,i_sw), basename, atmos_phy_sf_restart_out_title, & ! [IN]
387  var_name(3), var_desc(3), var_unit(3), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
388  call fileio_write( atmos_phy_sf_sfc_z0m(:,:), basename, atmos_phy_sf_restart_out_title, & ! [IN]
389  var_name(4), var_desc(4), var_unit(4), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
390  call fileio_write( atmos_phy_sf_sfc_z0h(:,:), basename, atmos_phy_sf_restart_out_title, & ! [IN]
391  var_name(5), var_desc(5), var_unit(5), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
392  call fileio_write( atmos_phy_sf_sfc_z0e(:,:), basename, atmos_phy_sf_restart_out_title, & ! [IN]
393  var_name(6), var_desc(6), var_unit(6), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
394  endif
395 
396  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
integer, public const_i_lw
long-wave radiation index
Definition: scale_const.F90:98
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
module FILE I/O (netcdf)
integer, parameter, public i_lw
module Statistics
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:90
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
module TIME
Definition: scale_time.F90:15
module CONSTANT
Definition: scale_const.F90:14
integer, public const_i_sw
short-wave radiation index
Definition: scale_const.F90:99
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_external_in()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_external_in ( real(rp), dimension (:,:), intent(in)  sfc_temp_in,
real(rp), dimension(:,:), intent(in)  albedo_lw_in,
real(rp), dimension(:,:), intent(in)  albedo_sw_in,
real(rp), dimension (:,:), intent(in)  sfc_z0m_in,
real(rp), dimension (:,:), intent(in)  sfc_z0h_in,
real(rp), dimension (:,:), intent(in)  sfc_z0e_in 
)

Input from External I/O.

Definition at line 408 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_vars_fillhalo(), scale_const::const_i_lw, scale_const::const_i_sw, scale_stdio::io_fid_log, and scale_stdio::io_l.

408  use scale_const, only: &
409  i_sw => const_i_sw, &
410  i_lw => const_i_lw
411  implicit none
412 
413  real(RP), intent(in) :: sfc_temp_in (:,:)
414  real(RP), intent(in) :: albedo_lw_in(:,:)
415  real(RP), intent(in) :: albedo_sw_in(:,:)
416  real(RP), intent(in) :: sfc_z0m_in (:,:)
417  real(RP), intent(in) :: sfc_z0h_in (:,:)
418  real(RP), intent(in) :: sfc_z0e_in (:,:)
419  !---------------------------------------------------------------------------
420 
421  if( io_l ) write(io_fid_log,*)
422  if( io_l ) write(io_fid_log,*) '*** External Input (PHY_SF) ***'
423 
424  atmos_phy_sf_sfc_temp(:,:) = sfc_temp_in(:,:)
425  atmos_phy_sf_sfc_albedo(:,:,i_lw) = albedo_lw_in(:,:)
426  atmos_phy_sf_sfc_albedo(:,:,i_sw) = albedo_sw_in(:,:)
427  atmos_phy_sf_sfc_z0m(:,:) = sfc_z0m_in(:,:)
428  atmos_phy_sf_sfc_z0h(:,:) = sfc_z0h_in(:,:)
429  atmos_phy_sf_sfc_z0e(:,:) = sfc_z0e_in(:,:)
430 
431  call atmos_phy_sf_vars_fillhalo
432 
433  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
integer, public const_i_lw
long-wave radiation index
Definition: scale_const.F90:98
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
integer, parameter, public i_lw
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
module CONSTANT
Definition: scale_const.F90:14
integer, public const_i_sw
short-wave radiation index
Definition: scale_const.F90:99
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Here is the call graph for this function:

◆ atmos_phy_sf_vars_restart_create()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_create ( )

Create restart file.

Definition at line 439 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_restart_out_basename, atmos_phy_sf_restart_out_dtype, atmos_phy_sf_restart_out_title, scale_const::const_i_lw, scale_const::const_i_sw, scale_fileio::fileio_create(), scale_stdio::io_fid_log, scale_stdio::io_l, and scale_time::time_gettimelabel().

Referenced by mod_atmos_vars::atmos_vars_restart_create().

439  use scale_const, only: &
440  i_sw => const_i_sw, &
441  i_lw => const_i_lw
442  use scale_time, only: &
444  use scale_fileio, only: &
446  implicit none
447 
448  character(len=20) :: timelabel
449  character(len=H_LONG) :: basename
450 
451  !---------------------------------------------------------------------------
452 
453  if ( atmos_phy_sf_restart_out_basename /= '' ) then
454 
455  call time_gettimelabel( timelabel )
456  write(basename,'(A,A,A)') trim(atmos_phy_sf_restart_out_basename), '_', trim(timelabel)
457 
458  if( io_l ) write(io_fid_log,*)
459  if( io_l ) write(io_fid_log,*) '*** Output restart file (ATMOS_PHY_SF) ***'
460  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(basename)
461 
462  call fileio_create(restart_fid, basename, atmos_phy_sf_restart_out_title, & ! [IN]
463  atmos_phy_sf_restart_out_dtype ) ! [IN]
464  endif
465 
466  return
integer, public const_i_lw
long-wave radiation index
Definition: scale_const.F90:98
module FILE I/O (netcdf)
integer, parameter, public i_lw
integer, parameter, public i_sw
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:90
subroutine, public fileio_create(fid, basename, title, datatype, date, subsec, append, nozcoord)
Create/open a netCDF file.
module TIME
Definition: scale_time.F90:15
module CONSTANT
Definition: scale_const.F90:14
integer, public const_i_sw
short-wave radiation index
Definition: scale_const.F90:99
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_enddef()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_enddef ( )

Exit netCDF define mode.

Definition at line 472 of file mod_atmos_phy_sf_vars.f90.

References scale_fileio::fileio_enddef().

Referenced by mod_atmos_vars::atmos_vars_restart_enddef().

472  use scale_fileio, only: &
474  implicit none
475 
476  if ( restart_fid .NE. -1 ) then
477  call fileio_enddef( restart_fid ) ! [IN]
478  endif
479 
480  return
module FILE I/O (netcdf)
subroutine, public fileio_enddef(fid)
Exit netCDF file define mode.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_close()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_close ( )

Close restart file.

Definition at line 486 of file mod_atmos_phy_sf_vars.f90.

References scale_fileio::fileio_close().

Referenced by mod_atmos_vars::atmos_vars_restart_close().

486  use scale_fileio, only: &
488  implicit none
489 
490  if ( restart_fid .NE. -1 ) then
491  call fileio_close( restart_fid ) ! [IN]
492  restart_fid = -1
493  endif
494 
495  return
module FILE I/O (netcdf)
subroutine, public fileio_close(fid)
Close a netCDF file.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_def_var()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_def_var ( )

Write restart.

Definition at line 501 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_restart_out_dtype, and scale_fileio::fileio_def_var().

Referenced by mod_atmos_vars::atmos_vars_restart_def_var().

501  use scale_fileio, only: &
503  implicit none
504 
505  !---------------------------------------------------------------------------
506 
507  if ( restart_fid .NE. -1 ) then
508 
509  call fileio_def_var( restart_fid, var_id(1), var_name(1), var_desc(1), &
510  var_unit(1), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
511  call fileio_def_var( restart_fid, var_id(2), var_name(2), var_desc(2), &
512  var_unit(2), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
513  call fileio_def_var( restart_fid, var_id(3), var_name(3), var_desc(3), &
514  var_unit(3), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
515  call fileio_def_var( restart_fid, var_id(4), var_name(4), var_desc(4), &
516  var_unit(4), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
517  call fileio_def_var( restart_fid, var_id(5), var_name(5), var_desc(5), &
518  var_unit(5), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
519  call fileio_def_var( restart_fid, var_id(6), var_name(6), var_desc(6), &
520  var_unit(6), 'XY', atmos_phy_sf_restart_out_dtype ) ! [IN]
521  endif
522 
523  return
module FILE I/O (netcdf)
subroutine, public fileio_def_var(fid, vid, varname, desc, unit, axistype, datatype, timeintv)
Define a variable to file.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_write_var()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_write_var ( )

Write variables to restart file.

Definition at line 529 of file mod_atmos_phy_sf_vars.f90.

References atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_vars_fillhalo(), scale_const::const_i_lw, and scale_const::const_i_sw.

Referenced by mod_atmos_vars::atmos_vars_restart_write_var().

529  use scale_const, only: &
530  i_sw => const_i_sw, &
531  i_lw => const_i_lw
532  use scale_fileio, only: &
533  fileio_write_var
534  use scale_rm_statistics, only: &
535  stat_total
536  implicit none
537 
538  real(RP) :: total
539  !---------------------------------------------------------------------------
540 
541  if ( restart_fid .NE. -1 ) then
542 
543  call atmos_phy_sf_vars_fillhalo
544 
545  call stat_total( total, atmos_phy_sf_sfc_temp(:,:), var_name(1) )
546  call stat_total( total, atmos_phy_sf_sfc_albedo(:,:,i_lw), var_name(2) )
547  call stat_total( total, atmos_phy_sf_sfc_albedo(:,:,i_sw), var_name(3) )
548  call stat_total( total, atmos_phy_sf_sfc_z0m(:,:), var_name(4) )
549  call stat_total( total, atmos_phy_sf_sfc_z0h(:,:), var_name(5) )
550  call stat_total( total, atmos_phy_sf_sfc_z0e(:,:), var_name(6) )
551 
552  call fileio_write_var( restart_fid, var_id(1), atmos_phy_sf_sfc_temp(:,:), & ! [IN]
553  var_name(1), 'XY' ) ! [IN]
554  call fileio_write_var( restart_fid, var_id(2), atmos_phy_sf_sfc_albedo(:,:,i_lw), & ! [IN]
555  var_name(2), 'XY' ) ! [IN]
556  call fileio_write_var( restart_fid, var_id(3), atmos_phy_sf_sfc_albedo(:,:,i_sw), & ! [IN]
557  var_name(3), 'XY' ) ! [IN]
558  call fileio_write_var( restart_fid, var_id(4), atmos_phy_sf_sfc_z0m(:,:), & ! [IN]
559  var_name(4), 'XY' ) ! [IN]
560  call fileio_write_var( restart_fid, var_id(5), atmos_phy_sf_sfc_z0h(:,:), & ! [IN]
561  var_name(5), 'XY' ) ! [IN]
562  call fileio_write_var( restart_fid, var_id(6), atmos_phy_sf_sfc_z0e(:,:), & ! [IN]
563  var_name(6), 'XY' ) ! [IN]
564  endif
565 
566  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
integer, public const_i_lw
long-wave radiation index
Definition: scale_const.F90:98
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
module FILE I/O (netcdf)
integer, parameter, public i_lw
module Statistics
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
module CONSTANT
Definition: scale_const.F90:14
integer, public const_i_sw
short-wave radiation index
Definition: scale_const.F90:99
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ atmos_phy_sf_restart_output

logical, public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_output = .false.

output restart file?

Definition at line 48 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), and atmos_phy_sf_vars_setup().

48  logical, public :: atmos_phy_sf_restart_output = .false.

◆ atmos_phy_sf_restart_in_basename

character(len=h_long), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_in_basename = ''

basename of the restart file

Definition at line 50 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_read(), and atmos_phy_sf_vars_setup().

50  character(len=H_LONG), public :: atmos_phy_sf_restart_in_basename = ''

◆ atmos_phy_sf_restart_out_basename

character(len=h_long), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_basename = ''

basename of the output file

Definition at line 51 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), atmos_phy_sf_vars_restart_write(), and atmos_phy_sf_vars_setup().

51  character(len=H_LONG), public :: atmos_phy_sf_restart_out_basename = ''

◆ atmos_phy_sf_restart_out_title

character(len=h_mid), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_title = 'ATMOS_PHY_SF restart'

title of the output file

Definition at line 52 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), atmos_phy_sf_vars_restart_write(), and atmos_phy_sf_vars_setup().

52  character(len=H_MID), public :: atmos_phy_sf_restart_out_title = 'ATMOS_PHY_SF restart'

◆ atmos_phy_sf_restart_out_dtype

character(len=h_mid), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_dtype = 'DEFAULT'

REAL4 or REAL8.

Definition at line 53 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), atmos_phy_sf_vars_restart_def_var(), atmos_phy_sf_vars_restart_write(), and atmos_phy_sf_vars_setup().

53  character(len=H_MID), public :: atmos_phy_sf_restart_out_dtype = 'DEFAULT'

◆ atmos_phy_sf_dens_t

real(rp), dimension(:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_dens_t

Definition at line 55 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

55  real(RP), public, allocatable :: atmos_phy_sf_dens_t(:,:) ! tendency DENS [ kg/m3/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_dens_t

◆ atmos_phy_sf_momz_t

real(rp), dimension(:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_momz_t

Definition at line 56 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

56  real(RP), public, allocatable :: atmos_phy_sf_momz_t(:,:) ! tendency MOMZ [m/s*kg/m3/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momz_t

◆ atmos_phy_sf_momx_t

real(rp), dimension(:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_momx_t

Definition at line 57 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

57  real(RP), public, allocatable :: atmos_phy_sf_momx_t(:,:) ! tendency MOMX [m/s*kg/m3/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momx_t

◆ atmos_phy_sf_momy_t

real(rp), dimension(:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_momy_t

Definition at line 58 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

58  real(RP), public, allocatable :: atmos_phy_sf_momy_t(:,:) ! tendency MOMY [m/s*kg/m3/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momy_t

◆ atmos_phy_sf_rhot_t

real(rp), dimension(:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rhot_t

Definition at line 59 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

59  real(RP), public, allocatable :: atmos_phy_sf_rhot_t(:,:) ! tendency RHOT [K *kg/m3/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rhot_t

◆ atmos_phy_sf_rhoq_t

real(rp), dimension(:,:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rhoq_t

Definition at line 60 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

60  real(RP), public, allocatable :: atmos_phy_sf_rhoq_t(:,:,:) ! tendency rho*QTRC [ kg/kg/s]
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_rhoq_t

◆ atmos_phy_sf_sfc_temp

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_temp

◆ atmos_phy_sf_sfc_albedo

real(rp), dimension(:,:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_albedo

◆ atmos_phy_sf_sfc_z0m

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0m

◆ atmos_phy_sf_sfc_z0h

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0h

◆ atmos_phy_sf_sfc_z0e

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0e

◆ atmos_phy_sf_sfc_dens

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_dens

Definition at line 69 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

69  real(RP), public, allocatable :: atmos_phy_sf_sfc_dens (:,:) ! surface atmosphere density [kg/m3]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_dens

◆ atmos_phy_sf_sfc_pres

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_pres

Definition at line 70 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), and atmos_phy_sf_vars_setup().

70  real(RP), public, allocatable :: atmos_phy_sf_sfc_pres (:,:) ! surface atmosphere pressure [Pa]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_pres

◆ atmos_phy_sf_sflx_mw

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mw

Definition at line 72 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver(), and mod_atmos_driver::atmos_surface_get().

72  real(RP), public, allocatable :: atmos_phy_sf_sflx_mw (:,:) ! z-momentum flux (area center) [m/s*kg/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mw

◆ atmos_phy_sf_sflx_mu

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mu

Definition at line 73 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver(), and mod_atmos_driver::atmos_surface_get().

73  real(RP), public, allocatable :: atmos_phy_sf_sflx_mu (:,:) ! x-momentum flux (area center) [m/s*kg/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu

◆ atmos_phy_sf_sflx_mv

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mv

Definition at line 74 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver(), and mod_atmos_driver::atmos_surface_get().

74  real(RP), public, allocatable :: atmos_phy_sf_sflx_mv (:,:) ! y-momentum flux (area center) [m/s*kg/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv

◆ atmos_phy_sf_sflx_sh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_sh

◆ atmos_phy_sf_sflx_lh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_lh

Definition at line 76 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), mod_atmos_driver::atmos_surface_get(), and mod_atmos_vars::atmos_vars_monitor().

76  real(RP), public, allocatable :: atmos_phy_sf_sflx_lh (:,:) ! latent heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_lh

◆ atmos_phy_sf_sflx_gh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_gh

Definition at line 77 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

77  real(RP), public, allocatable :: atmos_phy_sf_sflx_gh (:,:) ! ground heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh

◆ atmos_phy_sf_sflx_qtrc

real(rp), dimension (:,:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_qtrc

◆ atmos_phy_sf_u10

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_u10

Definition at line 80 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

80  real(RP), public, allocatable :: atmos_phy_sf_u10 (:,:) ! 10m x-wind [m/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10

◆ atmos_phy_sf_v10

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_v10

Definition at line 81 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

81  real(RP), public, allocatable :: atmos_phy_sf_v10 (:,:) ! 10m y-wind [m/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10

◆ atmos_phy_sf_t2

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_t2

Definition at line 82 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

82  real(RP), public, allocatable :: atmos_phy_sf_t2 (:,:) ! 2m temperature [K]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2

◆ atmos_phy_sf_q2

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_q2

Definition at line 83 of file mod_atmos_phy_sf_vars.f90.

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

83  real(RP), public, allocatable :: atmos_phy_sf_q2 (:,:) ! 2m specific humidity [kg/kg]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2